CVE-2026-125634
Samba: null dereference in ad dc validated dns host name and spn checks
6.5
Description
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.
Affected products and versions
| Product / package | Ecosystem / vendor | Versions | Fixed in | Source |
|---|---|---|---|---|
| samba | samba | 4.17.0 → <* | * | CVE.org |
| red hat enterprise linux 10 | red hat | — | — | CVE.org |
| red hat enterprise linux 6 | red hat | — | — | CVE.org |
| red hat enterprise linux 7 | red hat | — | — | CVE.org |
| red hat enterprise linux 8 | red hat | — | — | CVE.org |
| red hat enterprise linux 9 | red hat | — | — | CVE.org |
| red hat openshift container platform 4 | red hat | — | — | CVE.org |
| red hat openshift container platform 5 | red hat | — | — | CVE.org |