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: n/a
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

The affected product is NLnet Labs"s NSD DNS server. Versions prior to 4.15.3 are vulnerable. The issue does not affect zones generated by NSD itself, such as those for secondary zones, but zone files supplied by an operator or other provisioning system that are fed directly into NSD are susceptible.

Risk and Exploitability

The CVSS score of 8.7 indicates a high severity and the lack of an EPSS score means no current exploitation probability is available. The vulnerability is not listed in the CISA KEV catalog, so there are no known mass exploit campaigns yet. Attackers who can provide a crafted zone file—either locally or via a compromised provisioning service—could trigger the overflow, leading to remote code execution. The simplicity of the input format and the large amount of data that can be injected make this a high‑risk threat once the attack vector is reached.

Generated by OpenCVE AI on October 14, 2026 at 13:58 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 newer, which removes the faulty base64 token calculation logic.
  • Restrict access to the provisioning system that writes zone files and verify that no malformed base64 RDATA segments are introduced before they are processed by NSD.
  • Audit the zone file ingestion pipeline to ensure only genuine, well‑formed zone data is accepted, and monitor for symptoms of stack corruption or abnormal process behavior.

Generated by OpenCVE AI on October 14, 2026 at 13:58 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 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'}


Subscriptions

No data.

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 : Received

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

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

Link: CVE-2026-101337

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

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

Weaknesses
  • CWE-121

    Stack-based Buffer Overflow