CVEfocus › CVE database › CVE-2026-40622

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

CVSS 6.6 MediumEPSS 0.2% (higher than 5% of CVEs)Published 2026-05-20Updated 2026-05-20Assigner: NLnet Labs

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.

CWE-346

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

43Fixed
6Fix pending
4Will not fix
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04unboundFixed1.24.2-1ubuntu2.1UBUNTU-CVE-2026-40622
Ubuntu 25.10unboundFixed1.22.0-2ubuntu2.3UBUNTU-CVE-2026-40622
Ubuntu 24.04unboundFixed1.19.2-1ubuntu3.8UBUNTU-CVE-2026-40622
Ubuntu 22.04unboundNot affected
vulnerable_code_not_present
Ubuntu 16.04unboundFix pendingUBUNTU-CVE-2026-40622
Debian 14unboundFixed1.25.2-1DEBIAN-CVE-2026-40622
Debian 13unboundFixed1.26.1-0+deb13u1DEBIAN-CVE-2026-40622
Debian 12unboundFix pendingDEBIAN-CVE-2026-40622
Red Hat Enterprise Linux 10python3-unboundFixed0:1.24.2-7.el10_2.2RHSA-2026:36320
Red Hat Enterprise Linux 10unboundFixed0:1.24.2-7.el10_2.2RHSA-2026:36320
Red Hat Enterprise Linux 10unbound-anchorFixed0:1.24.2-7.el10_2.2RHSA-2026:36320
Red Hat Enterprise Linux 10unbound-develFixed0:1.24.2-7.el10_2.2RHSA-2026:36320
Red Hat Enterprise Linux 10unbound-dracutFixed0:1.24.2-7.el10_2.2RHSA-2026:36320
Red Hat Enterprise Linux 10unbound-libsFixed0:1.24.2-7.el10_2.2RHSA-2026:36320
Red Hat Enterprise Linux 10unbound-utilsFixed0:1.24.2-7.el10_2.2RHSA-2026:36320
Red Hat Enterprise Linux 9python3-unboundFixed0:1.24.2-3.el9_8.2RHSA-2026:36777
Red Hat Enterprise Linux 9unboundFixed0:1.24.2-3.el9_8.2RHSA-2026:36777
Red Hat Enterprise Linux 9unbound-develFixed0:1.24.2-3.el9_8.2RHSA-2026:36777
Red Hat Enterprise Linux 9unbound-dracutFixed0:1.24.2-3.el9_8.2RHSA-2026:36777
Red Hat Enterprise Linux 9unbound-libsFixed0:1.24.2-3.el9_8.2RHSA-2026:36777
Red Hat Enterprise Linux 8python3-unboundFixed0:1.16.2-5.12.el8_10RHSA-2026:37282
Red Hat Enterprise Linux 8unboundFixed0:1.16.2-5.12.el8_10RHSA-2026:37282
Red Hat Enterprise Linux 8unbound-develFixed0:1.16.2-5.12.el8_10RHSA-2026:37282
Red Hat Enterprise Linux 8unbound-libsFixed0:1.16.2-5.12.el8_10RHSA-2026:37282
Red Hat Enterprise Linux 7unboundFix pending
Affected
Red Hat Enterprise Linux 7unbound-develFix pending
Affected
Red Hat Enterprise Linux 7unbound-libsFix pending
Affected
Red Hat Enterprise Linux 7unbound-pythonFix pending
Affected
Red Hat Enterprise Linux 6unboundWill not fix
Out of support scope
Red Hat Enterprise Linux 6unbound-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6unbound-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 6unbound-pythonWill not fix
Out of support scope
AlmaLinux 10python3-unboundFixed1.24.2-7.el10_2.2ALSA-2026:36320
AlmaLinux 10unboundFixed1.24.2-7.el10_2.2ALSA-2026:36320
AlmaLinux 10unbound-anchorFixed1.24.2-7.el10_2.2ALSA-2026:36320
AlmaLinux 10unbound-develFixed1.24.2-7.el10_2.2ALSA-2026:36320
AlmaLinux 10unbound-dracutFixed1.24.2-7.el10_2.2ALSA-2026:36320
AlmaLinux 10unbound-libsFixed1.24.2-7.el10_2.2ALSA-2026:36320
AlmaLinux 10unbound-utilsFixed1.24.2-7.el10_2.2ALSA-2026:36320
AlmaLinux 9python3-unboundFixed1.24.2-3.el9_8.2ALSA-2026:36777
AlmaLinux 9unboundFixed1.24.2-3.el9_8.2ALSA-2026:36777
AlmaLinux 9unbound-develFixed1.24.2-3.el9_8.2ALSA-2026:36777
AlmaLinux 9unbound-dracutFixed1.24.2-3.el9_8.2ALSA-2026:36777
AlmaLinux 9unbound-libsFixed1.24.2-3.el9_8.2ALSA-2026:36777
AlmaLinux 8python3-unboundFixed1.16.2-5.12.el8_10ALSA-2026:37282
AlmaLinux 8unboundFixed1.16.2-5.12.el8_10ALSA-2026:37282
AlmaLinux 8unbound-develFixed1.16.2-5.12.el8_10ALSA-2026:37282
AlmaLinux 8unbound-libsFixed1.16.2-5.12.el8_10ALSA-2026:37282
Rocky Linux 10unboundFixed0:1.24.2-7.el10_2.2RLSA-2026:36320
Rocky Linux 9unboundFixed0:1.24.2-3.el9_8.2RLSA-2026:36777
Rocky Linux 8unboundFixed0:1.16.2-5.12.el8_10RLSA-2026:37282
Alpine Linux 3.24unboundFixed1.25.1-r0ALPINE-CVE-2026-40622
Alpine Linux 3.23unboundFixed1.25.2-r0ALPINE-CVE-2026-40622
Alpine Linux 3.22unboundFixed1.25.2-r0ALPINE-CVE-2026-40622

What the vendor says

As published in the CVE record by NLnet Labs, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Solution: This issue is fixed starting with version 1.25.1

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.