CVE-2022-2127 in Debian Linux and 3 more products
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...
Affects 4 products from 4 vendors. Facts below cite their sources.
Remotely exploitable over the network, high complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Debian | Debian Linux | 12.0 |
| Fedoraproject | Fedora | 37 38 |
| Redhat | Enterprise Linux | 6.0 7.0 8.0 9.0 |
| Samba | Samba | ≥ 4.16.0, < 4.16.10 ≥ 4.17.0, < 4.17.9 ≥ 4.18.0, < 4.18.4 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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 resulting in a crash.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2022-2127 |
|---|---|
| BreachSpider ID | BS-2023-GLOBAL-317804-M |
| CVSS vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Published | 2023-07-20 |
| Last modified | 2026-11-26 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-125: Out-of-Bounds Read
Software reads data past the boundary of an allocated buffer, leaking sensitive information or causing crashes.
Related attack patterns (CAPEC)
CAPEC-540 Overread Buffers via CWE-125
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
An out-of-bounds read vulnerability in Samba's winbindd_pam_auth_crap.c file due to insufficient length checks can be exploited during NTLM authentication, potentially leading to information disclosure or further attacks.
The vulnerability arises from Winbind's failure to properly validate the length of the LAN Manager response in NTLM authentication replies. A malicious client can craft a request with an improperly sized LAN Manager response, which could be exploited to read memory outside the intended bounds.
Questions
What is CVE-2022-2127?
An out-of-bounds read vulnerability in Samba's winbindd_pam_auth_crap.c file due to insufficient length checks can be exploited during NTLM authentication, potentially leading to information disclosure or further attacks.
What is the CVSS score for CVE-2022-2127?
CVE-2022-2127 has CVSS 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H. EPSS: 1.8%.
Is CVE-2022-2127 actively exploited?
No confirmed active exploitation of CVE-2022-2127 as of 2026-11-27.
How do I remediate CVE-2022-2127?
Priority: HIGH. Advisory: https://access.redhat.com/errata/RHSA-2023:6667
What systems are affected by CVE-2022-2127?
CVE-2022-2127 affects Debian Debian Linux; Fedoraproject Fedora; Redhat Enterprise Linux; Samba Samba.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Debian","product":"Debian Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-11-26.