CVE-2026-40622
Another 'ghost domain names' attack variant
Reported by nlnet labs · Published May 20, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| unbound-debuginfo | errata.rockylinux.org | 1.24.2-7.el10, 1.24.2-3.el9, 1.16.2-5.12.el8 |
| unbound-anchor-debuginfo | errata.rockylinux.org | 1.24.2-7.el10 |
| python3-unbound | errata.rockylinux.org | 1.24.2-7.el10, 1.24.2-3.el9, 1.16.2-5.12.el8 |
| unbound-libs | errata.rockylinux.org | 1.24.2-7.el10, 1.24.2-3.el9, 1.16.2-5.12.el8 |
| unbound-devel | errata.rockylinux.org | 1.24.2-7.el10, 1.24.2-3.el9, 1.16.2-5.12.el8 |
| unbound | errata.rockylinux.org | 1.24.2-7.el10, 1.24.2-3.el9, 1.16.2-5.12.el8 |
| unbound-libs-debuginfo | errata.rockylinux.org | 1.24.2-7.el10, 1.24.2-3.el9, 1.16.2-5.12.el8 |
| python3-unbound-debuginfo | errata.rockylinux.org | 1.24.2-7.el10, 1.24.2-3.el9, 1.16.2-5.12.el8 |
| unbound-debugsource | errata.rockylinux.org | 1.24.2-7.el10, 1.24.2-3.el9, 1.16.2-5.12.el8 |
| unbound-utils | errata.rockylinux.org | 1.24.2-7.el10 |
| unbound-utils-debuginfo | errata.rockylinux.org | 1.24.2-7.el10 |
| unbound-anchor | errata.rockylinux.org | 1.24.2-7.el10 |
10 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| NLnet Labs | Unbound | 1.16.2 |
| amazon:2023 | unbound-utils | 0 |
| amazon:2023 | unbound | 0 |
| amazon:2023 | unbound-devel | 0 |
| alpine | unbound | 0, 0 |
| amazon:2023 | unbound-libs | 0 |
| NLnet Labs | Unbound | 1.16.2 |
| amazon:2023 | python3-unbound | 0 |
| amazon:2023 | unbound-anchor | 0 |
Timeline
- May 19, 2026 CVE Published
- May 20, 2026 EPSS Score (24 in total, the first dated here)
- May 20, 2026 PoC Published (2 in total, the first dated here)
- May 21, 2026 Coalition ESS Score
- May 21, 2026 Security Advisory (15 in total, the first dated here)
- Aug 7, 2026 Distribution Patch (15 in total, the first dated here)
- Aug 10, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-40622
vulnetix vdb fixes CVE-2026-40622
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-40622/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart