CVE-2026-12245: NSD DNS-over-TLS Error Logging Use-After-Free
- Vendor
- Nlnet Labs
CVE-2026-12245 is a heap use-after-free vulnerability in TLS connection error logging in NLnet Labs NSD, introduced in version 4.13.0 and fixed in version 4.14.3. A client can trigger the flaw by sending a DNS query over a DNS-over-TLS (DoT) connection and closing the connection without reading the response. The resulting invalid memory access can crash the NSD server process and deny service.
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.
An attacker can crash the NSD server process, disrupting DNS-over-TLS service. Repeated exploitation can cause recurring availability loss. Arbitrary code execution, information disclosure, and privilege escalation are not established consequences.
Mitigation
If you can’t patch tonight, do this now.
No specific workaround is provided. Until NSD can be upgraded, restrict DNS-over-TLS access to trusted clients where operationally feasible to reduce exposure to untrusted DoT clients.
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-12245 or the combined security patch; these patches were tested against NSD 4.14.2. Restart the affected service after installing the fix. 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-12245 exploited in the wild?
- As of Oct 20, 2026, Mallory has no reports of CVE-2026-12245 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-12245?
- As of Oct 20, 2026, Mallory has found no public exploit for CVE-2026-12245.
- Is there a patch for CVE-2026-12245?
- Upgrade NSD to version 4.14.3 or a later release containing the fix. Alternatively, apply the vendor's individual patch for CVE-2026-12245 or the combined security patch; these patches were tested against NSD 4.14.2.
- What products are affected by CVE-2026-12245?
- Nlnet Labs Nsd.
- How severe is CVE-2026-12245?
- CVE-2026-12245 has a CVSS v4 score of 8.7 (High) and an EPSS score of 0.33% (28th percentile) as of Oct 20, 2026.
Recent activity
9 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.