CVE-2026-125633
Description
A Type Confusion has been found in the dns_to_dnsp_convert() function in dnsdata.c of the DNS server RPC module in the Samba package. The function copies an HINFO record from the management request into the stored DNS record without converting the request name into the two strings the stored record uses. A low-privileged network attacker or user in the DnsAdmins group adds an HINFO record through the DNS management interface. The directory process that handles the add also serves the directory's other remote calls. That process exits, which disconnects the clients that were using it, and the directory service starts a replacement process. Another add of the same kind crashes the process that accepts it, and each further crash waits longer before that process is replaced, so repeating the add keeps the directory remote-call service from staying available.
Statement
Red Hat Product Security has rated this vulnerability with a Moderate security impact. This vulnerability affects Samba's AD DC DNS management RPC handling.
PR (Privileges Required): Low. The caller is a member of DnsAdmins. Provision grants that group write on the DNS zone, and the handler does not require Domain Admin. That grant covers DNS records and is not administrative control of the AD DC.
A (Availability): High. Repeating the add exits the rpc prefork workers, and the restart delay grows from the first immediate restart up to the maximum backoff, so the caller can keep the rpc service stopped while the adds continue.
The vulnerable code was introduced in samba version 4.0.0alpha18 when the DCERPC DNS server was added. Samba stable versions 4.0.0 and later are affected.
AD DC DNS server RPC module, dcerpc_dnsserver, is built only when the AD DC is enabled.
Red Hat Enterprise Linux 6, 7, 8, 9, and 10, along with Red Hat In-Vehicle Operating System 2, ship RHEL builds of Samba compiled without the AD DC (--without-ad-dc), so the vulnerable code is absent and those streams are not affected.
Likewise, Red Hat Enterprise Linux CoreOS (RHCOS) does not ship Samba packages by default, while Red Hat OpenShift Container Platform images consume Samba directly from RHEL builds, making them not affected.
Mitigation
Mitigation is not applicable because no Red Hat products are affected.
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 Hat | NVD | cve.org | |
|---|---|---|---|
| Base Score | 6.5 | N/A | N/A |
| Attack Vector | Network | N/A | N/A |
| Attack Complexity | Low | N/A | N/A |
| Privileges Required | Low | N/A | N/A |
| User Interaction | None | N/A | N/A |
| Scope | Unchanged | N/A | N/A |
| Confidentiality | None | N/A | N/A |
| Integrity Impact | None | N/A | N/A |
| Availability Impact | High | N/A | N/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)
Other
Technical Impact: Varies by Context
When the product accesses the resource using an incompatible type, this could trigger logical errors because the resource does not have expected properties.
Availability,Integrity,Confidentiality
Technical Impact: Read Memory; Modify Memory; Execute Unauthorized Code or Commands; DoS: Crash, Exit, or Restart
If a memory buffer is accessed using an incompatible type, and the allocated buffer is smaller than the type that the code is attempting to access, then an attacker could read or write memory outside the bounds of the buffer, leading to a crash or possibly code execution.
Acknowledgements
Red Hat would like to thank Chase Bevan-Thomas (cbev0x.github.io) for reporting this issue.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.