CVE-2022-2127
MEDIUM 5.9CVSS 3.1Samba: out-of-bounds read in winbind auth_crap
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.
- Published
- 20 Jul 2023
- Last modified
- 26 Nov 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-125
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | secalert@redhat.com (Secondary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| CVE List | redhat | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | samba | sambacpe:2.3:a:samba:samba:*:*:*:*:*:*:*:* |
>= 4.16.0, < 4.16.10 | 4.16.10 |
| NVD | samba | sambacpe:2.3:a:samba:samba:*:*:*:*:*:*:*:* |
>= 4.17.0, < 4.17.9 | 4.17.9 |
| NVD | samba | sambacpe:2.3:a:samba:samba:*:*:*:*:*:*:*:* |
>= 4.18.0, < 4.18.4 | 4.18.4 |
| NVD | redhat | enterprise_linuxcpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:* |
= 6.0 | |
| NVD | redhat | enterprise_linuxcpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* |
= 7.0 | |
| NVD | redhat | enterprise_linuxcpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* |
= 8.0 | |
| NVD | redhat | enterprise_linuxcpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* |
= 9.0 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:* |
= 37 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:* |
= 38 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:12.0:*:*:*:*:*:*:* |
= 12.0 | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | sambacpe:/a:redhat:enterprise_linux:8::appstream |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | sambacpe:/a:redhat:rhel_eus:8.6::appstream |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | sambacpe:/a:redhat:rhel_eus:8.8::appstream |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | sambacpe:/a:redhat:enterprise_linux:9::appstream |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | sambacpe:/a:redhat:rhel_eus:8.6::appstream |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | sambacpe:/o:redhat:rhel_els:6 |
||
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | samba4cpe:/o:redhat:rhel_els:6 |
||
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | sambacpe:/o:redhat:rhel_els:7 |
||
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | sambacpe:/a:redhat:storage:3 |
References
- https://access.redhat.com/errata/RHSA-2023:6667 · Third Party Advisory, vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2023:7139 · Third Party Advisory, vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2024:0423 · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2024:0580 · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2022-2127 · Third Party Advisory, vdb-entry, x_refsource_REDHAT
- https://bugzilla.redhat.com/show_bug.cgi?id=2222791 · Issue Tracking, Third Party Advisory, issue-tracking, x_refsource_REDHAT
- https://www.samba.org/samba/security/CVE-2022-2127.html · Mitigation, Vendor Advisory
- https://lists.debian.org/debian-lts-announce/2024/04/msg00015.html · x_transferred
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BPCSGND7LO467AJGR5DYBGZLTCGTOBCC/ · x_transferred
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OT74M42E6C36W7PQVY3OS4ZM7DVYB64Z/ · x_transferred
- https://security.netapp.com/advisory/ntap-20230731-0010/ · x_transferred
- https://www.debian.org/security/2023/dsa-5477 · x_transferred
History
- 26 Nov 2026 18:37 UTC · NVD: updated (other details)
- 26 Nov 2026 17:37 UTC · CVE List: first stored (published 20 Jul 2023)
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 20 Jul 2023)