Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.1%top 97%

CVE-2026-40622: Vulnerability in NLnet Labs Unbound

0
Medium
VulnerabilityCVE-2026-40622cvecve-2026-40622
Published: 05/20/2026 (05/20/2026, 09:18:41 UTC)
Source: CVE Database V5
Vendor/Project: NLnet Labs
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
High
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

GitHub Actionsmore threats →ai
nlnetlabs/unbound
pkg:github/nlnetlabs/unbound
Affected versions
=1.16.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/20/2026, 10:20:03 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses