Skip to main content

CVE-2026-101341: CWE-121 Stack-based Buffer Overflow in NLnet Labs NSD

0
High
VulnerabilityCVE-2026-101341cvecve-2026-101341cwe-121
Published: 10/14/2026 (10/14/2026, 10:56:51 UTC)
Source: CVE Database V5
Vendor/Project: NLnet Labs
Product: NSD

Description

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

CVSS v4.0

Score 8.7high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

NLnet Labs

NSD

Affected versions
>=4.10.0 <4.15.3
GitHub Actionsmore threats →ai
nlnetlabs/nsd
pkg:github/nlnetlabs/nsd
Affected versions
>=4.10.0 <4.15.3

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/14/2026, 11:18:25 UTC

Technical Analysis

NLnet Labs NSD versions >=4.10.0 and <4.15.3 contain a stack-based buffer overflow (CWE-121) in the handling of RDATA tokens under 32 bytes, such as those in TXT records. The vulnerability arises because these tokens are not validated to remain within the allocated stack space, enabling arbitrary out-of-bounds writes. This includes overwriting a callback function pointer invoked immediately after parsing, potentially leading to code execution or denial of service. The issue is exploitable when NSD processes zone files fed directly to it, for example from an operator-controlled provisioning system, but not when processing zone files generated by NSD itself.

Potential Impact

Successful exploitation can lead to arbitrary code execution or denial of service due to the overwrite of a callback function pointer on the stack. The vulnerability requires local or remote feeding of a maliciously crafted zone file to NSD. There are no known exploits in the wild at this time. The CVSS 4.0 base score is 8.7, indicating high severity with network attack vector, low attack complexity, no privileges required, no user interaction, and high impacts on confidentiality, integrity, and availability.

Mitigation Recommendations

No patch or official fix information is provided in the available data. Patch status is not yet confirmed — check the NLnet Labs vendor advisory for current remediation guidance. Until a fix is available, avoid feeding NSD with untrusted or operator-controlled zone files that could contain maliciously crafted RDATA tokens. Zone files generated by NSD itself are not vulnerable.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
NLnet Labs
Date Reserved
2026-09-28T14:39:03.779Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6acf61b32cdf04f6566fed25

Added to database: 10/14/2026, 11:04:19 UTC

Last enriched: 10/14/2026, 11:18:25 UTC

Last updated: 10/14/2026, 19:00:33 UTC

Views: 15

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses