CVE-2026-125634

Samba: samba: null dereference in ad dc validated dns host name and spn checks

Published Nov 25, 2026 CVSS 3.1 · 6.5 Medium EPSS n/a KEV · Not listed
Description
A NULL pointer dereference 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.

Analysis

AI-generated

Technical impact

A NULL pointer dereference in Samba’s ACL module causes the directory process to crash when a low‑privileged attacker modifies a computer account’s DNS host name or SPN to delete the sAMAccountName, leading to a denial of service for all clients relying on the Active Directory domain controller. The weakness is a CWE‑476 Null Pointer Dereference.

Affected Systems

Samba installations on Red Hat Enterprise Linux 10, 6, 7, 8, and 9, as well as Red Hat OpenShift Container Platform 4 and 5 are affected. The specific Samba package version is not listed; any instance containing the affected source code is at risk.

Risk and Exploitability

The CVSS score is 6.5, indicating a moderate risk. EPSS is not available and the vulnerability is not listed in the CISA KEV catalog, so it is not currently known to be exploited in the wild. Based on the description, the likely attack vector is an LDAP modify operation from a low‑privileged machine that removes sAMAccountName, which can repeat the modify to keep the directory service unavailable.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Install the latest Samba package that contains the fix for CVE‑2026‑125634.
  • If a patch is not immediately available, restrict permissions on computer objects so that only administrators can perform LDAP modify operations that delete sAMAccountName, and block deletion of DNS host name or SPN values from those accounts.
  • Monitor AD DC logs for abnormal crash patterns and isolate the domain controller from the network until the patch or configuration changes are applied.

Generated by OpenCVE AI on November 25, 2026 at 14:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description A NULL pointer dereference 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.
Title Samba: samba: null dereference in ad dc validated dns host name and spn checks
First Time appeared Redhat
Redhat enterprise Linux
Redhat openshift
Redhat rhel Els
Weaknesses CWE-476
CPEs cpe:/a:redhat:openshift:4
cpe:/a:redhat:openshift:5
cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
cpe:/o:redhat:rhel_els:6
cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat
Redhat enterprise Linux
Redhat openshift
Redhat rhel Els
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 25, 2026, 12:57 PM
Reserved
Nov 10, 2026, 4:53 AM
Status
Awaiting Analysis
Published
Nov 25, 2026, 1:17 PM
Modified
Nov 25, 2026, 1:17 PM