Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain control of zone-file provisioning path
-
DeliverySupply crafted zone with oversized RDATA token
-
ExploitOut-of-bounds stack write overflows buffer
-
ExecutionOverwrite post-parse callback function pointer
-
ImpactExecute arbitrary code as NSD process
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Stack buffer bounds checking
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 an attacker-crafted zone file to be fed DIRECTLY to NSD for parsing - the triggering malformation is an RDATA text token under 32 bytes (e.g. in a TXT record) that is not bounds-checked. A key LIMITING factor stated explicitly in the advisory: zone files that NSD generates itself (such as zones for which the NSD instance is secondary, received via transfer) are NOT formatted this way and will not trigger the flaw. Therefore the practical prerequisite is write/supply control over primary zone-file content - realistically via an operator-controlled or compromised provisioning/zone-management system, or a privileged operator - rather than any remote DNS query. This is not remotely reachable through normal DNS protocol traffic; it is an input-trust/configuration-path dependency. |
| Impact | This is a stack-based buffer overflow (CWE-121) in NSD's zone-file RDATA parser where text tokens under 32 bytes are not bounds-checked, permitting arbitrary-sized out-of-bounds stack writes and, critically, an overwrite of a callback function pointer that is invoked immediately after parsing - a classic path to arbitrary code execution. The vendor CVSS 4.0 vector (8.7 High) encodes AV:N/AC:L/AT:N/PR:L/UI:N with full VC:H/VI:H/VA:H impact, but the description materially constrains the attack vector: exploitation requires a maliciously crafted zone file to be fed DIRECTLY to NSD, and zone files that NSD writes out itself (e.g. secondary/XFR zones) are not formatted this way and are therefore NOT a trigger. This is a notable conflict - the vendor rates AV:N, yet the described access model is supplying a trusted-path configuration/zone input rather than an unauthenticated network packet, which in practice looks local or provisioning-chain dependent (verify intended vector with NLnet Labs). The realistic threat is therefore a compromised or malicious upstream provisioning/zone-management system, or an insider with authority to load zone files, rather than any remote DNS client. There is no EPSS score, no CISA KEV listing, and no public exploit referenced, so this is currently a patch-on-schedule priority driven by code-execution potential and NSD's role in DNS infrastructure, not evidence of active exploitation; exploitation status is: no public exploit identified at time of analysis. |
| Exploit ScenarioDerived | An attacker who controls the zone-file provisioning pipeline (a compromised or malicious orchestration/provisioning system, or a privileged operator) crafts a zone file containing a TXT record whose RDATA text token is specially sized to overflow the stack buffer. When NSD parses this zone file directly, the oversized token overwrites a post-parse callback function pointer, redirecting execution to attacker-controlled code running with NSD's privileges. No public exploit code is referenced, and the attack requires the ability to deliver a crafted zone file directly to NSD (not a network DNS query). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 14, 2026
Stack-based buffer overflow in NLnet Labs NSD's zone-file RDATA parser allows an attacker with the ability to supply a crafted primary zone file to perform out-of-bounds stack writes, including overwriting a callback function pointer that is invoked immediately after parsing, which can lead to arbitrary code execution. The vulnerable path requires direct ingestion of a specially formatted zone file; NSD-generated zone files, including those for secondary zones received by transfer, are not formatted in the triggering way and will not exploit the flaw. No public exploit code or confirmed active exploitation is identified in the available intelligence, and the assessed vector requires low privileges (PR:L) through local or zone-supply access rather than ordinary remote DNS queries.
RemediationAI
Apply the vendor fix from NLnet Labs advisory https://www.nlnetlabs.nl/downloads/nsd/CVE-2026-101341.txt; the provided data does not include an exact fixed version, so verify the patched NSD release in the advisory before upgrading. Until a patch is deployed, restrict write or supply access to primary zone files parsed by NSD, harden the provisioning and zone-management systems that can feed files directly to the parser, and avoid ingesting untrusted or operator-provisioned zone files. As a compensating control, pre-validate or reject zone files containing RDATA text tokens shorter than 32 bytes before they reach NSD, but this may block legitimate records and is not a substitute for the parser fix. Prefer operationally feasible use of NSD-generated or transfer-derived zone content, which the advisory states will not trigger the issue, though this may not cover all provisioning workflows.
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
The affected component is the RDATA parser in NLnet Labs NSD, a DNS authoritative name server. The root cause is CWE-121, a stack-based buffer overflow, where text tokens in RDATA (for example, TXT record strings) that are shorter than 32 bytes are not checked against the space reserved for the RDATA, permitting arbitrary-sized out-of-bounds stack writes. The overflow can overwrite a callback function pointer that is called directly after parsing, making code execution possible. The provided CPE cpe:2.3:a:nlnet_labs:nsd:*:*:*:*:*:*:*:* identifies NSD as the affected product without constraining a specific version range. Per the independent assessment, the practical vector is local or supply-chain control over zone-file content (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H), not remote DNS wire traffic; the advisory explicitly notes that zone files written by NSD itself for secondary zones are formatted differently and do not trigger the bug.
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
Requires supplying a crafted primary zone file loaded directly into NSD rather than a network DNS packet, so AV:L and PR:L; function-pointer overwrite yields full code execution, so C/I/A:H.
Primary rating from Vendor (NLnet Labs).
CVSS VectorVendor: NLnet Labs
Lifecycle Timeline
2DescriptionCVE.org
Tokens of text in RDATA (of for example TXT records) under 32 bytes are not checked to stay within the space reserved for the RDATA allowing for arbitrary sized out of bound stack writes, including an overwrite of a callback function pointer which is called directly after parse. Zone files which are written out by NSD itself, such for zones for which the NSD instance is secondary, will not be formatted like this. The zone file must be fed to NSD directly, (but it could come, for example, from an operator controlled provisioning system).
Executive ViewAI
A high-severity buffer overflow in NLnet Labs NSD can enable arbitrary code execution on affected DNS servers when they directly ingest a specially crafted primary zone file, but ordinary remote DNS queries and NSD-generated or transferred secondary zones are not affected; no public exploit identified at time of analysis. Leadership should care because a compromised NSD instance could disrupt DNS availability or integrity and serve as a foothold for broader network intrusion. Organizations that permit untrusted or loosely governed primary zone file imports have the greatest exposure and should prioritize tighter supply-chain controls.
No vendor-released patch identified at time of analysis; restrict primary zone file ingestion to trusted sources and personnel, enforce least privilege for local and zone-supply access, validate zone files before loading, isolate NSD instances, monitor vendor advisories, and apply vendor patch when released.
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
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
A stack-based buffer overflow occurs when a program writes more data to a buffer located on the stack than it was allocated to hold.
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
Heap overflow in NLnet Labs NSD allows a malicious or compromised zone primary to corrupt memory on a secondary (slave)
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-100985
GHSA-22wp-v7fq-g3x8
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB