CVE-2026-40622

Name
CVE-2026-40622
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.
NVD Severity
unknown
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
sep@nlnetlabs.nl https://www.nlnetlabs.nl/downloads/unbound/CVE-2026-40622.txt

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:nlnetlabs:unbound:*:*:*:*:*:*:*:* unbound >= 1.16.2 < 1.25.1

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
unbound edge-main 1.25.1-r0 Jakub Jirutka <jakub@jirutka.cz> fixed
unbound edge-main 1.25.0-r0 Jakub Jirutka <jakub@jirutka.cz> possibly vulnerable
unbound edge-main 1.24.2-r1 Jakub Jirutka <jakub@jirutka.cz> possibly vulnerable
unbound edge-main 1.24.2-r0 Jakub Jirutka <jakub@jirutka.cz> possibly vulnerable
unbound edge-main 1.24.1-r0 Jakub Jirutka <jakub@jirutka.cz> possibly vulnerable
unbound edge-main 1.24.0-r0 Jakub Jirutka <jakub@jirutka.cz> possibly vulnerable
unbound edge-main 1.23.1-r1 Jakub Jirutka <jakub@jirutka.cz> possibly vulnerable
unbound edge-main 1.23.1-r0 Jakub Jirutka <jakub@jirutka.cz> possibly vulnerable
unbound edge-main 1.23.0-r2 Jakub Jirutka <jakub@jirutka.cz> possibly vulnerable
unbound edge-main 1.23.0-r1 Jakub Jirutka <jakub@jirutka.cz> possibly vulnerable
unbound edge-main 1.23.0-r0 Jakub Jirutka <jakub@jirutka.cz> possibly vulnerable
unbound edge-main 1.22.0-r0 Jakub Jirutka <jakub@jirutka.cz> possibly vulnerable
unbound edge-main 1.21.1-r0 Jakub Jirutka <jakub@jirutka.cz> possibly vulnerable
unbound edge-main 1.20.0-r0 Jakub Jirutka <jakub@jirutka.cz> possibly vulnerable
unbound edge-main 1.19.2-r0 Jakub Jirutka <jakub@jirutka.cz> possibly vulnerable
unbound edge-main 1.19.1-r0 Jakub Jirutka <jakub@jirutka.cz> possibly vulnerable
unbound edge-main 1.16.3-r0 Jakub Jirutka <jakub@jirutka.cz> possibly vulnerable
unbound edge-main 1.16.2-r0 Jakub Jirutka <jakub@jirutka.cz> possibly vulnerable
unbound 3.23-main 1.24.2-r0 Jakub Jirutka <jakub@jirutka.cz> possibly vulnerable
unbound 3.22-main 1.23.1-r1 Jakub Jirutka <jakub@jirutka.cz> possibly vulnerable
unbound 3.22-main 1.23.1-r0 Jakub Jirutka <jakub@jirutka.cz> possibly vulnerable
unbound 3.22-main 1.23.0-r2 Jakub Jirutka <jakub@jirutka.cz> possibly vulnerable
unbound 3.22-main 1.21.1-r0 None possibly vulnerable
unbound 3.22-main 1.20.0-r0 None possibly vulnerable
unbound 3.22-main 1.19.2-r0 None possibly vulnerable
unbound 3.22-main 1.19.1-r0 None possibly vulnerable
unbound 3.22-main 1.16.3-r0 None possibly vulnerable
unbound 3.22-main 1.16.2-r0 None possibly vulnerable
unbound 3.21-main 1.22.0-r1 Jakub Jirutka <jakub@jirutka.cz> possibly vulnerable
unbound 3.21-main 1.22.0-r0 Jakub Jirutka <jakub@jirutka.cz> possibly vulnerable
unbound 3.21-main 1.21.1-r0 None possibly vulnerable
unbound 3.21-main 1.20.0-r0 None possibly vulnerable
unbound 3.21-main 1.19.2-r0 None possibly vulnerable
unbound 3.21-main 1.19.1-r0 None possibly vulnerable
unbound 3.21-main 1.16.3-r0 None possibly vulnerable
unbound 3.21-main 1.16.2-r0 None possibly vulnerable
unbound 3.20-main 1.20.0-r2 Jakub Jirutka <jakub@jirutka.cz> possibly vulnerable
unbound 3.20-main 1.20.0-r1 Jakub Jirutka <jakub@jirutka.cz> possibly vulnerable
unbound 3.20-main 1.20.0-r0 Jakub Jirutka <jakub@jirutka.cz> possibly vulnerable
unbound 3.20-main 1.19.2-r0 None possibly vulnerable
unbound 3.20-main 1.19.1-r0 None possibly vulnerable
unbound 3.20-main 1.16.3-r0 None possibly vulnerable
unbound 3.20-main 1.16.2-r0 None possibly vulnerable
unbound 3.19-main 1.20.0-r2 Jakub Jirutka <jakub@jirutka.cz> possibly vulnerable
unbound 3.19-main 1.20.0-r1 Jakub Jirutka <jakub@jirutka.cz> possibly vulnerable
unbound 3.19-main 1.20.0-r0 Jakub Jirutka <jakub@jirutka.cz> possibly vulnerable
unbound 3.19-main 1.19.2-r0 Jakub Jirutka <jakub@jirutka.cz> possibly vulnerable
unbound 3.19-main 1.19.1-r0 Jakub Jirutka <jakub@jirutka.cz> possibly vulnerable
unbound 3.19-main 1.16.3-r0 None possibly vulnerable
unbound 3.19-main 1.16.2-r0 None possibly vulnerable