CVE-2026-40622

MEDIUM CVSS 4.0: 6.6 EPSS 0.14%
Updated Jul 24, 2026
Nlnetlabs
Parameter Value
CVSS 6.6 (MEDIUM)
Affected Versions 1.16.2 — 1.25.1
Fixed In 1.25.1
Type CWE-346 (Origin Validation Error)
Vendor Nlnetlabs
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
High
Complete data modification
Availability
None
No disruption

CVSS Vector v4.0

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Nlnetlabs Unbound
cpe:2.3:a:nlnetlabs:unbound:*:*:*:*:*:*:*:*
1.16.2 1.25.1