CVE-2026-40622: Vulnerability in NLnet Labs Unbound
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.
AI Analysis
Technical Summary
CVE-2026-40622 affects NLnet Labs Unbound DNS resolver versions 1.16.2 up to and including 1.25.0. The vulnerability belongs to the 'ghost domain names' family, where an attacker controlling a ghost zone can extend the ghost domain window by causing Unbound to overwrite cached expired parent NS referral records with child apex NS records. This extension can last up to one cached TTL value ('cache-max-ttl'). When 'harden-referral-path' is enabled, Unbound performs implicit queries that trigger this behavior without client interaction. The issue is fixed in Unbound 1.25.1 by disallowing TTL extension for parent NS records regardless of their trust level.
Potential Impact
An attacker controlling a ghost zone and able to query a vulnerable Unbound instance can extend the caching duration of certain DNS referral NS records, potentially affecting DNS resolution behavior for up to one additional TTL period. This could influence DNS cache poisoning or related DNS manipulation scenarios. The vulnerability does not require privileges or user interaction but does require control over a ghost zone and query access. No known exploits in the wild have been reported.
Mitigation Recommendations
Upgrade Unbound to version 1.25.1 or later, which contains a patch preventing TTL extension for parent NS records. Since the vendor advisory indicates the fix is included in 1.25.1, applying this official update is the recommended remediation. Patch status is confirmed by the vendor advisory. No alternative mitigations are indicated.
CVE-2026-40622: Vulnerability in NLnet Labs Unbound
Description
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.
CVSS v4.0
Score 6.6medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-40622 affects NLnet Labs Unbound DNS resolver versions 1.16.2 up to and including 1.25.0. The vulnerability belongs to the 'ghost domain names' family, where an attacker controlling a ghost zone can extend the ghost domain window by causing Unbound to overwrite cached expired parent NS referral records with child apex NS records. This extension can last up to one cached TTL value ('cache-max-ttl'). When 'harden-referral-path' is enabled, Unbound performs implicit queries that trigger this behavior without client interaction. The issue is fixed in Unbound 1.25.1 by disallowing TTL extension for parent NS records regardless of their trust level.
Potential Impact
An attacker controlling a ghost zone and able to query a vulnerable Unbound instance can extend the caching duration of certain DNS referral NS records, potentially affecting DNS resolution behavior for up to one additional TTL period. This could influence DNS cache poisoning or related DNS manipulation scenarios. The vulnerability does not require privileges or user interaction but does require control over a ghost zone and query access. No known exploits in the wild have been reported.
Mitigation Recommendations
Upgrade Unbound to version 1.25.1 or later, which contains a patch preventing TTL extension for parent NS records. Since the vendor advisory indicates the fix is included in 1.25.1, applying this official update is the recommended remediation. Patch status is confirmed by the vendor advisory. No alternative mitigations are indicated.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- NLnet Labs
- Date Reserved
- 2026-05-07T10:07:51.817Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a0d86fdba1db4736270ee56
Added to database: 05/20/2026, 10:03:41 UTC
Last enriched: 05/20/2026, 10:20:03 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 54
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.