Skip to main content

NLnet Labs Unbound CVE-2026-52863

| EUVDEUVD-2026-47677 MEDIUM
Use After Free (CWE-416)
2026-07-22 NLnet Labs GHSA-5gh2-8ch2-g46c
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
    Send sustained high-volume DNS queries
  2. Delivery
    Drive Unbound into jostle-eviction mode under load
  3. Exploit
    Subquery receives shallow copy of view name pointer
  4. Execution
    Parent query evicted and freed by jostle logic
  5. Persist
    Subquery dereferences freed view name memory (use-after-free)
  6. Impact
    Heap corruption causes resolver crash (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 ALL four of the following non-default conditions to be simultaneously true: (1) Unbound is configured with the 'respip' or 'rpz' module; (2) a module capable of attaching subqueries is also active - specifically dns64, subnetcache, or respip CNAME redirection; (3) at least one 'access-control-view' directive is configured, which causes view name assignment to queries; and (4) the server is under sufficient query pressure that the jostle eviction mechanism activates and begins dropping slow queries. None of these conditions are present in a default Unbound installation. Exploitation is further limited by memory allocator behavior and heap layout at time of the free - the vendor explicitly states crash likelihood is low. No authentication is required from the attacker's perspective (DNS queries are unauthenticated), but the server-side configuration gates are the primary limiting factor for real-world exposure.

Impact

Real-world risk is meaningfully lower than the CVSS 5.9 score might imply in isolation. The AC:H vector metric correctly reflects that exploitation requires a highly specific and rare configuration intersection: respip/rpz modules active, a subquery-attaching module (dns64, subnetcache, or respip CNAME redirection) enabled, an access-control-view configured, and the server operating under sufficient query pressure to trigger jostle eviction. All four conditions must coincide. The vendor itself characterizes crash likelihood as low, contingent on memory allocator behavior and layout - introducing additional uncertainty that CVSS does not capture. No EPSS data was provided, and with no POC and no KEV listing, the exploitation probability signal is effectively neutral. SSVC assessment: exploitation status is 'none'; technical impact is partial (DoS only, no C/I impact); not trivially automatable due to load dependency. This is a real but operationally low-urgency issue for most deployments - highest priority for organizations running dns64 or RPZ with access-control-views on high-traffic resolvers.

Exploit ScenarioDerived

An attacker sends a sustained flood of DNS queries to a targeted Unbound resolver configured with RPZ/respip, dns64, and access-control-view, driving it into jostle-eviction mode under load. A subquery in flight holds a shallow pointer to a view name string whose parent query is simultaneously evicted and freed; the subquery's subsequent access to that freed memory region causes heap corruption. Depending on memory layout and allocator behavior, the resolver may crash (DoS) or silently continue with corrupted state - the vendor indicates a crash is the more likely of these outcomes.

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

Memory corruption via use-after-free in NLnet Labs Unbound 1.25.0-1.25.1 can cause a DNS resolver crash under specific, non-default configurations when the server is under load. The flaw originates from a regression introduced in a fix enabling 'respip' and 'dns64' module interoperability: subqueries receive a shallow copy of the active view name, and if the parent query is evicted (jostled) before the subquery completes, the dangling reference causes memory corruption. No public exploit code exists and no confirmed active exploitation (CISA KEV) has been identified; the vendor explicitly describes crash likelihood as low due to dependence on memory layout and allocator behavior.

RemediationAI

Consult the NLnet Labs vendor advisory at https://www.nlnetlabs.nl/downloads/unbound/CVE-2026-52863.txt for the exact patched release version; no patched version number was present in the available intelligence data, so upgrading to the latest stable release beyond 1.25.1 is the recommended primary action. If an immediate upgrade is not feasible, the vendor advisory outlines that the vulnerability requires concurrent presence of respip/rpz, a subquery-capable module, and access-control-view - disabling any one of these three configuration elements eliminates the vulnerable code path. Specifically, removing the dns64 module configuration or eliminating access-control-view directives from the Unbound configuration are the least disruptive workarounds, though each removes intended resolver functionality. Reducing query load via rate-limiting (e.g., ratelimit: and ratelimit-slabs: directives) may reduce the probability of jostle eviction, but does not eliminate the vulnerability. Running Unbound with ASAN or valgrind in staging can help detect the condition before production deployment.

Affected VersionsENISA

Unbound 1.25.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 is a validating, recursive DNS resolver maintained by NLnet Labs, widely deployed in ISPs and enterprise DNS infrastructure. The vulnerability (CWE-416: Use After Free) arises in the inter-module communication layer between 'respip'/'rpz' policy modules and modules that attach subqueries (dns64, respip CNAME redirection, subnetcache). When Unbound is under query load and jostle logic activates to drop slow queries, a parent query holding the authoritative reference to a view name string (selected via 'access-control-view') may be freed while a subquery holds a shallow pointer to that same string. The subsequent access to the freed memory region constitutes a classic use-after-free. CPE string cpe:2.3:a:nlnet_labs:unbound:*:*:*:*:*:*:*:* covers the affected range; precise affected versions are 1.25.0 and 1.25.1. Debug builds with memory sanitizers (e.g., ASAN) will immediately terminate the process, preventing silent corruption but causing a crash.

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 via DNS queries (AV:N), but AC:H due to required non-default config intersection and load dependency; availability-only impact with no C or I 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 4.8 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L
Red Hat 5.9 MEDIUM

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.25.0 up to and including 1.25.1, a fix that makes the 'respip' and 'dns64' modules work together, creates a shallow copy of the view name in effect that could lead to memory corruption if the owner of the original view name is jostled out when Unbound is under pressure. Unbound needs to be configured with one of 'respip'/'rpz' modules, together with a module that can attach subqueries (respip CNAME redirection, dns64, subnetcache) and a configured 'access-control-view' while Unbound is under pressure so that joslte logic kicks in and starts dropping slow queries. The subquery is getting a shallow copy of the view name and if the super query which owns the view name is jostled out, memory corruption can occur. Likelihood of a crash is low, since it relies heavily on the underlying memory allocator and the memory layout. Debug memory builds (e.g., ASAN) that catch the free terminate the server.

Threat Intelligence Overview

EPSS Score
0.4%
Top 71% exploitable
Prevalence
Medium
popular open-source DNS resolver in ISPs and enterprise infrastructure
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment MSRC Vendor 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 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
Yes
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

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

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.

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 Not-Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Not-Affected
SUSE Linux Enterprise Micro 5.5 Not-Affected
SUSE Linux Enterprise Module for Basesystem 15 SP7 Not-Affected

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