CVE-2022-2127: Debian Linux

Medium severity, CVSS 5.9. EPSS: 1.7% chance of exploitation in the next 30 days.

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 products

  • Debian Debian Linux: version 12.0 only
  • Fedoraproject Fedora: version 37 only; version 38 only
  • Red Hat Enterprise Linux: version 6.0 only; version 7.0 only; version 8.0 only; version 9.0 only
  • Samba Samba: from 4.16.0, before 4.16.10 (fixed in 4.16.10); from 4.17.0, before 4.17.9 (fixed in 4.17.9); from 4.18.0, before 4.18.4 (fixed in 4.18.4)

Published 2023-07-20. Last modified 2026-06-17.