Live threats

All CVEs / Samba

CVE-2022-2127Samba

Medium 5.9 No auth needed

Priority
51
CVSS 3.1
5.9
EPSS
1.8%
probability of exploitation in 30 days · percentile 79
Auth required
No
Published
Jul 20, 2023
Updated
Nov 26, 2026
Category
Server · Linux
Weakness (CWE)
CWE-125
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Samba.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
sambasamba≥ 4.16.0 < 4.16.10
sambasamba≥ 4.17.0 < 4.17.9
sambasamba≥ 4.18.0 < 4.18.4
redhatenterprise_linux6.0
redhatenterprise_linux7.0
redhatenterprise_linux8.0
redhatenterprise_linux9.0
fedoraprojectfedora37
fedoraprojectfedora38
debiandebian_linux12.0

Official sources

References

Links published by the sources. Open them with care.