Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessControl or compromise zone primary
-
DeliveryVictim secondary initiates AXFR
-
ExploitSend crafted SVCB RR rdata size 65512
-
Executionuint16_t allocation size wraps small
-
PersistHeap buffer overflow up to 65509 bytes
-
ImpactControlled write achieves RCE or crash
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer overflow checks
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the victim NSD instance is configured as a secondary for at least one zone, and that the attacker controls the primary for that zone (or can supply the AXFR response as a malicious/compromised primary, or impersonate it where TSIG is not enforced) - the malicious payload is delivered inside an AXFR zone transfer as an SVCB resource record with an rdata size of exactly 65512 bytes, which is the value that wraps the uint16_t allocation size. Limiting factors: the attacker must occupy the trusted primary position (CVSS PR:L, not unauthenticated), the target must run NSD in secondary mode, and the vulnerable code path is SVCB RR parsing during AXFR; if zone transfers are TSIG-authenticated and ACL-restricted to a legitimate, uncompromised primary, the practical attack surface is largely eliminated. No user interaction is required (UI:N). |
| Impact | The vendor CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H, base 8.7) reflects a network-reachable, low-complexity attack with high impact to confidentiality, integrity, and availability, requiring some privilege (PR:L) - consistent with the description, which states the attack must come from the configured primary of a zone that the victim NSD secondaries. That PR:L is the single most important risk-limiting signal: the attacker is not an arbitrary internet host but must occupy (or hijack/spoof) the trusted primary in an established primary-secondary relationship, which sharply narrows the realistic threat population to a malicious primary, a compromised primary, or an on-path attacker able to impersonate it. No EPSS score, KEV listing, or POC was provided, so there is no public exploit identified at time of analysis and no evidence of active exploitation; SSVC inputs (automatable, exploitation status) were not supplied. The headline impact is severe (controlled heap write of class RCE), but the trust prerequisite means real-world risk is elevated-but-targeted rather than mass-exploitable - prioritize patching where NSD acts as a secondary, especially across organizational trust boundaries or with TSIG not enforced. |
| Exploit ScenarioDerived | An attacker who controls or has compromised the primary nameserver for a zone (or can impersonate it on-path where TSIG is absent) waits for or triggers an AXFR from a victim NSD secondary, then serves a zone-transfer message containing a crafted SVCB record with rdata length 65512. The 16-bit allocation size wraps, NSD copies up to 65509 attacker-chosen bytes past the undersized heap buffer, and the attacker leverages the controlled write toward code execution or a crash on the secondary. No public exploit is identified at this time, and the low attack complexity (AC:L) means a working primitive is straightforward for an attacker already in the primary role. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 25, 2026
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.
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.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
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.
Know when Nsd gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
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
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
1DescriptionCVE.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
Executive ViewAI
CVE-2026-12244 affects NLnet Labs NSD, a DNS secondary server used to maintain redundant domain name resolution, and could enable remote code execution if exploited. No vendor patch is currently available, making immediate operational controls essential to prevent exploitation through malicious zone transfers. Organizations using NSD secondaries face direct risk to DNS infrastructure security and operational continuity.
Until vendor patch available: (1) Restrict zone transfer sources via firewall and DNS ACLs to known, trusted primaries; (2) Require TSIG authentication on all AXFR transactions; (3) Network-segment DNS infrastructure and monitor AXFR traffic for anomalies; (4) Implement rate limiting on zone transfers; (5) Disable zone transfers if operational requirements permit.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Stack-based buffer overflow in NLnet Labs NSD's zone-file RDATA parser allows an attacker with the ability to supply a c
Loading a crafted zone file into NLnet Labs NSD can overflow a stack buffer and overwrite up to 191 bytes with attacker-
A stack-based buffer overflow in NLnet Labs NSD's parsing of SVCB/HTTPS resource records allows an attacker who can supp
Stack-based buffer overflow in NLnet Labs NSD is triggered when the daemon parses a zone file containing base64 data spl
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
EUVD-2026-39182
GHSA-p22w-wq6p-g85g
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB