# CVE-2026-125634: Samba: null dereference in ad dc validated dns host name and spn checks

- Severity: Medium 6.5 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.79%, higher than 57% of CVEs (2026-12-01)
- Published: 2026-11-25T12:57:37.146Z
- Modified: 2026-12-01T17:17:23.767Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- samba: from 4.17.0 before *
- samba4: no versions given
- openshift/ose-rhel-coreos-8: no versions given
- openshift/ose-rhel-coreos-9: no versions given
- openshift/ose-rhel-coreos-10: no versions given

## References

- <https://access.redhat.com/security/cve/CVE-2026-125634> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2583971> (issue-tracking)
- <https://bugzilla.samba.org/show_bug.cgi?id=16248>
- <https://gitlab.com/samba-team/samba/-/merge_requests/4800>
- <https://gitlab.com/samba-team/samba/-/merge_requests/4893>

## Sources

- CVE List: [CVE-2026-125634](https://www.cve.org/CVERecord?id=CVE-2026-125634), CVE Terms of Use, modified 2026-12-01
- NVD: [CVE-2026-125634](https://nvd.nist.gov/vuln/detail/CVE-2026-125634), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-125634 · Whole record: https://cve.day/CVE-2026-125634.json · Rebuilt by cve.day 2026-12-01T17:32:16.654Z
