Skip to main content
No exploitation reportedFix available

CVE-2022-2127

No exploitation reported by the sources we read.

  • Published2023-07-20
  • Fixed in4.18.4 · 4.17.9 · 4.16.10
  • WeaknessCWE-125

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

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.

Timeline

dates in UTC
  1. 2023-07-2015:15CVE publishedNVD

Observed activity

isMalicious corpus · updated 2026-10-23 21:37 UTC
Indicators tagged with this CVE, per day0 indicators over 7 days
Block these indicators
  • Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2022-2127?format=txt
  • CSV export: https://api.ismalicious.com/edl/cve/CVE-2022-2127?format=csv
  • TAXII collection of exploited CVEs
  • The EDL and CSV take an API key on the Pro plan.

Versions per branch

NVD
Samba
BranchAffectedFixed in
4.18≥ 4.18.0, < 4.18.44.18.4
4.17≥ 4.17.0, < 4.17.94.17.9
4.16≥ 4.16.0, < 4.16.104.16.10
Redhat enterprise linux
BranchAffectedFixed in
6.0= 6.0no fix published
7.0= 7.0no fix published
8.0= 8.0no fix published
9.0= 9.0no fix published
Fedoraproject fedora
BranchAffectedFixed in
37.x= 37no fix published
38.x= 38no fix published

1 more product in the sources.

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • sambaAlmaLinux:9all versions · fixed in 4.18.6-100.el9and 33 other packages
  • sambaAlmaLinux:8all versions · fixed in 4.18.6-1.el8and 33 other packages

Full record on NVD

Fix

  1. Update Samba to 4.18.4 · 4.17.9 · 4.16.10

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof-of-concept repositories
none listed
PoC-in-GitHub

Sources

  • CISA-ADPSSVC decisionnone2024-12-03
  • OpenCVESSVC decisionnone—
  • CNACVSS 3.15.9read 2026-10-23
  • NVDCVSS 3.15.9read 2026-10-23
  • CNAweakness (CWE)CWE-125read 2026-10-23
  • NVDweakness (CWE)CWE-125read 2026-10-23
  • FIRST EPSSEPSS score1.7 %2026-10-23
  • OSVaffected packages—

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
2023-07-20
Last Modified
2026-06-17
NVD status
Modified

Frequently asked questions

What is CVE-2022-2127?

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.

Is CVE-2022-2127 actively exploited?

Active exploitation of CVE-2022-2127 has not been confirmed. Its EPSS score was 1.7% on 2026-10-23, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2022-2127?

CVE-2022-2127 has a CVSS v3 base score of 5.9 (MEDIUM severity), with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H.

Running samba? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month