CVE-2022-2127

published 20 Jul 2023 · updated 5 Nov 2026

Samba: out-of-bounds read in winbind auth_crap

5.9MediumCVSS 5.9EPSS 2%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 2%. Fixed in Samba 4.16.10, Samba 4.17.9 and Samba 4.18.4.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Red HatEnterprise Linux
Red HatStorage
Red HatVirtualization
SambaSamba>=4.16.0 <4.16.10, >=4.17.0 <4.17.9, >=4.18.0 <4.18.44.16.10, 4.17.9, 4.18.4
debiandebian_linux=12.0
fedoraprojectfedora=38, =37
redhatenterprise_linux=9.0, =6.0, =8.0, =7.0

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Samba, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-2127 severity on Zeptric[![CVE-2022-2127](https://zeptric.io/badge/cve/CVE-2022-2127.svg)](https://zeptric.io/cve/CVE-2022-2127)