Skip to main content

Unbound DNS Resolver CVE-2026-50046

| EUVDEUVD-2026-47672 MEDIUM
Use After Free (CWE-416)
2026-07-22 NLnet Labs GHSA-fg9v-m7xf-p865
5.9
CVSS 3.1 · Vendor: NLnet Labs
View

Attack ChainAIDerived

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

  1. Access
    Identify Unbound instance with DoT forwarding and #authname configured
  2. Delivery
    Flood target zone with DNS queries to induce jostle pressure
  3. Exploit
    Simultaneously trigger transient upstream DoT TLS handshake failure
  4. Execution
    Jostle evicts serviced_query freeing server name buffer
  5. Persist
    TLS error handler dereferences freed pointer
  6. Impact
    Unbound daemon crashes, denying DNS resolution

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 two non-default configuration conditions to be simultaneously present: a stub or forward zone in Unbound configured for DNS-over-TLS (DoT), AND a #authname suffix appended to the upstream server identification string in that zone's configuration. Unbound instances using plain DNS forwarding, DNS-over-HTTPS, or DoT without the #authname field are not vulnerable. Beyond configuration, successful exploitation further requires the attacker to know which zone is configured for DoT, to sustain sufficient query pressure against that zone to activate Unbound's jostle logic, and to induce a transient upstream DoT connection failure at a precise moment during TLS handshaking - described by the vendor as requiring precise timing. Slow upstream DoT responses increase the window in which jostle and failure can align, slightly easing exploitation. Authentication is not required to send DNS queries (PR:N from CVSS), but the specific configuration prerequisites and tight timing requirements are meaningful real-world constraints that substantially limit exploitability beyond the CVSS score alone.

Impact

The CVSS 5.9 Medium rating with AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H accurately characterizes this vulnerability. The high attack complexity (AC:H) is well-supported by the description: successful exploitation requires simultaneous query pressure sufficient to trigger jostle eviction, a transient DoT upstream failure at precisely the right moment in the TLS handshake, and foreknowledge of the target's zone configuration. These are hard real-world constraints that make reliable exploitation difficult even for a skilled adversary. The impact ceiling is a daemon crash - no confidentiality or integrity compromise is possible since the dereference is read-only. The vulnerability has no CISA KEV listing and no known public POC, further reducing near-term risk. EPSS data is not provided but would be expected to be low given the AC:H rating and specific configuration requirements. The CVSS vector and description are fully consistent - no discrepancies to flag. Real-world priority should be high for operators specifically running Unbound as a recursive resolver with DoT forwarding and #authname configuration, and low-to-negligible for all other deployments, including those using Unbound without DoT or without the #authname suffix.

Exploit ScenarioDerived

An attacker who has determined through reconnaissance that a target Unbound instance is configured with DoT forwarding and a #authname suffix floods the resolver with DNS queries for the relevant forwarded zone, driving it into the jostle-pressure state, while simultaneously ensuring the upstream DoT server experiences a transient TLS handshake failure - either by controlling the upstream server, interposing on the network path, or exploiting upstream instability. With precise timing, the jostle evicts the serviced_query and frees the TLS server name string; the concurrent TLS error handler then reads the freed memory, causing a segfault and crashing the Unbound daemon. No public exploit code exists at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jul 22, 2026

Use-after-free in NLnet Labs Unbound 1.15.0 through 1.25.1 crashes the DNS daemon via a dangling pointer to a freed TLS server name string in the DNS-over-TLS forwarding path. A remote attacker with knowledge of the target resolver's configuration can trigger the crash by sustaining query pressure against the configured DoT zone while inducing a transient upstream connection failure, causing denial of service. No public exploit code exists and this vulnerability has not been confirmed as actively exploited, but the network-accessible attack surface (PR:N) makes it relevant to operators running internet-facing recursive resolvers with DoT forwarding.

RemediationAI

The primary remediation is to upgrade Unbound to the version released by NLnet Labs that addresses CVE-2026-50046 - the exact fixed version is not independently confirmed from the available data and operators should consult the vendor advisory at https://www.nlnetlabs.nl/downloads/unbound/CVE-2026-50046.txt for the specific patched release. As an immediate workaround, removing the #authname suffix from all DoT server identification entries in the Unbound configuration eliminates the vulnerable code path entirely, though this disables TLS server name authentication for upstream DoT connections and reduces transport security assurance. A second workaround is to convert DoT stub/forward zones to standard DNS-over-UDP or DNS-over-TCP forwarding, which removes the DoT code path entirely but sacrifices encryption in transit. Operators who cannot patch or reconfigure immediately should consider rate-limiting inbound query rates to reduce the sustained pressure needed to trigger the jostle logic, though this does not eliminate the vulnerability and may impact resolver performance. Monitor for unexpected Unbound process restarts or crashes as an indicator of exploitation attempts.

Affected VersionsENISA

Unbound 1.15.0 <1.25.2

Affected Packages

euvd unbound fix: 1.25.2

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

