CVE-2021-20251
MEDIUM 5.9 ALL-YEARSA flaw was found in samba. A race condition in the password lockout code may lead to the risk of brute force attacks being successful if special conditions are met.
Current sources show no confirmed exploitation or catalogued public PoC. Missing or low probability estimates do not establish safety. Track for changes.
Exploitation likelihood
0.8%chance of exploitation in 30 days · 56th percentile
Impact if exploited
5.9CVSS 3.1 · MEDIUM · NVD
- ConfidentialityNone
- IntegrityHigh
- AvailabilityNone
What an attacker needs
- ✓Access: Reachable over the network — no local access needed
- ✓Privileges: No account or privileges required
- ✓User interaction: No user interaction needed
- ⚠Complexity: Needs a race window or specific setup
✓ lowers the bar for an attacker · ⚠ raises it
Proof of concept
No public PoC is currently catalogued.
Search for new PoCs
Search GitHub now — results may be empty or unverified.
Supported CVE and PoC feeds are scheduled every 30 minutes, including for older CVEs. Other enrichment runs daily or weekly; source availability can delay updates. A later release appears after a tracked source lists it and a refresh succeeds.
Weakness (CWE)
- CWE-362: Race condition
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
References and research data (JSON) · Change history
Vendor product assessments
Showing 32 of 170 vendor product statements; 138 omitted. Read the full vendor advisory.
libsmbclient as a component of Red Hat Enterprise Linux 6 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/libsmbclient
Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00samba-doc as a component of Red Hat Enterprise Linux 6 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/samba-doc
Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00samba-winbind-devel as a component of Red Hat Enterprise Linux 6 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/samba-winbind-devel
Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00samba4-common as a component of Red Hat Enterprise Linux 6 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/samba4-common
Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00samba4-python as a component of Red Hat Enterprise Linux 6 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/samba4-python
Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00samba4-winbind-krb5-locator as a component of Red Hat Enterprise Linux 6 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/samba4-winbind-krb5-locator
Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00libsmbclient-devel as a component of Red Hat Enterprise Linux 7 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/libsmbclient-devel
Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00samba-client-libs as a component of Red Hat Enterprise Linux 7 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/samba-client-libs
Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00samba-devel as a component of Red Hat Enterprise Linux 7 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/samba-devel
Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00samba-python-test as a component of Red Hat Enterprise Linux 7 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/samba-python-test
Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00samba-winbind-clients as a component of Red Hat Enterprise Linux 7 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/samba-winbind-clients
Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00ctdb-tests as a component of Red Hat Enterprise Linux 8 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/ctdb-tests
Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00libwbclient as a component of Red Hat Enterprise Linux 8 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/libwbclient
Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00samba as a component of Red Hat Enterprise Linux 8 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/samba
Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00samba-common-tools as a component of Red Hat Enterprise Linux 8 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/samba-common-tools
Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00samba-libs as a component of Red Hat Enterprise Linux 8 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/samba-libs
Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00samba-usershares as a component of Red Hat Enterprise Linux 8 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/samba-usershares
Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00samba-winexe as a component of Red Hat Enterprise Linux 8 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/samba-winexe
Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00libldb-devel as a component of Red Hat Enterprise Linux 9 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/libldb-devel
Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00libwbclient-devel as a component of Red Hat Enterprise Linux 9 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/libwbclient-devel
Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00python3-samba-test as a component of Red Hat Enterprise Linux 9 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/python3-samba-test
Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00samba-common-libs as a component of Red Hat Enterprise Linux 9 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/samba-common-libs
Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00samba-krb5-printing as a component of Red Hat Enterprise Linux 9 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/samba-krb5-printing
Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00samba-test-libs as a component of Red Hat Enterprise Linux 9 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/samba-test-libs
Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00samba-winbind-krb5-locator as a component of Red Hat Enterprise Linux 9 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/samba-winbind-krb5-locator
Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00ctdb-devel as a component of Red Hat Storage 3 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/ctdb-devel
Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00python3-samba as a component of Red Hat Storage 3 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/python3-samba
Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00samba-common-libs as a component of Red Hat Storage 3 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/samba-common-libs
Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00samba-domainjoin-gui as a component of Red Hat Storage 3 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/samba-domainjoin-gui
Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00samba-python as a component of Red Hat Storage 3 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/samba-python
Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00samba-winbind as a component of Red Hat Storage 3 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/samba-winbind
Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00samba.src as a component of Red Hat Storage 3 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/samba?arch=src
Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00
Known Affected Software Configurations
| Vendor | Product | Version range |
|---|---|---|
| Samba | Samba | ≥ 4.1.0 and < 4.16.8 |
| Samba | Samba | ≥ 4.17.0 and < 4.17.4 |
| Fedoraproject | Fedora | 37 |
References
Exploit-tagged references (not proof of a PoC)
- https://bugzilla.samba.org/show_bug.cgi?id=14611 CVE record · CVE · Updated 2024-08-03T17:37:23.406Z
CVE record · redhat · Updated 2023-09-17T08:06:39.991Z
NVD · CVE-2021-20251 · Updated 2026-06-17T03:33:32.787
Advisories
- https://bugzilla.redhat.com/show_bug.cgi?id=1929800 CVE record · CVE · Updated 2024-08-03T17:37:23.406Z
CVE record · redhat · Updated 2023-09-17T08:06:39.991Z
NVD · CVE-2021-20251 · Updated 2026-06-17T03:33:32.787
Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00 - https://security.gentoo.org/glsa/202309-06 CVE record · CVE · Updated 2024-08-03T17:37:23.406Z
CVE record · redhat · Updated 2023-09-17T08:06:39.991Z
NVD · CVE-2021-20251 · Updated 2026-06-17T03:33:32.787 - https://security.netapp.com/advisory/ntap-20230331-0005/ CVE record · CVE · Updated 2024-08-03T17:37:23.406Z
CVE record · redhat · Updated 2023-09-17T08:06:39.991Z
NVD · CVE-2021-20251 · Updated 2026-06-17T03:33:32.787 - https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-20251.json Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-7689 EUVD · EUVD-2021-7689
Technical & other
- https://access.redhat.com/security/cve/CVE-2021-20251 Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00
- https://nvd.nist.gov/vuln/detail/CVE-2021-20251 Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00
- https://www.cve.org/CVERecord?id=CVE-2021-20251 Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00
Sources: NVD · CVE.org · All sources and attribution · EPSS