Description
When base64 data is split up in pieces, of 3 character or less, tokens were incorrectly calculated to produce 0 bytes. This enables attackers to overwrite the stack with up to 64K of attacker controlled data. Zone files which are written out by NSD itself, such as 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: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

A flaw in NSD’s handling of base64‑encoded RDATA segments allows a crafted input of three characters or fewer to be misinterpreted as zero‑length tokens. This misinterpretation results in a stack buffer overflow that can be overloaded with up to 64 kilobytes of attacker‑controlled data, giving the attacker the ability to alter the program’s execution flow. The vulnerability directly impacts confidentiality, integrity, and availability by potentially allowing the execution of arbitrary code.

Affected Systems

NLnet Labs' NSD DNS server, versions prior to 4.15.3, is affected. The defect does not impact zones generated by NSD itself, such as those for secondary zones, but any zone file supplied to NSD from an operator or provisioning system that is not validated can trigger the overflow.

Risk and Exploitability

The CVSS score of 8.7 indicates high severity; the EPSS score of < 1% indicates a very low exploitation probability. The vulnerability is not listed in the CISA KEV catalog, indicating no known mass exploitation yet. Attackers who can supply a crafted zone file—either locally or via a compromised provisioning service—can cause the stack overflow, potentially leading to remote code execution.

Generated by OpenCVE AI on October 15, 2026 at 23:19 UTC.

Remediation

Vendor Solution

This issue is fixed in 4.15.3 and all later versions.


OpenCVE Recommended Actions

  • Update NSD to the fixed 4.15.3 release or any newer version, which corrects the faulty base64 token calculation logic.
  • Restrict access to the provisioning system that writes zone files and ensure that no malformed base64 RDATA segments are introduced before the files are processed by NSD.
  • Audit the zone file ingestion pipeline to accept only genuine, well‑formed zone data, and monitor NSD for signs of stack corruption or abnormal process behavior.

Generated by OpenCVE AI on October 15, 2026 at 23:19 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 16 Oct 2026 22:15:00 +0000

Type Values Removed Values Added
First Time appeared Nlnetlabs
Nlnetlabs nsd
Vendors & Products Nlnetlabs
Nlnetlabs nsd

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 When base64 data is split up in pieces, of 3 character or less, tokens were incorrectly calculated to produce 0 bytes. This enables attackers to overwrite the stack with up to 64K of attacker controlled data. Zone files which are written out by NSD itself, such as 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 base64 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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: NLnet Labs

Published:

Updated: 2026-10-14T14:09:58.370Z

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

Link: CVE-2026-101337

cve-icon Vulnrichment

Updated: 2026-10-14T14:09:53.335Z

cve-icon NVD

Status : Awaiting Analysis

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

Modified: 2026-10-16T19:55:59.740

Link: CVE-2026-101337

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-16T22:00:15Z

Weaknesses
  • CWE-121

    Stack-based Buffer Overflow