Skip to main content

NSD EUVDEUVD-2026-39183

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

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Open DoT connection to NSD:853
  2. Delivery
    Send DNS query over TLS
  3. Exploit
    Close socket before reading response
  4. Execution
    Trigger error-logging use-after-free
  5. Impact
    NSD 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

NSD 4.13.0 <4.14.3

Affected Packages

euvd nsd fix: 4.14.3

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

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
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
Red Hat 7.5 HIGH

Primary rating from Vendor (NLnet Labs).

CVSS VectorVendor: NLnet Labs

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Jun 25, 2026 - 08:01 EUVD

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.

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.3%
Top 82% exploitable
Prevalence
Medium
authoritative DNS server used by some TLD/root operators, niche vs BIND
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor CIRCL VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

More in Nsd

View all
CVE-2026-101341 HIGH
8.7 Oct 14

Stack-based buffer overflow in NLnet Labs NSD's zone-file RDATA parser allows an attacker with the ability to supply a c

CVE-2026-101339 HIGH
8.7 Oct 14

Loading a crafted zone file into NLnet Labs NSD can overflow a stack buffer and overwrite up to 191 bytes with attacker-

CVE-2026-101338 HIGH
8.7 Oct 14

A stack-based buffer overflow in NLnet Labs NSD's parsing of SVCB/HTTPS resource records allows an attacker who can supp

CVE-2026-101337 HIGH
8.7 Oct 14

Stack-based buffer overflow in NLnet Labs NSD is triggered when the daemon parses a zone file containing base64 data spl

CVE-2026-12244 HIGH
8.7 Jun 25

Heap overflow in NLnet Labs NSD allows a malicious or compromised zone primary to corrupt memory on a secondary (slave)

CVE-2026-19538 HIGH
8.2 Aug 26

NSD's proxy protocol port fails to re-evaluate BLOCKED access control list entries on the second DNS query sent over a k

CVE-2026-19401 HIGH
8.2 Aug 26

NSD authoritative DNS server crashes serve child processes when receiving a crafted DNS message containing exactly 17 DN

CVE-2026-18664 HIGH
8.2 Aug 26

IP range-based access control in NLnet Labs NSD is silently broken on little-endian systems due to an endianness mismatc

CVE-2026-12490 HIGH
8.2 Jun 25

Zone-transfer authentication bypass in NLnet Labs NSD allows unauthorized secondaries to obtain full zone contents witho

CVE-2016-6173 HIGH
7.5 Feb 09

NSD before 4.1.11 allows remote DNS master servers to cause a denial of service (/tmp disk consumption and slave server

CVE-2026-12246 HIGH
7.2 Jun 25

Stack buffer overflow in NSD 4.14.0 (NLnet Labs authoritative DNS server) allows a party able to introduce zone data to

CVE-2026-18916 MEDIUM
6.9 Aug 26

TCP window throttling in NLnet Labs NSD allows any unauthenticated remote attacker to crash individual serve child proce

Vendor StatusVendor

SUSE

Severity: Important

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