Skip to main content

NLnet Labs Unbound CVE-2026-33278

| EUVDEUVD-2026-31075 CRITICAL
Use After Free (CWE-416)
2026-05-20 sep@nlnetlabs.nl GHSA-m234-r435-cxjw
9.1
CVSS 4.0 · Vendor: nlnetlabs
View

Attack ChainAIDerived

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

  1. Recon
    Attacker hosts malicious signed zone
  2. Delivery
    Induces victim Unbound to query zone
  3. Exploit
    Crafted NSEC3 exhausts validator budget
  4. Install
    DS sub-query suspends and deep-copies response
  5. C2
    Struct assignment leaves dangling pointer after region free
  6. Execute
    Validator resumes and dereferences freed memory
  7. Impact
    Resolver crash or arbitrary code execution

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

Target must be running NLnet Labs Unbound between 1.19.1 and 1.25.0 inclusive with DNSSEC validation enabled (the default for the validator module) and must be reachable for recursion from a host that can cause it to query an attacker-controlled signed zone - either an open resolver, or any deployment where the attacker can indirectly induce a name lookup (web content, email, internal client compromise). The specific code path requires that a DS sub-query suspend validation due to NSEC3 hash-iteration budget exhaustion, which the attacker controls by crafting the malicious zone's NSEC3 parameters. Limiting factors: resolvers with DNSSEC validation disabled, or resolvers restricted to a small set of trusted authoritative zones, are not exposed; successful arbitrary code execution (versus crash) additionally requires heap-layout control that the advisory does not confirm has been demonstrated.

Impact

The CVSS 4.0 vector AV:N/AC:L/AT:N/PR:N/UI:N with High impact across confidentiality, integrity, and availability - including subsequent-system scope - accurately reflects that a remote, unauthenticated adversary who can induce a target Unbound to query an attacker-controlled authoritative zone can reliably trigger the bug. The vector's E:U (exploit maturity: unreported) and the absence of CISA KEV listing or any public PoC reference suggest the issue is currently theoretical-but-credible rather than under active exploitation. EPSS data was not provided in the input, so probabilistic exploitation likelihood cannot be quoted. The U:Red urgency tag set by the reporter and the vendor's own characterization of possible RCE elevate this above a routine DoS issue, though weaponizing a use-after-free in libc-managed memory across the asynchronous Unbound mainloop is non-trivial and most real-world exploitation is likely to manifest as resolver crashes (denial of service) rather than code execution.

Exploit ScenarioDerived

An adversary registers or compromises an authoritative DNS zone, signs it with crafted NSEC3 parameters tuned to exhaust the resolver's computational budget, and induces a target Unbound - for example by embedding a unique subdomain in an email link, web resource, or any query that the victim resolver will recursively follow - to query that zone. The resulting DS sub-query suspension triggers the buggy deep copy, and when the validator resumes it dereferences the dangling pointer, crashing the daemon (denial of service for every downstream client) or, with sufficient heap-grooming control over the freed region, potentially executing attacker-supplied code in the Unbound process context. No public proof-of-concept is identified at time of analysis.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
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 – May 20, 2026

Use-after-free in the DNSSEC validator of NLnet Labs Unbound resolver versions 1.19.1 through 1.25.0 allows remote attackers to crash the daemon or potentially achieve arbitrary code execution by serving a malicious signed zone to a vulnerable resolver. The flaw stems from a struct-assignment bug during deep copying of response messages when DS sub-queries suspend validation under NSEC3 computational budget exhaustion. No public exploit identified at time of analysis, but the CVSS 4.0 score of 9.1 with network attack vector and no required privileges or user interaction makes this a high-priority patching target for any operator running a recursive Unbound resolver.

RemediationAI

