Description
When a SVCB or HTTPS RR has filled the wire format RDATA up to the brim, another ECH parameter may overwrite the stack, and once beyond the limit, the base64 decoder can write attacker controlled data of unlimited size. 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: Arbitrary code execution on the NSD server
Action: Immediate Patch
AI Analysis

Impact

A specially crafted Service Configuration Blob (SVCB) or HTTPS resource record can exceed the expected wire format RDATA boundary and overwrite the server stack during base64 decoding. The overflow occurs in the NSD base64 decoder, allowing an attacker to write unlimited, attacker‑controlled data onto the stack, which can lead to execution of arbitrary code. The vulnerability is a classic stack buffer overflow, identified as CWE‑121, and poses a severe confidentiality, integrity, and availability risk against the DNS server.

Affected Systems

The vulnerability affects NLnet Labs’ NSD DNS server, all releases prior to 4.15.3. The issue does not impact zones generated internally by NSD, such as those for secondary zones, because those never have the overlength RDATA format. However, any zone file that is fed to NSD from an operator‑controlled provisioning system can trigger the flaw.

Risk and Exploitability

The CVSS score of 8.7 places this flaw in the high severity range. The EPSS score is not available, so no quantitative estimate of exploitation likelihood can be given, and the vulnerability is not listed in the CISA KEV catalog. Based on the description, the most likely attack vector is the network, where an adversary can send a crafted DNS query or zone file containing the malicious SVCB or HTTPS record. If the attacker successfully overwrites the stack, they can gain remote execution capabilities on the NSD process, potentially compromising the entire server.

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

  • Upgrade NSD to version 4.15.3 or later, which contains the fixed base64 decoder;
  • Validate any externally supplied zone files to ensure no SVCB or HTTPS records exceed the permitted RDATA size before loading them into NSD;
  • Monitor NSD logs for anomalies such as base64 decoding errors or repeated stack corruption messages, and quarantine any source that generates them.

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 a SVCB or HTTPS RR has filled the wire format RDATA up to the brim, another ECH parameter may overwrite the stack, and once beyond the limit, the base64 decoder can write attacker controlled data of unlimited size. 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 a specially crafted and formatted SVCB or HTTPS RR
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:20.163Z

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

Link: CVE-2026-101338

cve-icon Vulnrichment

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

cve-icon NVD

Status : Received

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

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

Link: CVE-2026-101338

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

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

Weaknesses
  • CWE-121

    Stack-based Buffer Overflow