LiveActive security incident?Get immediate response
CVE Record

CVE-2022-2127: Samba: 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.

MediumCVSS 5.9Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

CVE-2022-2127 is a Samba Winbind flaw that can let a malformed NTLM authentication request crash the Winbind service. The business risk is service disruption, not confirmed data theft or code execution. Public data provided does not show active exploitation.

Executive priority

Treat this as a moderate availability risk. Patch during normal vulnerability maintenance, faster for identity, file-sharing, or virtualization environments where a Winbind crash could disrupt business operations.

Technical view

Samba Winbind performs insufficient length checking in winbindd_pam_auth_crap.c. A crafted NTLM authentication response can cause an out-of-bounds read, potentially crashing Winbind. CVSS 3.1 is 5.9 with network attack vector, high complexity, no privileges, no user interaction, and high availability impact.

Likely exposure

Exposure is most likely on servers using Samba Winbind for NTLM authentication. The bundle lists affected Red Hat samba packages for RHEL 8, RHEL 8.6/8.8 EUS, RHEL 9, and Red Hat Virtualization 4. RHEL 6, RHEL 7, and Red Hat Storage 3 status is listed as unknown.

Exploitation context

The source bundle marks KEV as false and provides no cited evidence of active exploitation. Exploitation requires reaching the NTLM authentication path handled by Winbind and supplying a malformed response. The documented outcome is a possible crash, so prioritize availability-sensitive identity and file-sharing systems.

Researcher notes

The available evidence supports CWE-125 out-of-bounds read with availability impact only. Do not infer confidentiality impact, integrity impact, or code execution from the provided sources. Product status is incomplete for some older Red Hat lines.

Mitigation direction

  • Apply vendor security updates from the relevant Samba, Red Hat, Debian, Fedora, or NetApp advisory.
  • Check vendor guidance for products listed with unknown status before assuming safety.
  • Limit network access to Samba/Winbind authentication services where operationally feasible.
  • Review NTLM dependency and reduce unnecessary Winbind exposure in sensitive environments.

Validation and detection

  • Inventory systems running Samba packages and Winbind services.
  • Confirm whether Winbind is used for NTLM authentication.
  • Compare installed package versions against applicable vendor advisories.
  • Review service logs for unexplained Winbind crashes or authentication-related failures.
  • Track unknown-status Red Hat products until vendor guidance confirms impact.
Prepared
Confidence
high
Sources
12

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-125: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2022-2127 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
5.9 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
13Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
5.9CVSS 3.1MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H2.23.6Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

5.9Medium
CVSS 3.1 vector shape for CVE-2022-2127Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
Red HatRed Hat Enterprise Linux 8samba, 0:4.18.6-1.el8affected
Red HatRed Hat Enterprise Linux 8samba, 0:4.18.6-1.el8affected
Red HatRed Hat Enterprise Linux 8.6 Extended Update Supportsamba, 0:4.15.5-15.el8_6affected
Red HatRed Hat Enterprise Linux 8.8 Extended Update Supportsamba, 0:4.17.5-5.el8_8affected
Red HatRed Hat Enterprise Linux 9samba, 0:4.18.6-100.el9affected
Red HatRed Hat Enterprise Linux 9samba, 0:4.18.6-100.el9affected
Red HatRed Hat Virtualization 4 for Red Hat Enterprise Linux 8samba, 0:4.15.5-15.el8_6affected
Red HatRed Hat Enterprise Linux 6sambaunknown
Red HatRed Hat Enterprise Linux 6samba4unknown
Red HatRed Hat Enterprise Linux 7sambaunknown
Red HatRed Hat Storage 3sambaunknown
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-125 · source CWE mapping

Out-of-bounds Read

Out-of-bounds Read represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.