Vulnerability · Published May 20, 2026 · Assigned by NLnet Labs

CVE-2026-40622Another 'ghost domain names' attack variant

Medium 6.6

In plain English

A medium-severity security flaw in Unbound from NLnet Labs. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 4% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)6.6Medium
Exploit odds (30 days)0.1%top 96.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:10python3-unbound1.24.2-7.el10_2.2ALSA-2026:36320
AlmaLinux:8python3-unbound1.16.2-5.12.el8_10ALSA-2026:37282
AlmaLinux:9python3-unbound1.24.2-3.el9_8.2ALSA-2026:36777
AlmaLinux:10unbound1.24.2-7.el10_2.2ALSA-2026:36320
AlmaLinux:8unbound1.16.2-5.12.el8_10ALSA-2026:37282
AlmaLinux:9unbound1.24.2-3.el9_8.2ALSA-2026:36777
AlmaLinux:10unbound-anchor1.24.2-7.el10_2.2ALSA-2026:36320
AlmaLinux:10unbound-devel1.24.2-7.el10_2.2ALSA-2026:36320
AlmaLinux:8unbound-devel1.16.2-5.12.el8_10ALSA-2026:37282
AlmaLinux:9unbound-devel1.24.2-3.el9_8.2ALSA-2026:36777
AlmaLinux:10unbound-dracut1.24.2-7.el10_2.2ALSA-2026:36320
AlmaLinux:9unbound-dracut1.24.2-3.el9_8.2ALSA-2026:36777
AlmaLinux:10unbound-libs1.24.2-7.el10_2.2ALSA-2026:36320
AlmaLinux:8unbound-libs1.16.2-5.12.el8_10ALSA-2026:37282
AlmaLinux:9unbound-libs1.24.2-3.el9_8.2ALSA-2026:36777
AlmaLinux:10unbound-utils1.24.2-7.el10_2.2ALSA-2026:36320
Alpine:v3.22unbound1.25.2-r0ALPINE-CVE-2026-40622
Alpine:v3.23unbound1.25.2-r0ALPINE-CVE-2026-40622
Alpine:v3.24unbound1.25.1-r0ALPINE-CVE-2026-40622
Debian:12unboundno fix listedDEBIAN-CVE-2026-40622
Debian:13unbound1.26.1-0+deb13u1DEBIAN-CVE-2026-40622
Debian:14unbound1.25.2-1DEBIAN-CVE-2026-40622
Rocky Linux:10unbound0:1.24.2-7.el10_2.2RLSA-2026:36320
Rocky Linux:8unbound0:1.16.2-5.12.el8_10RLSA-2026:37282
Rocky Linux:9unbound0:1.24.2-3.el9_8.2RLSA-2026:36777
Ubuntu:24.04:LTSunbound1.19.2-1ubuntu3.8UBUNTU-CVE-2026-40622
Ubuntu:25.10unbound1.22.0-2ubuntu2.3UBUNTU-CVE-2026-40622
Ubuntu:26.04:LTSunbound1.24.2-1ubuntu2.1UBUNTU-CVE-2026-40622

Affected products (as reported)

VendorProductVersions
NLnet Labs Unbound 1.16.2 – before 1.25.1

Weakness: CWE-346 · Vector: 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

References