CVE-2026-125633: Samba AD DC RPC worker crashes on an HINFO record added through DNS management

ByLinuxtastic

December 1, 2026 #CVE, #Samba

A Samba Active Directory domain controller’s RPC worker crashes when a member of DnsAdmins adds an HINFO record through the DNS management interface. The conversion routine that turns a management request into the record stored in the directory copies the HINFO data across without converting the request’s single name into the two strings the stored form uses, so the stored record is read as the wrong type and the process exits. That process also serves the directory’s other remote procedure calls, so its clients are disconnected, and Samba’s prefork model waits longer before replacing each successive crashed worker, so repeating the add keeps the RPC service from staying up. There is no Samba release with the fix on 1 December 2026; this page is a draft until one can be named. Until then, keep DnsAdmins to the accounts that administer DNS and watch for RPC worker restarts.

CVE-2026-125633 at a glance.

ComponentSamba, the Active Directory domain controller’s DNS server RPC module: dns_to_dnsp_convert() in dnsdata.c, run by the RPC server worker that handles the dnsserver management interface. Only builds with the AD DC compiled in (--with-ad-dc: Debian, Ubuntu, Arch, Alpine, openSUSE; not RHEL’s)
Affected versionsSamba 4.0.0 and every later release, per the Red Hat CNA record (“Samba stable versions 4.0.0 and later are affected”), which is every release with the AD DC. 4.25.2 of 30 November 2026 is the newest release and its notes do not carry the fix
Fixed inNot established on 1 December 2026. The record names Samba bug 16249 and no merge request; samba.org has no advisory page for this CVE, its security history has no entry, and the 4.25.2 and 4.25.1 release notes do not mention it. The bug tracker refused our reader. This row will be updated when a release carries the fix
SeverityRed Hat (CNA) CVSS 3.1 6.5 Medium (AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H), CWE-843 (type confusion); NVD Awaiting Analysis with the CNA score as primary. Red Hat Moderate and not affected (RHEL builds without the AD DC); Debian “minor issue”, postponed for trixie; Ubuntu page unreachable
Exploited in the wildNot on CISA’s Known Exploited Vulnerabilities list as of 1 December 2026 (catalogue 2026.11.30). EPSS 0.74% (51st percentile) on 29 November 2026
Who is exposedSamba AD domain controllers that use Samba’s internal DNS server or the BIND DLZ back end, which is all of them, where DnsAdmins holds more than the domain administrators: helpdesk accounts that manage records, automation that registers hosts, and service accounts given DNS rights for convenience. The attacker needs that group membership (PR:L, since DnsAdmins is not Domain Admins) and the outcome is the RPC worker exiting, which disconnects every client on that worker and, repeated, keeps the directory’s remote calls from staying available. RHEL-family builds, file servers and member servers are outside this bug
PublishedRed Hat CNA record 27 November 2026, updated 30 November (Red Hat’s page gives a public date of 1 November); this page built 1 December 2026, last updated 1 December 2026

What it is

Active Directory stores DNS zones in the directory itself, each record as a dnsRecord attribute in a binary format Samba calls dnsp. Administrators do not write that format; they use the DNS management RPC interface, the one behind Windows’ DNS Manager and samba-tool dns, which sends records in a management format and leaves the server to convert them. HINFO is the old host-information record type: two character strings, CPU and operating system. The record describes the conversion bug: 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.” The stored record then claims to be an HINFO but holds data in another shape, and the next thing that reads it as two strings walks off the end. The record’s own summary is that 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”.

The privilege needed is membership of DnsAdmins, or any other right to add records to a zone through the management interface; Samba’s own samba-tool dns add with a type of HINFO is one way to send such a request. The crash is of the RPC server worker, and as with the LDAP worker in CVE-2026-125627, Samba’s prefork model replaces it but “each further crash waits longer before that process is replaced, so repeating the add keeps the directory remote-call service from staying available.” The affected range starts at 4.0.0, the first release with the AD DC.

No fix is public. The record names Samba bug 16249 and no merge request; samba.org has no advisory for this id, and the 4.25.2 release of 30 November 2026 closes a different CVE. Red Hat credits Chase Bevan-Thomas with the report; Red Hat’s own packages are built without the AD DC and are not affected, which is a statement about RHEL packaging rather than about Samba. Debian has marked the issue “postponed” for trixie as a minor issue to revisit once upstream fixes it.

Who is affected on Linux

Each row is what the distribution’s own security tracker said on 1 December 2026; the link in the row is the tracker page, which will be newer than this one. The question per distribution is whether its samba package includes the AD DC.

