CVE-2026-125634

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.

Statement

Red Hat Product Security has rated this vulnerability with a Moderate security impact. This vulnerability affects Samba's Active Directory domain controller validated-write handling.

The caller must already be able to authenticate as a principal with a validated write on a computer object. A domain-joined computer has that right on its own account in the default configuration.

The vulnerable code was introduced in Samba 4.17.0, with the validated DNS host name and SPN writes added for CVE-2022-32743. Releases before 4.17.0 do not contain it.

Red Hat Enterprise Linux 6, 7, 8, 9, and 10, and Red Hat In-Vehicle Operating System 2, ship samba with the AD DC disabled at build time (--without-ad-dc), so the ACL module is not compiled.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score6.5N/AN/A
Attack VectorNetworkN/AN/A
Attack ComplexityLowN/AN/A
Privileges RequiredLowN/AN/A
User InteractionNoneN/AN/A
ScopeUnchangedN/AN/A
ConfidentialityNoneN/AN/A
Integrity ImpactNoneN/AN/A
Availability ImpactHighN/AN/A

Vector

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

Understanding the Weakness (CWE)

Availability

Technical Impact: DoS: Crash, Exit, or Restart

NULL pointer dereferences usually result in the failure of the process unless exception handling (on some platforms) is available and implemented. Even when exception handling is being used, it can still be very difficult to return the software to a safe state of operation.

Integrity,Confidentiality

Technical Impact: Execute Unauthorized Code or Commands; Read Memory; Modify Memory

In rare circumstances, when NULL is equivalent to the 0x0 memory address and privileged code can access it, then writing or reading memory is possible, which may lead to code execution.

Acknowledgements

Red Hat would like to thank Pavel Kopylov for reporting this issue.

Frequently Asked Questions

Want to get errata notifications? Sign up here.