Skip to content
NewA calmer, faster ZeroHour
Vulnerability2 · 1 read

CVE-2026-101338

Stack buffer overflow in NLnet Labs NSD zone parsing

CVSS 4.0
8.7 high
EPSS
—
Published
·
Modified
Analyze CVE-2026-101338 with Vani AIImpact, affected versions, exploitation status, mitigations and detection

CVE-2026-101338 is a stack-based buffer overflow (CWE-121) in NLnet Labs NSD when parsing SVCB or HTTPS resource records in a zone file. If the wire-format RDATA is already full, an additional ECH parameter can overwrite the stack, and past that limit the base64 decoder can write an unlimited amount of attacker-controlled data. The zone must be fed to NSD directly—for example from an operator-controlled provisioning system—because zone files NSD itself writes, including secondary zones, are not formatted this way. A successful overflow can compromise confidentiality, integrity, and availability of the NSD process (CVSS 4.0 8.7, network vector, low privileges required). It is not on the CISA KEV list, and no public proof-of-concept is known.

What to do: Upgrade NSD to the 4.15.3 security release or later and confirm the running version after restart. Until then, do not load zone files supplied by untrusted or weakly controlled provisioning systems; zones NSD itself writes (including secondary zones) are not formatted in the vulnerable way.

ProductAffected
NLnet Labs NSDFixed in the 4.15.3 security release; earlier affected versions are not enumerated in the advisory data
Estimated exposure
No basis for an estimate.

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description · NVD

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

Weakness
CWE-121
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

In the news

1 story