Unbound (cpe:2.3:a:nlnet_labs:unbound:*:*:*:*:*:*:*:*) is an open-source validating recursive DNS resolver widely deployed at ISPs, enterprises, and in security appliances. The flaw (CWE-416, Use After Free) exists in the intersection of two internal data structures used during DNS-over-TLS forwarding: the serviced_query struct, which owns the TLS server name string for the upstream DoT target, and the waiting_tcp struct, which holds a reference to that same string. Unbound's internal 'jostle' logic, a load-management mechanism that evicts in-flight queries when the resolver is under pressure, can free the serviced_query - and its owned string - while the DoT TCP stream is still completing the TLS handshake. If the TLS handshake then encounters an error, the error handler dereferences the now-freed pointer. Because the dereference is read-only, the practical result is a segmentation fault and daemon crash rather than arbitrary code execution. The vulnerability is only reachable when DoT forwarding is active AND the server identification includes a #authname suffix, which is the field that populates the TLS server name string involved in the UAF.

Know when Unbound 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 5.9 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 5.9 MEDIUM

Network-reachable without authentication (AV:N/PR:N) but requires precise timing, specific DoT+#authname configuration, and induced upstream failure (AC:H); only availability is impacted via daemon crash (A:H), with no confidentiality or integrity effect.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE MEDIUM
Red Hat 3.7 LOW

Primary rating from Vendor (NLnet Labs).

CVSS VectorVendor: NLnet Labs

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

1
Patch available
Jul 22, 2026 - 16:18 EUVD

DescriptionCVE.org

In NLnet Labs Unbound 1.15.0 up to and including 1.25.1, the TLS server name used for DNS-over-TLS (DoT) forwarded queries is tied to a struct's ('serviced_query') lifetime but also referenced by another struct ('waiting_tcp'). When the owning struct is jostled out of the mesh while the DoT TCP stream is still handshaking it frees the storage behind the referenced string and if the TLS stream then errors out, it dereferences the freed pointer. The dereference is read-only and the practical impact is a daemon crash resulting in denial of service. A malicious actor that knows a DoT forwarding/stub Unbound's configuration could exploit the vulnerability by quering records in the appropriate zone while keeping Unbound uder pressure so that the jostle logic kicks in. If answers for the vulnerable zone are slow, the likelihood of jostling such queries is higher, although the timing of the jostle needs to be precise. Requirements for a vulnerable Unbound is the existence of a stub/forward zone configured for DoT together with a configured '#authname' suffix on the server identification. The connectivity to the server needs to exhibit a transient failure at the correct time in order to kick off the vulnerable error path.

Threat Intelligence Overview

EPSS Score
0.4%
Top 71% exploitable
Prevalence
Medium
widely deployed open-source recursive DNS resolver in ISP and enterprise environments
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
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.

CVE-2019-18934 HIGH POC
7.3 Nov 19

Unbound 1.6.4 through 1.9.4 contain a vulnerability in the ipsec module that can cause shell code execution after receiv

CVE-2026-81642 CRITICAL
9.1 Sep 16

A crafted DNSKEY whose owner name is a compression pointer into its own RDATA overflows the digest buffer in the DNSSEC

CVE-2026-33278 CRITICAL
9.1 May 20

Use-after-free in the DNSSEC validator of NLnet Labs Unbound resolver versions 1.19.1 through 1.25.0 allows remote attac

CVE-2026-42959 HIGH
8.7 May 20

Remote denial of service in NLnet Labs Unbound recursive DNS resolver (versions up to and including 1.25.0) allows an at

CVE-2026-42944 HIGH
8.7 May 20

Heap overflow denial-of-service in NLnet Labs Unbound recursive DNS resolver versions 1.14.0 through 1.25.0 allows remot

CVE-2026-82717 HIGH
8.4 Sep 16

Heap-based memory corruption in NLnet Labs Unbound up to and including 1.26.0 lets a remote, unauthenticated attacker wh

CVE-2019-16866 HIGH
7.5 Oct 03

Unbound before 1.9.4 accesses uninitialized memory, which allows remote attackers to trigger a crash via a crafted NOTIF

CVE-2026-32665 HIGH
7.5 Jul 22

Remote denial of service in NLnet Labs Unbound 1.22.0 through 1.25.1 lets an unauthenticated client exhaust configured m

CVE-2026-55973 HIGH
7.5 Jul 22

Remote denial-of-service in NLnet Labs Unbound 1.23.0 through 1.25.1 lets an attacker who controls a delegated DNS zone

CVE-2026-40691 HIGH
7.5 Jul 22

Remote denial-of-service in NLnet Labs Unbound 1.9.0 through 1.25.1 allows an unauthenticated attacker to crash the recu

CVE-2026-81634 HIGH
7.5 Sep 16

Heap buffer overflow in NLnet Labs Unbound 1.26.0 and earlier can be triggered when a resolver processing a large TCP-fr

CVE-2026-85501 HIGH
7.5 Sep 16

Denial-of-service through algorithmic complexity attacks in NLnet Labs Unbound up to and including 1.26.0 can degrade or

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
openSUSE Tumbleweed Fixed
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Affected
SUSE Linux Enterprise Micro 5.5 Affected
SUSE Linux Enterprise Module for Basesystem 15 SP7 Affected

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