Skip to main content

NLnet Labs NSD CVE-2026-101341

| EUVDEUVD-2026-100985 HIGH
Stack-based Buffer Overflow (CWE-121)
2026-10-14 NLnet Labs GHSA-22wp-v7fq-g3x8
8.7
CVSS 4.0 · Vendor: NLnet Labs
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain control of zone-file provisioning path
  2. Delivery
    Supply crafted zone with oversized RDATA token
  3. Exploit
    Out-of-bounds stack write overflows buffer
  4. Execution
    Overwrite post-parse callback function pointer
  5. Impact
    Execute 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).

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

NSD 4.10.0 <4.15.3

Affected Packages

euvd nsd fix: 4.15.3

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

Vendor (NLnet Labs) PRIMARY 8.7 HIGH
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
vuln.today AI 7.8 HIGH

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.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (NLnet Labs).

CVSS VectorVendor: NLnet Labs

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Oct 14, 2026 - 12:02 EUVD
CVE Published
Oct 14, 2026 - 10:56 cve.org
HIGH 8.7

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating 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

EPSS Score
0.3%
Top 75% exploitable
Prevalence
Medium
widely-known authoritative DNS server, common in DNS infrastructure but not ubiquitous
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

More in Nsd

View all
CVE-2026-101339 HIGH
8.7 Oct 14

Loading a crafted zone file into NLnet Labs NSD can overflow a stack buffer and overwrite up to 191 bytes with attacker-

CVE-2026-101338 HIGH
8.7 Oct 14

A stack-based buffer overflow in NLnet Labs NSD's parsing of SVCB/HTTPS resource records allows an attacker who can supp

CVE-2026-101337 HIGH
8.7 Oct 14

Stack-based buffer overflow in NLnet Labs NSD is triggered when the daemon parses a zone file containing base64 data spl

CVE-2026-12245 HIGH
8.7 Jun 25

Remote denial-of-service in NLnet Labs NSD (authoritative DNS name server) version 4.13.0 and later allows an unauthenti

CVE-2026-12244 HIGH
8.7 Jun 25

Heap overflow in NLnet Labs NSD allows a malicious or compromised zone primary to corrupt memory on a secondary (slave)

CVE-2026-19538 HIGH
8.2 Aug 26

NSD's proxy protocol port fails to re-evaluate BLOCKED access control list entries on the second DNS query sent over a k

CVE-2026-19401 HIGH
8.2 Aug 26

NSD authoritative DNS server crashes serve child processes when receiving a crafted DNS message containing exactly 17 DN

CVE-2026-18664 HIGH
8.2 Aug 26

IP range-based access control in NLnet Labs NSD is silently broken on little-endian systems due to an endianness mismatc

CVE-2026-12490 HIGH
8.2 Jun 25

Zone-transfer authentication bypass in NLnet Labs NSD allows unauthorized secondaries to obtain full zone contents witho

CVE-2016-6173 HIGH
7.5 Feb 09

NSD before 4.1.11 allows remote DNS master servers to cause a denial of service (/tmp disk consumption and slave server

CVE-2026-12246 HIGH
7.2 Jun 25

Stack buffer overflow in NSD 4.14.0 (NLnet Labs authoritative DNS server) allows a party able to introduce zone data to

CVE-2026-18916 MEDIUM
6.9 Aug 26

TCP window throttling in NLnet Labs NSD allows any unauthenticated remote attacker to crash individual serve child proce

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy