Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessOpen DoT connection to NSD:853
-
DeliverySend DNS query over TLS
-
ExploitClose socket before reading response
-
ExecutionTrigger error-logging use-after-free
-
ImpactNSD process crashes (DoS)
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the target NSD instance (version 4.13.0 or later) is configured to serve DNS over TLS (DoT) and is reachable on its TLS listener (typically TCP/853); the attacker sends a DNS query over that DoT connection and closes the socket before reading the response. No authentication, no user interaction, and no special attacker privileges are needed (PR:N/UI:N). The key limiting factor is that DoT must be enabled - NSD deployments serving only plain UDP/TCP DNS are not exposed - and the affected version is 4.13.0+. |
| Impact | All available signals point to a real, easily-triggered denial-of-service risk against DoT-enabled NSD deployments. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) indicates remote, low-complexity, unauthenticated exploitation with no special attack requirements, and the vendor explicitly describes the trigger as trivial, consistent with the high availability impact (VA:H) and the 8.7 score. Impact is strictly availability - there is no confidentiality or integrity exposure (VC:N/VI:N) and no remote code execution claimed despite the use-after-free class. No EPSS score was provided in the input, the CVE is not listed in CISA KEV, and no public proof-of-concept was referenced, so exploitation is plausible but not confirmed observed in the wild. The principal limiting factor is configuration: only servers with DoT enabled are exposed, which narrows the affected population relative to the raw CVSS score. |
| Exploit ScenarioDerived | An attacker opens a DNS-over-TLS connection to a public-facing NSD authoritative server on port 853, sends a single DNS query, and immediately closes the connection without reading the response, causing NSD to hit the use-after-free in its error-logging path and crash. Repeating this drops the authoritative DNS service for all hosted zones; because no authentication or user interaction is required, the attack can be fully scripted, though no public exploit code has been identified. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 25, 2026
Remote denial-of-service in NLnet Labs NSD (authoritative DNS name server) version 4.13.0 and later allows an unauthenticated attacker to crash the server process by exploiting a heap use-after-free in the TLS error-logging path. By sending a DNS query over a DNS-over-TLS (DoT) connection and closing the socket before reading the response, an attacker triggers the freed-memory access trivially; no public exploit identified at time of analysis, and the issue is not in CISA KEV. The CVSS 4.0 score of 8.7 reflects high availability impact with no confidentiality or integrity exposure.
RemediationAI
Upgrade NSD to the fixed release identified in the NLnet Labs advisory at https://www.nlnetlabs.nl/downloads/nsd/CVE-2026-12245.txt; an exact patched version was not provided in the input data and must be taken from that advisory (do not assume a version number). As an immediate compensating control where patching is not yet possible, disable DNS-over-TLS service in NSD (remove the tls-port / DoT interface configuration), which eliminates the vulnerable code path entirely - the trade-off is loss of encrypted DNS transport, so clients must fall back to UDP/TCP. If DoT must remain available, restrict access to the DoT listener (typically TCP port 853) via firewall rules to known resolver clients only, accepting that this provides only partial protection if any permitted client can reach the listener. Monitor for repeated NSD process crashes/restarts as an indicator of attempted exploitation.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
NSD (Name Server Daemon) is a high-performance authoritative-only DNS server developed by NLnet Labs, used by several root and TLD operators. The flaw lives in NSD's DNS-over-TLS (DoT, RFC 7858) handling: when an error occurs on a TLS connection and NSD attempts to log it, it accesses a connection/buffer object that has already been freed, corresponding to CWE-416 (Use After Free). The trigger is an abrupt client-side connection teardown after a query is sent but before the response is read, which drives NSD into the error-logging code path against a dangling pointer, leading to memory corruption and a process crash.
Know when Nsd gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Remote, low-complexity, unauthenticated trigger with no user interaction; impact is a server crash, so availability-only (A:H) with no confidentiality or integrity effect.
Primary rating from Vendor (NLnet Labs).
CVSS VectorVendor: NLnet Labs
Lifecycle Timeline
1DescriptionCVE.org
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.
Executive ViewAI
NLnet Labs NSD authoritative DNS servers version 4.13.0 and later are vulnerable to unauthenticated remote denial-of-service attacks that crash the DNS process via a heap use-after-free in TLS error handling. Organizations operating NSD as primary or secondary authoritative DNS servers face immediate risk of DNS outage affecting all downstream customers and services dependent on that server's resolution authority.
Implement per-source DoT connection rate limiting and per-IP maximum concurrent session caps; configure aggressive connection timeouts on DoT listeners; deploy DNS query anomaly alerting to detect exploitation patterns; establish DNS failover to secondary nameservers or alternate DNS platforms; consider temporary disablement of DoT until patch availability if the protocol is not operationally required.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.
Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Stack-based buffer overflow in NLnet Labs NSD's zone-file RDATA parser allows an attacker with the ability to supply a c
Loading a crafted zone file into NLnet Labs NSD can overflow a stack buffer and overwrite up to 191 bytes with attacker-
A stack-based buffer overflow in NLnet Labs NSD's parsing of SVCB/HTTPS resource records allows an attacker who can supp
Stack-based buffer overflow in NLnet Labs NSD is triggered when the daemon parses a zone file containing base64 data spl
Heap overflow in NLnet Labs NSD allows a malicious or compromised zone primary to corrupt memory on a secondary (slave)
NSD's proxy protocol port fails to re-evaluate BLOCKED access control list entries on the second DNS query sent over a k
NSD authoritative DNS server crashes serve child processes when receiving a crafted DNS message containing exactly 17 DN
IP range-based access control in NLnet Labs NSD is silently broken on little-endian systems due to an endianness mismatc
Zone-transfer authentication bypass in NLnet Labs NSD allows unauthorized secondaries to obtain full zone contents witho
NSD before 4.1.11 allows remote DNS master servers to cause a denial of service (/tmp disk consumption and slave server
Stack buffer overflow in NSD 4.14.0 (NLnet Labs authoritative DNS server) allows a party able to introduce zone data to
TCP window throttling in NLnet Labs NSD allows any unauthenticated remote attacker to crash individual serve child proce
EUVD-2026-39183
GHSA-rcp9-2p4r-m2hm
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB