CVE-2022-2127: An out-of-bounds read vulnerability was found in Samba due to insufficient length checks in winbindd_pam_auth_
CVE-2022-2127 is a medium-severity flaw (CVSS 5.9) affecting samba, enterprise linux, fedora. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
An out-of-bounds read vulnerability was found in Samba due to insufficient length checks in winbindd_pam_auth_crap.c. When performing NTLM authentication, the client replies to cryptographic challenges back to the server. These replies have variable lengths, and Winbind fails to check the lan manager response length. When Winbind is used for NTLM authentication, a maliciously crafted request can trigger an out-of-bounds read in Winbind, possibly
Why this priority
- Remotely exploitable, no login, no user action
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 5.9 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | High |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 1.7% (top 23%) |
| CISA exploited list | No |
| Weakness | CWE-125 |
| Published | 2023-07-20 |
| Last modified | 2026-11-05 |
Last updated 2026-11-05 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2022-2127?
samba: upgrade to 4.16.10, 4.17.9, 4.18.4; enterprise linux: mitigate or apply the listed mitigation; fedora: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2022-2127 being exploited?
CVE-2022-2127 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2022-2127 affect?
CVE-2022-2127 affects samba, enterprise linux, fedora. Severity is medium (CVSS 5.9). An out-of-bounds read vulnerability was found in Samba due to insufficient length checks in winbindd_pam_auth_crap.c. When performing NTLM authentication, the client replies to cryptographic challenges back to the server. These replies have
How urgent is CVE-2022-2127?
Priority 50/100. Remotely exploitable, no login, no user action; On your watchlist
Software pages
Debian vulnerabilities · Samba vulnerabilities
Related CVEs
- CVE-2026-4480 CRITICAL 9.0 DOWNGRADE UPGRADE A flaw was found in the Samba printing subsystem
- CVE-2026-4408 CRITICAL 9.0 DOWNGRADE UPGRADE A flaw was found in Samba
- CVE-2026-3012 HIGH 8.0 DOWNGRADE UPGRADE A flaw was found in Samba’s certificate auto-enrollment Group Policy handling
- CVE-2026-1933 HIGH 7.1 DOWNGRADE UPGRADE A flaw was found in Samba’s handling of NTFS-style reparse points on shares configured with read only = yes
- CVE-2026-58224 MEDIUM 6.5 UPGRADE MITIGATE A flaw was found in Samba's CTDB, the clustered database service used by Samba