Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAcquire control of ghost/lapsed DNS zone
-
DeliveryPosition as querying client to vulnerable Unbound resolver
-
ExploitSend crafted A/AAAA query (or rely on implicit lookup if harden-referral-path: yes)
-
ExecutionTrigger overwrite of expired cached parent-side glue RRset
-
PersistGhost domain TTL window extended by up to cache-max-ttl
-
ImpactClients receive stale adversary-influenced DNS responses
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Operation on resource after expiration or release
|
| Exploitation Conditions | The attacker must control a ghost DNS zone - a domain whose parent-zone NS delegation has expired or been removed - and must either (a) be able to send A/AAAA queries to the targeted Unbound resolver directly or through a client, or (b) target a resolver running the non-default harden-referral-path: yes configuration, in which case no query is required because Unbound performs the lookup implicitly. Exploitation is blocked by strict ACL policies on the resolver (access-control directives that deny queries from untrusted sources) and by prompt expiry of cached glue records in patched versions. The exploit requires a specific timing window where the parent-side glue has expired locally but the ghost zone infrastructure remains reachable. Authentication is not required per the PR:N CVSS metric, but zone control is a significant non-trivial precondition. |
| Impact | The NVD CVSS 3.1 score of 3.7 (Low) with vector AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N accurately reflects the constrained real-world risk. AC:H captures the meaningful prerequisite of controlling a ghost DNS zone, which is a non-trivial operational requirement. The impact is limited to DNS integrity (I:L) - no confidentiality exposure and no availability disruption. No EPSS score was provided in the source intelligence, so exploitation probability cannot be quantified. No CISA KEV listing exists and no POC has been reported, making current exploitation unlikely at scale. The harden-referral-path: yes configuration creates a worse-case scenario (passive exploitation, no client trigger) but is explicitly non-default, limiting blast radius to intentionally hardened deployments. The primary real-world risk is targeted DNS cache manipulation in scenarios where an adversary has already established control of a lapsed or ghost domain - a precondition that materially limits opportunistic exploitation compared to the raw network-reachable CVSS surface. |
| Exploit ScenarioDerived | An adversary registers or takes control of a ghost domain (one whose parent-zone delegation has been withdrawn) and issues a crafted A/AAAA query to a vulnerable Unbound resolver that previously cached referral data for that domain. The resolver overwrites its internally cached but expired parent-side glue record with a refreshed TTL, causing subsequent queries from legitimate clients to receive stale or adversary-influenced DNS responses for up to one additional cache-max-ttl period. On resolvers configured with harden-referral-path: yes, the adversary does not even need to submit a client query - Unbound's implicit A/AAAA lookup during referral path hardening performs the overwrite automatically. No POC has been identified. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 22, 2026
Ghost domain name cache extension in Unbound DNS resolver 1.16.2 through 1.25.1 allows a network-based adversary who controls a ghost zone to overwrite cached expired parent-side A/AAAA glue records, extending the effective ghost domain window by up to one full cache-max-ttl period beyond expiry. A single crafted A/AAAA client query is sufficient to trigger the overwrite; on resolvers using the non-default harden-referral-path: yes directive, Unbound performs the lookup implicitly with no client query required at all. This is a variant of CVE-2026-40622, which addressed only the NS query path - no public exploit has been identified at time of analysis and no CISA KEV listing exists.
RemediationAI
Administrators should consult the NLnet Labs advisory at https://www.nlnetlabs.nl/downloads/unbound/CVE-2026-42955.txt for the exact patched release and upgrade Unbound to the version specified therein; an exact fix version was not independently confirmed from the provided intelligence and should be verified directly from the vendor. Where immediate patching is not feasible, restrict recursive query access to trusted clients only using Unbound's access-control directive - this prevents adversary-controlled clients from submitting the A/AAAA queries that trigger the cache overwrite. If harden-referral-path: yes is configured, reverting to the default (no) eliminates the passive exploitation path at the cost of reduced referral path hardening, which is a trade-off that may be acceptable in low-risk environments. Rate-limiting or blocking queries referencing known ghost or recently-expired domains via RPZ (Response Policy Zones) can also reduce exposure with minimal service impact.
Affected VersionsENISA
Affected Packages
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
CWE-672 ('Operation on a Resource after Expiration or Release') captures the root cause: Unbound operates on DNS cache entries - specifically parent-side A/AAAA glue records - after those entries have logically expired, refreshing their TTL rather than discarding them. The ghost domain attack family exploits the gap between when a domain's delegation is withdrawn at the parent zone and when downstream resolvers expire their cached referral data. This variant specifically targets the A/AAAA glue record path, which CVE-2026-40622's fix left unaddressed (that fix only covered NS queries). The affected CPE is cpe:2.3:a:nlnet_labs:unbound:*:*:*:*:*:*:*:* for versions 1.16.2 to 1.25.1. Unbound is a validating, recursive, caching DNS resolver developed by NLnet Labs and is widely deployed as a security-hardened alternative to BIND.
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
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
AC:H reflects mandatory ghost zone control; I:L captures DNS resolution integrity corruption; C:N and A:N as no data disclosure or service disruption occurs.
Primary rating from Vendor (NLnet Labs).
CVSS VectorVendor: NLnet Labs
Lifecycle Timeline
1DescriptionCVE.org
In NLnet Labs Unbound 1.16.2 up to and including 1.25.1, a similar vulnerability as with CVE-2026-40622 in the 'ghost domain names' family of attacks was found in Unbound that could extend the ghost domain window by up to one cached TTL configured value for A/AAAA glue records. 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 A/AAAA query can cause Unbound to overwrite the cached expired parent-side glue 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 query is required since Unbound implicitly performs that query. This is a variant of CVE-2026-40622 which only addressed the NS query.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Unbound 1.6.4 through 1.9.4 contain a vulnerability in the ipsec module that can cause shell code execution after receiv
A crafted DNSKEY whose owner name is a compression pointer into its own RDATA overflows the digest buffer in the DNSSEC
Use-after-free in the DNSSEC validator of NLnet Labs Unbound resolver versions 1.19.1 through 1.25.0 allows remote attac
Remote denial of service in NLnet Labs Unbound recursive DNS resolver (versions up to and including 1.25.0) allows an at
Heap overflow denial-of-service in NLnet Labs Unbound recursive DNS resolver versions 1.14.0 through 1.25.0 allows remot
Heap-based memory corruption in NLnet Labs Unbound up to and including 1.26.0 lets a remote, unauthenticated attacker wh
Unbound before 1.9.4 accesses uninitialized memory, which allows remote attackers to trigger a crash via a crafted NOTIF
Remote denial of service in NLnet Labs Unbound 1.22.0 through 1.25.1 lets an unauthenticated client exhaust configured m
Remote denial-of-service in NLnet Labs Unbound 1.23.0 through 1.25.1 lets an attacker who controls a delegated DNS zone
Remote denial-of-service in NLnet Labs Unbound 1.9.0 through 1.25.1 allows an unauthenticated attacker to crash the recu
Heap buffer overflow in NLnet Labs Unbound 1.26.0 and earlier can be triggered when a resolver processing a large TCP-fr
Denial-of-service through algorithmic complexity attacks in NLnet Labs Unbound up to and including 1.26.0 can degrade or
EUVD-2026-47666
GHSA-2pwm-327c-rq4r
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB