CVE-2026-125634 in Red Hatinfo

Summary

by MITRE • 11/25/2026

A **NULL pointer dereference** flaw has been found in the acl_check_dns_host_name() and acl_validate_spn_value() functions in source4/dsdb/samdb/ldb_modules/acl.c of the Active Directory domain controller ACL module in the **Samba** package. The checks read the account name after a request that removes it, and they do not test that the value is present. A low-privileged network attacker or user who can update the DNS host name or service principal name of their own computer account can include a removal of sAMAccountName in that same LDAP modify. The directory process crashes. Repeating the modify keeps the directory service unavailable.

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Analysis

by VulDB Data Team • 11/28/2026

The vulnerability identified involves a critical NULL pointer dereference within the Samba Active Directory domain controller implementation, specifically located in the acl.c module which handles Access Control List validation for DNS host names and Service Principal Names. This flaw affects two primary functions: acl_check_dns_host_name() and acl_validate_spn_value(). The root cause of this issue lies in a race condition or logical error during LDAP modify operations where an attacker can manipulate account attributes. Specifically, the code attempts to read the sAMAccountName attribute after it has been explicitly removed from the request payload by the client. Because the implementation fails to verify that the value is present before attempting to access it, the pointer remains NULL, leading directly to a segmentation fault and subsequent crash of the directory service process when these specific attributes are modified.

From an operational perspective, this vulnerability poses a severe risk to the availability of Active Directory services managed by Samba. A low-privileged network attacker or user who possesses the ability to update the DNS host name or Service Principal Name (SPN) associated with their own computer account can exploit this flaw. By crafting a malicious LDAP modify request that includes both an update to one of these attributes and a deletion of the sAMAccountName attribute in the same transaction, the attacker triggers the NULL pointer dereference. The immediate consequence is the termination of the directory service process. Since Samba AD DCs often run as persistent services, this crash results in a denial of service for all clients attempting to authenticate or query the domain controller. Furthermore, because the condition can be reproduced by repeating the malicious modify request, an attacker can sustainably keep the directory service unavailable, effectively disrupting network operations and preventing legitimate users from accessing resources dependent on that specific domain controller.

This vulnerability aligns with CWE-476, which describes a NULL Pointer Dereference where software incorrectly handles a null pointer or reference, leading to unexpected behavior such as crashes or denial of service conditions. In the context of attack frameworks like MITRE ATT&CK, this exploit maps to T1529 System Shutdown/Reboot under the Impact tactic, specifically through crashing system processes to deny availability. It also relates to CWE-602 Client-Side Injection in LDAP contexts where untrusted input is processed without adequate validation before use. The flaw highlights a deficiency in defensive programming practices within the ACL module, particularly regarding the assumption that attributes referenced during security checks will always exist in the current request context even if they have been targeted for deletion by the client.

Mitigation strategies must focus on both immediate remediation and long-term architectural improvements. The primary solution is to apply vendor-provided patches or updates from Samba that address this specific NULL pointer dereference logic error within acl.c. Administrators should ensure their Samba installations are updated to versions where this vulnerability has been resolved. In the interim, if patching is not immediately feasible, network segmentation and strict access controls can limit exposure. Restricting LDAP write permissions for computer accounts to only authorized administrative groups reduces the attack surface by preventing low-privileged users from modifying DNS host names or SPNs in a manner that could trigger this flaw. Additionally, implementing robust monitoring for unusual LDAP modify patterns involving simultaneous attribute deletions and updates may help detect attempted exploitation attempts before they cause service disruption. Regular auditing of account modification permissions ensures that least privilege principles are enforced, thereby reducing the likelihood of such exploits succeeding in production environments.

Responsible

Redhat

Reservation

11/10/2026

Disclosure

11/25/2026

Moderation

accepted

CPE

ready

EPSS

0.00791

KEV

no

Activities

very low

Sources

Do you need the next level of professionalism?

Upgrade your account now!