Skip to main content

NSD CVE-2026-12245

| EUVDEUVD-2026-39183 HIGH
Use After Free (CWE-416)
2026-06-25 NLnet Labs GHSA-rcp9-2p4r-m2hm
8.7
CVSS 4.0 · Vendor: NLnet Labs
Share

Severity by source

Vendor (NLnet Labs) PRIMARY
8.7 HIGH
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
vuln.today AI
7.5 HIGH

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE
HIGH
qualitative
Red Hat
7.5 HIGH
qualitative

Primary rating from Vendor (NLnet Labs).

CVSS VectorVendor: NLnet Labs

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
X

Lifecycle Timeline

2
Patch available
Jun 25, 2026 - 08:01 EUVD
Analysis Generated
Jun 25, 2026 - 07:00 vuln.today

DescriptionCVE.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.

AnalysisAI

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.

Technical ContextAI

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.

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.

Vendor StatusVendor

SUSE

Severity: Important

Share

CVE-2026-12245 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy