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

CVE-2026-125634 affects 95 listed versions of Samba in the Dawnsentry catalogue.

6.5CVSS medium
None knownexploitation
under 1%EPSS (next 30 days)
25 November 2026published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Samba

95 of 250 listed versions are affected. No fixed release is named. The newest release, 4.25.1, is affected too.

4.25.1 4.25.0 4.24.8 4.24.7 4.24.6 4.24.5 4.24.4 4.24.3 4.24.2 4.24.1 4.24.0 4.23.13 4.23.12 4.23.11 4.23.10 4.23.9 4.23.8 4.23.7 4.23.6 4.23.5 4.23.4 4.23.3 4.23.2 4.23.1 4.23.0 4.22.11 4.22.10 4.22.9 4.22.8 4.22.7 4.22.6 4.22.5 4.22.4 4.22.3 4.22.2 4.22.1 4.22.0 4.21.10 4.21.9 4.21.8 4.21.7 4.21.6 4.21.5 4.21.4 4.21.3 4.21.2 4.21.1 4.21.0 4.20.8 4.20.7 4.20.6 4.20.5 4.20.4 4.20.3 4.20.2 4.20.1 4.20.0 4.19.9 4.19.8 4.19.7 and 35 more

What it is

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.

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (Red Hat)

Published by Red Hat on 25 November 2026. Last changed 1 December 2026.

Sources

Check one version you run: look CVE-2026-125634 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.