Vendor-released patch: upgrade to Unbound 1.25.1, which corrects the struct-assignment bug to preserve the correct destination pointer during deep copy of response messages; see https://www.nlnetlabs.nl/downloads/unbound/CVE-2026-33278.txt for the official advisory. Operators who cannot upgrade immediately can reduce exposure by disabling DNSSEC validation (set module-config to omit 'validator') - this fully avoids the vulnerable code path but eliminates DNSSEC protections, leaving the resolver vulnerable to cache poisoning and downgrade attacks, so it is only acceptable as a short-term measure. Tightening which clients may issue recursive queries (access-control to trusted networks only) prevents external attackers from steering Unbound toward an arbitrary attacker-controlled zone, though it does not protect against malicious internal users or compromised hosts within the trusted range. Where downstream OS packages have not yet been rebuilt, monitor distribution security trackers and apply the vendor package as soon as it is published.

Affected VersionsENISA

Unbound 1.19.1 <1.25.1

Affected Packages

euvd unbound fix: 1.25.1

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 widely deployed validating, recursive, caching DNS resolver maintained by NLnet Labs and is commonly used as the upstream resolver in Linux distributions, BSDs, and embedded networking gear. The defect is a CWE-416 Use-After-Free in the DNSSEC validation path: when a DS sub-query must suspend validation because the NSEC3 hash-iteration computational budget (a mitigation introduced in 1.19.1 to defend against KeyTrap-style hash exhaustion attacks) is exceeded, Unbound deep-copies the in-flight response message to preserve it across memory-region teardown. A struct assignment in the deep-copy routine inadvertently overwrites the destination's freshly allocated pointer with the source pointer that lives in the sub-query's memory region; once that region is freed, the parent validator dereferences a dangling pointer.

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 (nlnetlabs) PRIMARY 9.1 CRITICAL
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:U/U:Red
SUSE 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat 8.1 HIGH

Primary rating from Vendor (nlnetlabs).

CVSS VectorVendor: nlnetlabs

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

Lifecycle Timeline

1
Patch available
May 20, 2026 - 11:02 EUVD

DescriptionCVE.org

NLnet Labs Unbound 1.19.1 up to and including version 1.25.0 has a vulnerability in the DNSSEC validator that enables denial of service and possible remote code execution as a result of deep copying a data structure and erroneously overwriting a destination pointer. An adversary can exploit the vulnerability by controlling a malicious signed zone and querying a vulnerable Unbound. When DS sub-queries need to suspend validation due to NSEC3 computational budget exhaustion (introduced in Unbound 1.19.1), Unbound deep-copies response messages to preserve them across memory region teardown. A struct-assignment bug overwrites the destination's pointer with the source's pointer. After the sub-query region is freed, the resumed validator dereferences this dangling pointer, triggering a crash or potentially enabling arbitrary code execution. Unbound 1.25.1 contains a patch with a fix to preserve the correct pointer when deep copying the data structure.

Executive ViewAI

Why It Matters

NLnet Labs Unbound DNS resolver (versions 1.19.1-1.25.0) contains a critical vulnerability enabling remote attackers to crash the resolver or execute arbitrary code on affected systems. Organizations operating these versions face immediate risk of DNS service disruption and potential system compromise. This directly impacts any infrastructure dependent on Unbound for DNS resolution, particularly recursive resolver deployments processing external zone queries.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict zone transfer and recursive query sources to trusted networks via firewall rules and resolver ACLs; (2) Implement query rate limiting on recursive resolvers; (3) Disable DNSSEC validation on untrusted zone paths if operationally feasible; (4) Monitor resolver process stability and DNSSEC logs for crash signatures or processing anomalies; (5) Maintain current system backups and restore procedures; (6) Consider temporary rollback to version 1.19.0 or earlier for critical resolvers if patch remains unavailable beyond 30 days.

Threat Intelligence Overview

EPSS Score
0.4%
Top 41% exploitable
Data Quality
7 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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
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
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

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

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

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

CVE-2026-80225 HIGH
7.5 Sep 16

Degradation of service in NLnet Labs Unbound up to and including 1.26.0 allows an unauthenticated remote attacker to mon

Vendor StatusVendor

SUSE

Severity: Critical
Product Status
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS Affected
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS Affected
SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS Affected
SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS Affected
SUSE Linux Enterprise Micro 5.5 Affected

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