Skip to main content

Unbound DNS EUVDEUVD-2026-31080

| CVE-2026-40622 MEDIUM
Origin Validation Error (CWE-346)
2026-05-20 sep@nlnetlabs.nl GHSA-m3vq-fgh9-hq65
6.6
CVSS 4.0 · Vendor: nlnetlabs
View

Attack ChainAIDerived

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

  1. Access
    Adversary acquires or takes over expired ghost zone with active child DNS
  2. Delivery
    Operate authoritative name servers for ghost zone
  3. Exploit
    Send single NS query to reachable vulnerable Unbound resolver (or rely on harden-referral-path to trigger internally)
  4. Execution
    Unbound overwrites expired parent-side referral NS rrset with child apex NS rrset
  5. Persist
    Cache TTL reset up to cache-max-ttl value
  6. Impact
    DNS clients resolve expired domain to attacker infrastructure for extended window

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Origin validation
Exploitation Conditions

Two conditions must be met for default-configuration exploitation: first, the adversary must control a ghost zone - a domain whose parent-level delegation has expired at the registry or registrar level while the child-side authoritative DNS infrastructure remains operational under adversary control; second, the adversary must be able to send at least one NS query to the target Unbound resolver, which requires network-level reachability to the resolver. In the non-default configuration where 'harden-referral-path: yes' is explicitly set, the second condition is eliminated - Unbound itself issues the triggering NS query as part of its referral path hardening logic, requiring only that the ghost zone is encountered during normal recursive resolution. Exploitation is bounded by the need for adversary zone control (a non-trivial operational prerequisite requiring domain registration or takeover), and by the fact that the vulnerability extends rather than creates a ghost domain window - the domain must already be in an expired delegation state. Per the CVSS vector (PR:N), no authentication to the resolver is required. No special platform, OS, or compile-time flag beyond the 'harden-referral-path' configuration note above is documented as required.

Impact

The CVSS 4.0 score of 6.6 reflects a network-reachable (AV:N), low-complexity (AC:L) attack requiring no privileges (PR:N) and no user interaction (UI:N), with a high integrity impact on DNS resolution (VI:H) and no direct confidentiality or availability impact. The Exploit Maturity modifier E:U ('Unreported') and the absence of a CISA KEV listing both indicate no confirmed active exploitation at time of analysis; no public proof-of-concept code is known. EPSS data was not provided in the source intelligence. Despite the CVSS base score of 6.6 appearing moderate, the real-world risk is material for any organization using Unbound as a recursive resolver where DNS integrity is operationally critical, since ghost domain persistence can redirect clients to attacker-controlled infrastructure for an extended period. A notable discrepancy: the vulnerability tag supplied is 'Information Disclosure', which does not align with the CVSS impact metrics (VC:N, VI:H, VA:N); the primary confirmed impact is DNS integrity compromise, though ghost domain redirection can indirectly expose DNS query traffic and client activity to attacker-controlled authoritative servers, which may explain the tag. The 'Amber' urgency rating in the CVSS supplemental metadata suggests the vendor considers this important but not emergency-level. The prerequisite of adversary zone control meaningfully constrains opportunistic mass exploitation compared to vulnerabilities with no such prerequisite.

Exploit ScenarioDerived

An attacker registers or otherwise gains operational control of a ghost zone - a domain whose parent-level delegation (at the registry or registrar) has expired but whose child-side authoritative DNS servers remain active and under attacker control. The attacker sends a single NS query for that zone to a vulnerable Unbound resolver reachable over the network; Unbound fetches the child-side apex NS rrset and incorrectly uses it to overwrite the stale parent-side referral in its cache, resetting the effective TTL up to the 'cache-max-ttl' value. DNS clients querying Unbound subsequently resolve the expired domain to attacker-controlled IP addresses for the duration of the extended TTL. On resolvers configured with 'harden-referral-path: yes', no explicit attacker-sent query is required - Unbound's own referral hardening mechanism internally issues the triggering NS lookup, making exploitation entirely passive from the network perspective once the ghost zone is established.

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

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

