CVE-2026-135109
Description
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.
Statement
Red Hat Product Security has rated this vulnerability with an Important security impact. This vulnerability affects Samba's SAMR ChangePasswordUser4 handling.
The flaw is in the Active Directory domain controller, and it is also in the File Server.
Samba in Red Hat Enterprise Linux is built with --without-ad-dc, so it do not compile the domain-controller handler. It is still shipped with vulnerable rpcd_lsad, which contains the file-server handler.
Red Hat Enterprise Linux is affected with the same exposure as the flaw. An attacker who can reach the running file server can make the SAMR and LSA service unavailable without logging in, for as long as the attacker continues his attack.
The flaw is reachable in the default configuration.
A (Availability): High. One maximum-iteration call occupies the only domain-controller process that serves SAMR until the derivation returns, and the open write transaction blocks other SAMDB writes for that same interval. The caller can send the next request as soon as the previous one is accepted, so the loss lasts as long as the caller continues. That is a direct loss of the RPC service and of directory updates.
The vulnerable code was introduced in Samba 4.17.0 when SamrChangePasswordUser4 was implemented.
Red Hat Enterprise Linux 6 ships samba 3.6.23 and samba4 4.2.10, RHEL 7 ships samba 4.10.16, RHEL 8.4 ships samba 4.13.3, and RHEL 8.6 ships samba 4.15.5. OpenShift 4.12 contains samba 4.15.5. Those versions predate Samba 4.17.0 and are not affected.
Mitigation
Red Hat is not aware of a practical temporary workaround that fully mitigates this issue or meets Red Hat Product Security's standards for usability, deployment, applicability, or stability. Customers are advised to apply the relevant security updates once they become available.
Common Vulnerability Scoring System (CVSS) Score Details
Info alert:Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).
The following CVSS metrics and score provided are preliminary and subject to review.
CVSS v3 Score Breakdown
| Red Hat | NVD | cve.org | |
|---|---|---|---|
| Base Score | 7.5 | N/A | N/A |
| Attack Vector | Network | N/A | N/A |
| Attack Complexity | Low | N/A | N/A |
| Privileges Required | None | N/A | N/A |
| User Interaction | None | N/A | N/A |
| Scope | Unchanged | N/A | N/A |
| Confidentiality | None | N/A | N/A |
| Integrity Impact | None | N/A | N/A |
| Availability Impact | High | N/A | N/A |
Vector
Red Hat: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Understanding the Weakness (CWE)
Availability
Technical Impact: DoS: Resource Consumption (CPU); DoS: Resource Consumption (Memory); DoS: Resource Consumption (Other)
When allocating resources without limits, an attacker could prevent other systems, applications, or processes from accessing the same type of resource. It can be easy for an attacker to consume many resources by rapidly making many requests or causing larger resources to be used than is needed.
Acknowledgements
Red Hat would like to thank Andres Berbescu for reporting this issue.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.