CVE-2026-40622
CVE-2026-40622 · Another 'ghost domain names' attack variant
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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 6.6 · Medium · EPSS 0.1% · Fix available
- Published
- Updated
Stack: system
Affected products and versions
unbound
- Versions
- ≥ 1.16.2, < 1.25.1: Affected (semver)
Update to 1.25.1
unbound Debian:12
- Versions
- 1.17.1-2
- 1.17.1-2+deb12u1
- 1.17.1-2+deb12u2
- 1.17.1-2+deb12u3
- 1.17.1-2+deb12u4
- 1.17.1-2+loong64
- 1.18.0-1
- 1.18.0-2
- 1.19.1-1
- 1.19.2-1
- 1.20.0-1
- 1.21.1-1
- 1.22.0-1
- 1.22.0-2
- 1.23.1-1
- 1.24.0-1
- 1.24.0-2
- 1.24.1-1
- 1.24.1-2
- 1.24.2-1
- 1.25.0-1
- 1.25.1-1
- 1.25.2-1
- 1.26.0-1
- 1.26.0-2
- 1.26.1-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
unbound Debian:13
- Versions
- 1.22.0-2
- 1.22.0-2+deb13u1
- 1.22.0-2+deb13u2
- 1.22.0-2+deb13u3
- 1.23.1-1
- 1.24.0-1
- 1.24.0-2
- 1.24.1-1
- 1.24.1-2
- 1.24.2-1
- 1.25.0-1
- 1.25.1-1
- 1.25.2-1
- 1.26.0-1
- 1.26.0-2
- Affected ranges
- ECOSYSTEM: < 1.26.1-0+deb13u1
Update to 1.26.1-0+deb13u1
unbound Debian:14
- Versions
- 1.22.0-2
- 1.23.1-1
- 1.24.0-1
- 1.24.0-2
- 1.24.1-1
- 1.24.1-2
- 1.24.2-1
- 1.25.0-1
- 1.25.1-1
- Affected ranges
- ECOSYSTEM: < 1.25.2-1
Update to 1.25.2-1
unbound Ubuntu:Pro:16.04:LTS
- Versions
- 1.4.22-1ubuntu6
- 1.5.7-1ubuntu1
- 1.5.7-1ubuntu2
- 1.5.8-1ubuntu1
- 1.5.8-1ubuntu1.1
- 1.5.8-1ubuntu1.1+esm1
- 1.5.8-1ubuntu1.1+esm2
- 1.5.8-1ubuntu1.1+esm3
- 1.5.8-1ubuntu1.1+esm4
- 1.5.8-1ubuntu1.1+esm5
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
unbound Ubuntu:24.04:LTS
- Versions
- 1.17.1-2
- 1.18.0-2ubuntu1
- 1.18.0-2ubuntu2
- 1.19.1-1ubuntu1
- 1.19.2-1ubuntu1
- 1.19.2-1ubuntu3
- 1.19.2-1ubuntu3.1
- 1.19.2-1ubuntu3.2
- 1.19.2-1ubuntu3.3
- 1.19.2-1ubuntu3.4
- 1.19.2-1ubuntu3.5
- 1.19.2-1ubuntu3.6
- 1.19.2-1ubuntu3.7
- Affected ranges
- ECOSYSTEM: < 1.19.2-1ubuntu3.8
Update to 1.19.2-1ubuntu3.8
unbound Ubuntu:25.10
- Versions
- 1.22.0-1ubuntu1
- 1.22.0-2ubuntu1
- 1.22.0-2ubuntu2
- 1.22.0-2ubuntu2.1
- 1.22.0-2ubuntu2.2
- Affected ranges
- ECOSYSTEM: < 1.22.0-2ubuntu2.3
Update to 1.22.0-2ubuntu2.3
unbound Ubuntu:26.04:LTS
- Versions
- 1.22.0-2ubuntu2
- 1.22.0-2ubuntu4
- 1.24.2-1ubuntu1
- 1.24.2-1ubuntu2
- Affected ranges
- ECOSYSTEM: < 1.24.2-1ubuntu2.1
Update to 1.24.2-1ubuntu2.1