Skip to content
DayZeroHub
Medium Not yet writtenCVSS 6.5CVE-2026-125634

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

Samba Samba

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-125634: medium-severity vulnerability (CVSS 6.5) in Samba Samba.

What happened

Original description from the source: 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.

Why it matters

Medium severity, CVSS 6.5.

Affected products and versions

Samba Samba 4.17.0; Red Hat Red Hat Enterprise Linux 10; 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 5

ProductVersionsFixed in
Samba Samba4.17.0—
Red Hat 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——

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-476

Relevant change history

  1. Published

    Preliminary advisory published.