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).
Published: 2026-10-14
Score: 8.7 High
EPSS: n/a
KEV: No
Impact: Remote code execution
Action: Immediate Patch
AI Analysis

Impact

The flaw occurs when NSD parses TXT RDATA tokens that are shorter than 32 bytes, because the length field is not verified against the allocated buffer. This omission permits an attacker to supply a string longer than the reserved space, causing an out‑of‑bounds write on the stack. By overwriting a callback function pointer that is used immediately after parsing, the attacker can redirect execution to arbitrary code, leading to full remote code execution. The weakness is classified as a stack‑based buffer overflow (CWE‑121).

Affected Systems

Vendor: NLnet Labs NSD. The CNA notes that the problem is fixed in 4.15.3 and later, so all releases older than 4.15.3 are affected. The issue specifically impacts zone data that comes from external sources, such as operator‑controlled provisioning systems; zone files written by NSD itself are not vulnerable.

Risk and Exploitability

The CVSS score of 8.7 indicates high severity and that the flaw can result in complete compromise of the NSD process. Although no EPSS score is provided, the lack of a KEV listing does not imply low risk; the vector is likely external because an attacker can influence the zone file that NSD parses. If an attacker can supply a malicious TXT record through a provisioning interface or zone transfer, he could overwrite the callback pointer and execute arbitrary code. The combination of a high severity score and the possibility of remote exploitation suggests a high likelihood of abuse once the flaw has been made publicly known.

Generated by OpenCVE AI on October 14, 2026 at 13:56 UTC.

Remediation

Vendor Solution

This issue is fixed in 4.15.3 and all later versions.


OpenCVE Recommended Actions

  • Upgrade to NSD 4.15.3 or later to remove the vulnerable code.
  • Validate or sanitize any zone data that is imported from external sources before feeding it into NSD.
  • Configure NSD to limit or reject TXT records whose RDATA length exceeds the normal bounds, or restrict the source of zone files to trusted, internal processes.

Generated by OpenCVE AI on October 14, 2026 at 13:56 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 14 Oct 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 14 Oct 2026 11:00:00 +0000

Type Values Removed Values Added
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).
Title Stack overwrite from specially formatted TXT-DATA RDATA field
Weaknesses CWE-121
References
Metrics cvssV4_0

{'score': 8.7, 'vector': '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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: NLnet Labs

Published:

Updated: 2026-10-14T14:08:20.283Z

Reserved: 2026-09-28T14:39:03.779Z

Link: CVE-2026-101341

cve-icon Vulnrichment

Updated: 2026-10-14T14:08:14.794Z

cve-icon NVD

Status : Received

Published: 2026-10-14T11:16:57.423

Modified: 2026-10-14T14:17:30.043

Link: CVE-2026-101341

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-14T14:00:17Z

Weaknesses
  • CWE-121

    Stack-based Buffer Overflow