Stack overwrite via oversized APL address length
Published Jun 25, 2026 · Updated Jun 25, 2026
Stack overflow in NLnet Labs NSD 4.14.0 through 4.14.2 allows remote authenticated users to overwrite stack memory via a crafted APL RR. When writing a zone file, the APL rdata path fails to reject an adflength above the address-family limit and writes up to 111 attacker-controlled bytes to the stack. Reachability requires a configured primary inside NSD's trust boundary to supply the rogue record to a secondary, particularly in multi-tenant DNS deployments.
Summary
What happened
Stack overflow in NLnet Labs NSD 4.14.0 through 4.14.2 allows remote authenticated users to overwrite stack memory via a crafted APL RR. When writing a zone file, the APL rdata path fails to reject an adflength above the address-family limit and writes up to 111 attacker-controlled bytes to the stack. Reachability requires a configured primary inside NSD's trust boundary to supply the rogue record to a secondary, particularly in multi-tenant DNS deployments.
The record
- CVE
- CVE-2026-12246
- Published
- Jun 25, 2026
- Updated
- Jun 25, 2026
- Vendor
- NLnet Labs
- Product
- NSD
- Classifications
- CWE-20, CWE-120
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Jun 25, 2026CVE publishedPublication date reported by the CVE source.
- Jun 25, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=4.14.0 <4.14.3
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo