Samba: null dereference in ad dc validated dns host name and spn checks
- State
- Published
- Severity
- 6.5 Medium
- Published
- Nov 25, 2026
- Updated
- Nov 25, 2026
- Reserved
- Nov 10, 2026
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.
| Product | Versions |
|---|---|
| Samba Samba | 4.17.0 and later Affected |
| Red Hat Enterprise Linux 10 Red Hat | |
| Red Hat Enterprise Linux 6 Red Hat | |
| Red Hat Enterprise Linux 6 Red Hat | |
| Red Hat Enterprise Linux 7 Red Hat | |
| Red Hat Enterprise Linux 8 Red Hat | |
| Red Hat Enterprise Linux 9 Red Hat | |
| Red Hat OpenShift Container Platform 4 Red Hat | |
| Red Hat OpenShift Container Platform 4 Red Hat | |
| Red Hat OpenShift Container Platform 5 Red Hat | |
| Red Hat OpenShift Container Platform 5 Red Hat |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 6.5 Medium | redhat |
Weaknesses
- CWE-476 NULL Pointer Dereference
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.