VDB

CVE-2026-40622

CVE-2026-40622 PUBLISHED CVSS 6.6 MEDIUM

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.

PackageEcosystemFixed in
unbound-debuginfoerrata.rockylinux.org1.24.2-7.el10, 1.24.2-3.el9, 1.16.2-5.12.el8
unbound-anchor-debuginfoerrata.rockylinux.org1.24.2-7.el10
python3-unbounderrata.rockylinux.org1.24.2-7.el10, 1.24.2-3.el9, 1.16.2-5.12.el8
unbound-libserrata.rockylinux.org1.24.2-7.el10, 1.24.2-3.el9, 1.16.2-5.12.el8
unbound-develerrata.rockylinux.org1.24.2-7.el10, 1.24.2-3.el9, 1.16.2-5.12.el8
unbounderrata.rockylinux.org1.24.2-7.el10, 1.24.2-3.el9, 1.16.2-5.12.el8
unbound-libs-debuginfoerrata.rockylinux.org1.24.2-7.el10, 1.24.2-3.el9, 1.16.2-5.12.el8
python3-unbound-debuginfoerrata.rockylinux.org1.24.2-7.el10, 1.24.2-3.el9, 1.16.2-5.12.el8
unbound-debugsourceerrata.rockylinux.org1.24.2-7.el10, 1.24.2-3.el9, 1.16.2-5.12.el8
unbound-utilserrata.rockylinux.org1.24.2-7.el10
unbound-utils-debuginfoerrata.rockylinux.org1.24.2-7.el10
unbound-anchorerrata.rockylinux.org1.24.2-7.el10

10 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 4.0
6.6
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 products

VendorProductVersions
NLnet LabsUnbound1.16.2
amazon:2023unbound-utils0
amazon:2023unbound0
amazon:2023unbound-devel0
alpineunbound0, 0
amazon:2023unbound-libs0
NLnet LabsUnbound1.16.2
amazon:2023python3-unbound0
amazon:2023unbound-anchor0

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

References

  • vendor-advisory
Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›