Bug 2583144 (CVE-2026-135109)

Summary: CVE-2026-135109 samba: samba4: anonymous ChangePasswordUser4 work stalls the RPC service
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: akhatavk, aos-team-art-private, asdas, dpaolell, jdelft, jupierce, lgarciaa, mbiarnes, ppalepu, ppostler, prdhamdh, rhel-process-autobot, security-response-team, sghai, sidsharm, suppawar, vlaad, watson-tool-maintainers
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
An **allocation of resources without limits or throttling** issue has been found in the dcesrv_samr_ChangePasswordUser4 function in samr_password.c of the SAMR password-change handling in the **Samba** package. The server has to derive a key from the account's current password before it can tell a genuine password change from a forged one, and the caller chooses how much of that work the server does, up to the maximum the protocol allows. On a domain controller, that work runs in the one process that serves these calls. A network attacker or user who can reach the service, and who names an account that already exists, can send these password-change requests without logging in. The server performs the chosen work before it rejects a forged request. While that work runs, other clients of the service wait, and on a domain controller directory updates wait as well. This is a denial of service of that service, and of directory updates on a domain controller.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2590999, 2591000, 2591001    
Bug Blocks:    

Description OSIDB Bzimport 2026-11-24 11:09:20 UTC
SamrUnicodeChangePasswordUser4 (opnum 73) requires no policy handle and is available through anonymous RPC. For an existing account name, an attacker can select 5,000 to 1,000,000 PBKDF2-HMAC-SHA512 iterations. Samba derives the key before it can authenticate the MAC, so invalid ciphertext and tags still consume the maximum work.

In source4, this synchronous work executes in rpc(0), the worker serving SAMR and LSA handles. The handler also opens a SAMDB transaction before account lookup and retains it across the KDF, AEAD verification and change attempt. This turns protocol-cost work into worker starvation and blocks dependent SAMDB writes.

Source3 has the same anonymous synchronous KDF. It does not retain the source4 transaction, but its rpcd_lsad process uses a finite worker pool, so five concurrent requests can occupy the default pool.

## Root cause

The protocol requires costly derivation before MAC validation, but the server does not bound admission before starting that work. Source4 additionally holds a write transaction during work that does not need the transaction. Source3 offers only the finite-worker limit. Neither implementation has a global, per-origin or per-account cost budget.

There is also a large timing difference between existing and nonexistent accounts. It should be assessed separately as a possible account-enumeration issue and is not used to raise the primary score.