CVE-2026-12245: CWE-416: Use After Free in NLnet Labs NSD
NSD from version 4.13.0 has a heap use-after-free bug in logging errors on TLS connections, causing a crash of the server process, which can be triggered trivially by sending a DNS query over a DoT connection, and closing the connection without reading the response.
AI Analysis
Technical Summary
CVE-2026-12245 is a heap use-after-free vulnerability (CWE-416) in NLnet Labs NSD version 4.13.0. The issue occurs during error logging on TLS connections, where a use-after-free condition can be triggered by sending a DNS query over a DoT connection and then closing the connection without reading the response. This leads to a crash of the NSD server process. The vulnerability is remotely exploitable without authentication or user interaction and does not require privileges. No official patch or remediation guidance is currently available from the vendor.
Potential Impact
Successful exploitation results in a denial of service by crashing the NSD server process. This can disrupt DNS resolution services relying on the affected NSD version. There is no indication of code execution or data corruption beyond the crash. No known exploits are reported in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, consider avoiding the use of NSD version 4.13.0 in environments where DNS-over-TLS queries are expected or implement network-level controls to limit exposure to such queries. Monitor vendor channels for updates and official patches.
CVE-2026-12245: CWE-416: Use After Free in NLnet Labs NSD
Description
NSD from version 4.13.0 has a heap use-after-free bug in logging errors on TLS connections, causing a crash of the server process, which can be triggered trivially by sending a DNS query over a DoT connection, and closing the connection without reading the response.
CVSS v4.0
Score 8.7high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-12245 is a heap use-after-free vulnerability (CWE-416) in NLnet Labs NSD version 4.13.0. The issue occurs during error logging on TLS connections, where a use-after-free condition can be triggered by sending a DNS query over a DoT connection and then closing the connection without reading the response. This leads to a crash of the NSD server process. The vulnerability is remotely exploitable without authentication or user interaction and does not require privileges. No official patch or remediation guidance is currently available from the vendor.
Potential Impact
Successful exploitation results in a denial of service by crashing the NSD server process. This can disrupt DNS resolution services relying on the affected NSD version. There is no indication of code execution or data corruption beyond the crash. No known exploits are reported in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, consider avoiding the use of NSD version 4.13.0 in environments where DNS-over-TLS queries are expected or implement network-level controls to limit exposure to such queries. Monitor vendor channels for updates and official patches.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- NLnet Labs
- Date Reserved
- 2026-06-15T06:47:18.496Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a3cceac4853345fc1827809
Added to database: 06/25/2026, 06:46:04 UTC
Last enriched: 06/25/2026, 07:01:04 UTC
Last updated: 08/08/2026, 15:27:24 UTC
Views: 65
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.