CVE-2026-12246: Stack-based buffer overflow in NSD APL resource record serialization
- Vendor
- Nlnet Labs
CVE-2026-12246 is a stack-based buffer overflow introduced in NSD 4.14.0. A specially crafted Address Prefix List (APL) resource record whose adflength exceeds the limit permitted for its address family causes an out-of-bounds stack write when the containing zone is written to disk. The overflow can overwrite the stack with up to 111 attacker-controlled bytes, potentially causing a crash or enabling arbitrary code execution. The vulnerability is rated HIGH and is fixed in NSD 4.14.3.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can corrupt NSD process stack memory with up to 111 attacker-controlled bytes. This may crash the affected process and disrupt DNS service, or potentially permit arbitrary code execution in the affected process's security context. Reliable code execution is not established.
Mitigation
If you can’t patch tonight, do this now.
If immediate upgrade is not possible, apply the vendor-supplied patch for CVE-2026-12246 or the combined 4.14.3 patch set. As a temporary risk-reduction measure, prevent malformed or untrusted zone content containing crafted APL records from being introduced into NSD-managed zones, especially in workflows that will cause the zone to be written to disk. No complete mitigation short of patching is documented in the provided content.
Remediation
Patch, then assume compromise.
Upgrade NSD to version 4.14.3 or a later release containing the fix. Alternatively, apply the vendor's individual patch for CVE-2026-12246 or the combined NSD 4.14.3 security patch; these patches were tested against NSD 4.14.2. OpenBSD 8.0 also includes a fix.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Frequently asked questions
- Is CVE-2026-12246 exploited in the wild?
- As of Oct 20, 2026, Mallory has no reports of CVE-2026-12246 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-12246?
- As of Oct 20, 2026, Mallory has found no public exploit for CVE-2026-12246.
- Is there a patch for CVE-2026-12246?
- Upgrade NSD to version 4.14.3 or a later release containing the fix. Alternatively, apply the vendor's individual patch for CVE-2026-12246 or the combined NSD 4.14.3 security patch; these patches were tested against NSD 4.14.2.
- What products are affected by CVE-2026-12246?
- Nlnet Labs Nsd.
- How severe is CVE-2026-12246?
- CVE-2026-12246 has a CVSS v4 score of 7.2 (High) and an EPSS score of 0.30% (24th percentile) as of Oct 20, 2026.
Recent activity
5 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.