DistributionStatusFixed package
AlpineNot consulted for this page; Alpine’s samba-dc package builds the AD DC and is affected on the upstream range—
Debianvulnerable in bookworm (2:4.17.12+dfsg-0+deb12u4), trixie (2:4.22.11+dfsg-0+deb13u1), forky and sid (2:4.25.1+dfsg-1); trixie marked postponed, “Minor issue, revisit when fixed upstream”; Debian bug 1155842; source “(unfixed)”nothing on 1 December 2026
UbuntuTracker unreachable on 1 December 2026 (server error on every attempt); nothing inferred. The sibling CVE-2026-125634 was Medium, needs evaluation on every release—
RHEL, Rocky, Alma, CentOS StreamNot affected: RHEL 6 to 10, RHIVOS 2 and OpenShift’s RHCOS ship Samba built --without-ad-dc, so the DNS RPC module is not present; Moderate 6.5 as a rating of the upstream bugnot needed
openSUSE/SLENot consulted for this page; openSUSE builds the AD DC, SLE does not—
Arch, Fedora, self-built Samba, Samba appliances (Univention, TurnKey and others)The upstream range applies to any build with the AD DCthe release that carries the fix for bug 16249, when there is one

How to check

Three questions, in order: is this host an AD domain controller, who is in DnsAdmins, and has the RPC worker been dying. The second is the exposure, and on many domains it is longer than anyone remembers.

# 1. role and version: only the AD DC runs the DNS RPC module; 4.0.0 and later are affected, none fixed yet
testparm -s 2>/dev/null | grep -iE 'server role|dns'
samba -V 2>/dev/null; dpkg -l samba 2>/dev/null | awk '/^ii/{print $2, $3}'; apk version samba-dc 2>/dev/null

# 2. who can add records: DnsAdmins, and anything that has been granted write on the zone
samba-tool group listmembers DnsAdmins
samba-tool dsacl get 'DC=example.com,CN=MicrosoftDNS,DC=DomainDnsZones,DC=example,DC=com' 2>/dev/null | grep -E ';(CC|WP|GA|GW);'

# 3. RPC worker deaths and the prefork backoff; and any HINFO records that have appeared in the zones
journalctl -u samba-ad-dc -u samba --since '7 days ago' | grep -iE 'rpc.*(exit|signal|restart|backoff)|prefork' | tail -20
samba-tool dns query localhost example.com @ HINFO -U Administrator 2>/dev/null

A host that is not an AD DC is outside this bug. A domain controller at any version is affected until a fixed release exists, and its exposure is the membership of step 2; a domain where DnsAdmins holds only the domain administrators has no attacker who could not already stop the service. Repeated RPC worker exits in step 3, or an HINFO record nobody added on purpose, are the signatures, and a stored HINFO that keeps crashing readers should be deleted with samba-tool dns delete once the fixed release is in, or through LDAP before then.

How to fix it

Upgrade to the release that carries the fix once it exists and restart samba; this page will name it. Until then the control is the membership of DnsAdmins and of any group with write rights on the DNS zones, plus a bounded restart so a crash is an interruption rather than an outage.

# when the fixed release is packaged
apt update && apt install --only-upgrade samba && systemctl restart samba-ad-dc
apk upgrade samba-dc && rc-service samba restart

# interim: remove accounts from DnsAdmins that do not administer DNS
samba-tool group removemembers DnsAdmins helpdesk-user,svc-register

# interim: more RPC workers and a bounded backoff, as for the LDAP sibling
#   in [global] of smb.conf:  prefork children = 8
#                             prefork backoff increment = 5
#                             prefork maximum backoff = 30
testparm -s && systemctl restart samba-ad-dc

What not to do: do not switch the DNS back end from the internal server to BIND DLZ, or back, as a mitigation, because the bug is in the management RPC that both back ends share, not in the resolver; and do not give automation Domain Admins rights “instead of DnsAdmins” to work around a group you are tightening, since that trades a denial of service for a takeover.

Sources

  • CVE-2026-125633 at CVE.org — the Red Hat CNA record (27 November 2026, updated 30 November): the description naming the function and the file, the DnsAdmins precondition, the prefork backoff, affected from 4.0.0, CVSS 3.1 6.5, CWE-843, reference to Samba bug 16249
  • Red Hat CVE page and its security data record — Moderate, “Samba stable versions 4.0.0 and later are affected”, the --without-ad-dc build note, “no Red Hat products are affected”, acknowledgement to Chase Bevan-Thomas; Red Hat bug 2585340
  • Samba bug 16249 — the tracking bug named in the record; refused our reader on 1 December
  • Samba security releases and the 4.25.2 release notes (30 November 2026) — no entry for this CVE on 1 December 2026
  • NVD entry — Awaiting Analysis; published 27 November; the CNA score as primary, CWE-843
  • Distribution trackers: Debian (vulnerable in every suite, unfixed, trixie postponed, bug 1155842) · Ubuntu (unreachable on 1 December) · SUSE (not consulted)
  • CISA KEV catalogue 2026.11.30, not listed · EPSS 0.0074, percentile 0.507, dated 29 November 2026

Related reading

This advisory page was assembled from the primary sources listed above on 1 December 2026 and is updated when they change. The facts are theirs; the checks and the ordering are ours. If a row in the distribution table is out of date, the tracker link in that row is the current word.