Samba: null dereference in ad dc validated dns host name and spn checks
- CVE-2026-125634
- GHSA-79fq-725c-j9j9
- EUVD-2026-135344
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.
Text from the CVE.org record.
Affected
Red Hat Red Hat Enterprise Linux 10
- No versions listed
Red Hat Red Hat Enterprise Linux 6
- No versions listed
Red Hat Red Hat Enterprise Linux 7
- No versions listed
Red Hat Red Hat Enterprise Linux 8
- No versions listed
Red Hat Red Hat Enterprise Linux 9
- No versions listed
Red Hat Red Hat OpenShift Container Platform 4
- No versions listed
Red Hat Red Hat OpenShift Container Platform 5
- No versions listed
Samba
- from 4.17.0 onwards
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.