CVE-2022-2127
mediumAn 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
- https://access.redhat.com/errata/RHSA-2023:6667 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2023:7139 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2024:0423 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2024:0580 secalert@redhat.com
- https://access.redhat.com/security/cve/CVE-2022-2127 secalert@redhat.com
- https://bugzilla.redhat.com/show_bug.cgi?id=2222791 secalert@redhat.com
- https://www.samba.org/samba/security/CVE-2022-2127.html secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2023:6667 af854a3a-2127-422b-91ae-364da2661108
- https://access.redhat.com/errata/RHSA-2023:7139 af854a3a-2127-422b-91ae-364da2661108
- https://access.redhat.com/errata/RHSA-2024:0423 af854a3a-2127-422b-91ae-364da2661108
- https://access.redhat.com/errata/RHSA-2024:0580 af854a3a-2127-422b-91ae-364da2661108
- https://access.redhat.com/security/cve/CVE-2022-2127 af854a3a-2127-422b-91ae-364da2661108
- https://bugzilla.redhat.com/show_bug.cgi?id=2222791 af854a3a-2127-422b-91ae-364da2661108
- https://lists.debian.org/debian-lts-announce/2024/04/msg00015.html af854a3a-2127-422b-91ae-364da2661108
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/mes... af854a3a-2127-422b-91ae-364da2661108
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/mes... af854a3a-2127-422b-91ae-364da2661108
- https://security.netapp.com/advisory/ntap-20230731-0010/ af854a3a-2127-422b-91ae-364da2661108
- https://www.debian.org/security/2023/dsa-5477 af854a3a-2127-422b-91ae-364da2661108
- https://www.samba.org/samba/security/CVE-2022-2127.html af854a3a-2127-422b-91ae-364da2661108
Data sources
NVD CVE API 2.0 — fetched 2026-11-05 09:45 UTC · record ↗

