NSD 4.15.3 security release
NSD 4.15.3 fixes high-severity stack-overwrite bugs that could enable remote code execution.
Stack buffer overflow in NLnet Labs NSD zone parsing
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.
| Product | Affected |
|---|---|
| NLnet Labs NSD | Fixed in the 4.15.3 security release; earlier affected versions are not enumerated in the advisory data |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
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).
NSD 4.15.3 fixes high-severity stack-overwrite bugs that could enable remote code execution.
Today 669 readers · 785 views · 257 reads · all time 187K views