Alert me

AnalysisAIv1 – May 20, 2026

Ghost domain name extension in NLnet Labs Unbound 1.16.2 through 1.25.0 allows an adversary controlling an expired ghost zone to artificially prolong its resolvability by causing Unbound to overwrite the cached parent-side referral NS rrset with the child-side apex NS rrset, extending the ghost domain window by up to one full cache-max-ttl interval. The attack requires the adversary to control the target ghost zone and issue a single NS query to a vulnerable resolver; in non-default configurations using 'harden-referral-path: yes', no external query is needed as Unbound performs the triggering lookup internally. No public exploit identified at time of analysis and no CISA KEV listing exists; the CVSS 4.0 Exploit Maturity is rated 'Unreported', though the integrity impact on DNS resolution is high (VI:H) and represents a meaningful trust boundary violation.

RemediationAI

Upgrade to Unbound 1.25.1, which contains a patch that prevents TTL extension of parent NS records regardless of trust level, as confirmed by the NLnet Labs advisory at https://www.nlnetlabs.nl/downloads/unbound/CVE-2026-40622.txt. If immediate upgrade is not feasible, lowering the 'cache-max-ttl' configuration value reduces the maximum ghost domain extension window - the trade-off is reduced cache efficiency and increased upstream query load. For resolvers where 'harden-referral-path: yes' is already configured, reverting this setting to the default (disabled) restores the requirement for an external client NS query as a trigger, marginally reducing the attack surface by removing the passive exploitation path; however, this weakens referral path validation and should only be considered as a temporary compensating measure. Restricting resolver query access via firewall rules to trusted internal clients limits an external adversary's ability to send the triggering NS query, though it does not eliminate the vulnerability and does not help in 'harden-referral-path: yes' deployments. Organizations should treat all three workarounds as temporary mitigations pending the upgrade to 1.25.1.

Affected VersionsENISA

Unbound 1.16.2 <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, and caching DNS resolver maintained by NLnet Labs, commonly used in ISP, enterprise, and open-resolver environments. This vulnerability belongs to the 'ghost domain names' family of DNS cache manipulation attacks, wherein an adversary causes a caching resolver to continue serving records for a domain whose parent delegation has expired. The specific root cause is that Unbound incorrectly permits a child-side apex NS rrset - received in response to an NS query - to overwrite the cached parent-side referral NS rrset even when the parent record has already expired. Since the child-side answer resets the cache TTL up to the configured 'cache-max-ttl' ceiling, the expired delegation effectively receives a TTL extension and the domain remains resolvable beyond its legitimate lifetime. In the non-default hardening mode 'harden-referral-path: yes', Unbound proactively validates referral paths by issuing NS queries itself, meaning the triggering lookup occurs without any external client involvement. No CWE is formally assigned, but this aligns conceptually with CWE-346 (Origin Validation Error) and CWE-706 (Use of Incorrectly-Resolved Name or Reference) in the context of DNS trust hierarchies.

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 6.6 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Amber
SUSE 5.9 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Red Hat 7.5 MEDIUM

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
None
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

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

DescriptionCVE.org

NLnet Labs Unbound 1.16.2 up to and including version 1.25.0 has a vulnerability of the 'ghost domain names' family of attacks that could extend the ghost domain window by up to one cached TTL configured value. Similar to other 'ghost domain names' attacks, an adversary needs to control a (ghost) zone and be able to query a vulnerable Unbound. A single client NS query can cause Unbound to overwrite the cached expired parent-side referral NS rrset with the child-side apex NS rrset and essentially extend the ghost domain window by up to one cached TTL configured value ('cache-max-ttl'). In configurations where 'harden-referral-path: yes' is used (non-default configuration), no client NS query is required since Unbound implicitly performs that query. Unbound 1.25.1 contains a patch with a fix that does not allow extension of TTLs for (parent) NS records regardless of their trust.

Threat Intelligence Overview

EPSS Score
0.0%
Top 87% exploitable
Social Media
2
Sightings
Data Quality
7 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.0%
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

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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