Vulnerability DatabaseCVE-2026-135109

CVE-2026-135109: 
Samba vulnerability analysis and mitigation

Overview

CVE-2026-135109 is a denial-of-service vulnerability in Samba's SAMR password-change handling, specifically in the dcesrv_samr_ChangePasswordUser4 function within samr_password.c. The flaw is classified as an allocation of resources without limits or throttling (CWE-770) and was introduced in Samba 4.17.0 when SamrChangePasswordUser4 was implemented. It affects Samba packages in Red Hat Enterprise Linux (versions shipping Samba 4.17.0 or later) and Red Hat OpenShift RHEL CoreOS 9 and 10; RHEL 6, 7, 8.4, and 8.6 ship older Samba versions and are not affected. The vulnerability was published on December 4, 2026, and carries a CVSS v3.1 base score of 7.5 (High) (Red Hat Advisory, Red Hat Bugzilla).

Technical details

The root cause is that the SamrUnicodeChangePasswordUser4 RPC operation (opnum 73) requires no policy handle and is accessible via anonymous RPC. The protocol mandates that the server perform a costly PBKDF2-HMAC-SHA512 key derivation (between 5,000 and 1,000,000 iterations, chosen by the caller) before it can validate the MAC and determine whether a password-change request is legitimate. Because the server cannot authenticate the request before completing this work, even forged requests with invalid ciphertext consume the full chosen computational cost. In the Samba source4 (Active Directory DC) path, this synchronous work runs in a single rpc(0) worker process serving SAMR and LSA, and the handler also holds an open SAMDB write transaction throughout the KDF and verification steps, blocking all other directory writes. In the source3 (file server) path, the same anonymous synchronous KDF applies, and five concurrent requests can exhaust the default rpcd_lsad worker pool. Neither implementation enforces a global, per-origin, or per-account cost budget (Red Hat Bugzilla, Red Hat Advisory).

Impact

Successful exploitation causes a denial of service of the SAMR/LSA RPC service and, on Active Directory domain controllers, blocks all SAMDB directory writes for the duration of the attack. An unauthenticated attacker who can reach the service need only know a valid existing account name to sustain the attack indefinitely by continuously sending maximum-iteration requests. There is no confidentiality or integrity impact, but availability is rated High; on domain controllers, the disruption extends beyond the RPC service to all dependent directory update operations (Red Hat Advisory, Red Hat Bugzilla).

Exploitability

No public proof-of-concept exploit code or in-the-wild exploitation has been reported as of the publication date. The EPSS score is 0.0, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog. However, the attack requires no authentication and no special privileges — only network access to the SAMR service and knowledge of a valid account name — making it straightforward to exploit in environments where the service is reachable (Red Hat Advisory, Feedly). The vulnerability was reported by Andres Berbescu and is currently awaiting full NVD analysis (Red Hat Advisory).

Exploitation steps

  1. Reconnaissance: Identify hosts running Samba 4.17.0 or later that expose the SAMR/LSA RPC service (TCP port 445 or 135/dynamic RPC ports) using network scanners such as Nmap or CrackMapExec.
  2. Account enumeration: Identify at least one valid existing account name on the target domain or file server (e.g., via LDAP anonymous bind, SMB null session, or prior knowledge), as the server's timing difference between existing and nonexistent accounts may also aid enumeration.
  3. Craft malicious SAMR request: Construct a SamrUnicodeChangePasswordUser4 (opnum 73) request specifying the target account name and setting the PBKDF2 iteration count to the protocol maximum (up to 1,000,000 iterations), with arbitrary/invalid ciphertext and MAC values.
  4. Send requests without authentication: Transmit the crafted request anonymously (no policy handle required) to the SAMR RPC endpoint. The server will perform the full key derivation before rejecting the forged request.
  5. Sustain the attack: Continuously send new requests immediately after each is accepted, keeping the single rpc(0) worker (source4/DC) or all rpcd_lsad workers (source3/file server) occupied, thereby stalling the RPC service and blocking SAMDB directory writes for the duration of the attack (Red Hat Bugzilla, Red Hat Advisory).

Indicators of compromise

  • Network: High volume of anonymous SAMR RPC connections (TCP 445 or dynamic RPC ports) from one or more source IPs, particularly targeting SamrUnicodeChangePasswordUser4 (opnum 73) with no preceding authentication.
  • Logs: Samba logs showing repeated ChangePasswordUser4 calls from unauthenticated sources for the same account name; unusually long RPC handler execution times in Samba debug logs.
  • Process: The rpc(0) or rpcd_lsad process showing sustained high CPU utilization (consistent with PBKDF2 computation) without corresponding legitimate password-change activity.
  • Service behavior: SAMR/LSA RPC service becoming unresponsive or timing out for legitimate clients; Active Directory domain controller directory writes stalling or queuing during the attack period (Red Hat Bugzilla, Red Hat Advisory).

Mitigation and workarounds

Red Hat has stated that no practical temporary workaround fully mitigates this issue and advises customers to apply relevant security updates once they become available. Administrators should monitor for and restrict anonymous access to the SAMR RPC service at the network perimeter (e.g., firewall rules limiting access to TCP 445 and RPC ports to trusted hosts) as a partial risk-reduction measure. Environments running Samba versions prior to 4.17.0 (RHEL 6, 7, 8.4, 8.6, and OpenShift 4.12) are not affected and require no action (Red Hat Advisory).

Community reactions

Red Hat Product Security rated this vulnerability as having an Important security impact and credited Andres Berbescu with reporting the issue. The Red Hat advisory notes that while RHEL builds Samba --without-ad-dc (excluding the DC handler), the file-server handler in rpcd_lsad is still shipped and vulnerable, meaning RHEL systems face the same exposure in the file-server context (Red Hat Advisory). No significant broader community or media reactions have been identified at this time.

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

RHEL / CentOS

Affected

OpenShift

openshift/ose-rhel-coreos-9

Affected

RHEL 8

samba.src

Affected

RHEL 9

samba.src

Affected

RHEL 10

samba.src

Affected

Source: This report was generated using AI

Related Samba vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-135109HIGH7.5
  • Samba logoSamba
  • samba-tools
NoNoDec 04, 2026
CVE-2026-125628HIGH7.5
  • Samba logoSamba
  • ctdb-ceph-mutex
NoYesNov 30, 2026
CVE-2026-120376MEDIUM5.9
  • Samba logoSamba
  • ldb-tools
NoNoDec 04, 2026
CVE-2026-135111MEDIUM5.9
  • Samba logoSamba
  • ctdb-pcp-pmda
NoYesDec 01, 2026
CVE-2026-120377NONEN/A
  • Samba logoSamba
  • samba
NoYesDec 02, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management