Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Network-delivered via AXFR (AV:N), low complexity (AC:L), but requires the trusted primary role so PR:L; controlled heap write yields high C/I/A with no scope change.
Primary rating from Vendor (NLnet Labs).
CVSS VectorVendor: NLnet Labs
Lifecycle Timeline
2DescriptionCVE.org
If NSD is configured as secondary for a zone, the primary of that zone can crash NSD with an AXFR containing a DNS message with a special crafted SVCB RR with an rdata size of 65512, that let's an (uint16_t) variable that is used to allocate space needed for the RR wrap (because total size > 65535), causing a heap overflow. The attacker can perform a controlled (RCE class) head write of up to 65509 bytes
AnalysisAI
Heap overflow in NLnet Labs NSD allows a malicious or compromised zone primary to corrupt memory on a secondary (slave) NSD instance by sending an AXFR transfer containing a crafted SVCB resource record. An rdata size of 65512 causes a uint16_t length variable used for RR allocation to wrap (total size exceeds 65535), producing an undersized buffer and a controlled out-of-bounds write of up to 65509 bytes - an RCE-class primitive (CWE-190 integer overflow leading to heap overflow). No public exploit identified at time of analysis, but the controlled write and remote network vector (CVSS 4.0 base 8.7) make this a high-priority patch for any operator running NSD as a secondary.
Technical ContextAI
NSD (Name Server Daemon) is an authoritative-only DNS nameserver from NLnet Labs, commonly deployed as a secondary that pulls zones from a primary via AXFR/IXFR zone transfers. The flaw is in NSD's parsing/allocation of a received SVCB resource record (RFC 9460, used for HTTPS/service binding records) during AXFR processing. Per CWE-190, the code computes the buffer size for the incoming RR using a 16-bit (uint16_t) variable; an rdata length of 65512 pushes the computed total (rdata plus RR overhead) past 65535, wrapping the 16-bit value to a small number. The subsequent allocation is therefore far smaller than the data copied into it, yielding a heap buffer overflow whose contents and length (up to 65509 bytes) are attacker-controlled, placing this in the remote-code-execution risk class rather than mere denial of service. The CPE cpe:2.3:a:nlnet_labs:nsd:*:*:*:*:*:*:*:* indicates all NSD versions prior to the fix should be treated as potentially affected pending exact version confirmation.
RemediationAI
Upgrade NSD to the fixed release identified in the NLnet Labs advisory at https://www.nlnetlabs.nl/downloads/nsd/CVE-2026-12244.txt; the exact patched version number is not included in the provided data and must be taken from that advisory - patch available per vendor advisory, version to be confirmed from the source. As compensating controls until patched: enforce TSIG authentication on all zone transfers so that only the legitimate, key-holding primary can send AXFR data (this blocks spoofed/on-path primaries but does not protect against a genuinely compromised primary); strictly limit the allow-notify/request-xfr and provide-xfr ACLs to known primary IP addresses and bind transfer endpoints to trusted management networks (trade-off: must be kept in sync as topology changes); and where feasible, place secondaries behind network controls that restrict inbound TCP/53 to the known primary only. None of these controls neutralize a malicious or fully compromised primary, so patching is the only complete fix.
Remote denial-of-service in NLnet Labs NSD (authoritative DNS name server) version 4.13.0 and later allows an unauthenti
NSD's proxy protocol port fails to re-evaluate BLOCKED access control list entries on the second DNS query sent over a k
NSD authoritative DNS server crashes serve child processes when receiving a crafted DNS message containing exactly 17 DN
IP range-based access control in NLnet Labs NSD is silently broken on little-endian systems due to an endianness mismatc
Zone-transfer authentication bypass in NLnet Labs NSD allows unauthorized secondaries to obtain full zone contents witho
NSD before 4.1.11 allows remote DNS master servers to cause a denial of service (/tmp disk consumption and slave server
Stack buffer overflow in NSD 4.14.0 (NLnet Labs authoritative DNS server) allows a party able to introduce zone data to
TCP window throttling in NLnet Labs NSD allows any unauthenticated remote attacker to crash individual serve child proce
query.c in NSD 3.0.x through 3.0.8, 3.1.x through 3.1.1, and 3.2.x before 3.2.12 allows remote attackers to cause a deni
Same weakness CWE-190 – Integer Overflow or Wraparound
View allSame technique Denial Of Service
View allVendor StatusVendor
SUSE
Severity: ImportantShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-39182
GHSA-p22w-wq6p-g85g