Independent & educational platform Not a government body. No link or affiliation with any government organisation. Made for learning only. Test only systems you own or are authorised to test. Become a Partner or Sponsor → Full disclaimer

CVE-2022-2127

medium

An out-of-bounds read vulnerability was found in Samba due to insufficient length checks in winbindd_pam_auth_crap.c.

Vendor / product: Samba — samba

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.

CVSS
5.9
5.9 (CVSS v3.1)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Severity source: NVD CVSS v3.1 (nvd@nist.gov)
Timeline (UTC)
Published: 2023-07-20 15:15
Modified: 2026-11-05 09:17
NVD status: Modified
Last synced 1 week ago
Verified against the source API 2026-11-05 09:45 UTC
Exploitation
Not listed in CISA KEV (as of last catalog sync)
Absence from KEV does not mean a CVE is not exploited. Exploitation status: unknown (no authoritative evidence in our sources).

Affected products

samba / samba ≥4.16.0 <4.16.10, ≥4.17.0 <4.17.9, ≥4.18.0 <4.18.4
redhat / enterprise_linux 6.0, 7.0, 8.0, 9.0
fedoraproject / fedora 37, 38
debian / debian_linux 12.0

Weakness classification (CWE)

Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.

Mitigation & advisories

Vendor advisory: https://www.samba.org/samba/security/CVE-2022-2127.html
Vendor advisory: https://www.samba.org/samba/security/CVE-2022-2127.html
Patch / mitigation: https://www.samba.org/samba/security/CVE-2022-2127.html
Patch / mitigation: https://www.samba.org/samba/security/CVE-2022-2127.html

References

Data sources

NVD CVE API 2.0 — fetched 2026-11-05 09:45 UTC · record ↗

Learn the basics

Understanding CVEs and CVSS Scores

Related CVEs