cve.bz

CVE-2026-40622 nlnetlabs unbound: Origin Validation Error

6.6 mediumEPSS 0.1%Fix available

Medium (6.6) in nlnetlabs unbound. EPSS 0.1% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

6.6 medium
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

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS
0.1% (unchanged from 0.1% a week ago; 0.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 4th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-05-20. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-346 Origin Validation Error
OWASP Top 10
A07:2025 Authentication Failures
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-40622 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-40622?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-40622?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-40622 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
NLnet Labs Unboundfrom 1.16.2 before 1.25.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12unboundno fix listedDEBIAN-CVE-2026-40622
Debian13unbound1.26.1-0+deb13u1DEBIAN-CVE-2026-40622 DSA-6304-1 DSA-6507-1
Debian14unbound1.25.2-1DEBIAN-CVE-2026-40622
Ubuntu24.04:LTSunbound1.19.2-1ubuntu3.8UBUNTU-CVE-2026-40622
Ubuntu25.10unbound1.22.0-2ubuntu2.3UBUNTU-CVE-2026-40622
Ubuntu26.04:LTSunbound1.24.2-1ubuntu2.1UBUNTU-CVE-2026-40622
UbuntuPro:16.04:LTSunboundno fix listedUBUNTU-CVE-2026-40622
Red Hatenterprise_linux:8::appstreamunbound, unbound-libs, unbound-devel and 5 more0:1.16.2-5.12.el8_10RHSA-2026:37282
Red Hatenterprise_linux:9::appstreamunbound, unbound-libs, unbound-dracut and 5 more0:1.24.2-3.el9_8.2RHSA-2026:36777
Red Hatenterprise_linux:9::crbunbound-devel, unbound-debuginfo, unbound-debugsource and 2 more0:1.24.2-3.el9_8.2RHSA-2026:36777
Red Hatenterprise_linux:10.2unbound, unbound-libs, unbound-devel and 10 more0:1.24.2-7.el10_2.2RHSA-2026:36320
Red Hathummingbird:1unbound, unbound-libs, unbound-devel and 5 more0:1.25.1-1.hum1RHSA-2026:20357
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 6 moreunbound1.20.0-150100.10.25.1SUSE-SU-2026:2369-1
SUSELinux Enterprise Module for Basesystem 15 SP7, Linux Enterprise Module for Package Hub 15 SP7, Linux Enterprise Server 15 SP6-LTSS and 1 moreunbound1.25.2-150600.23.19.1SUSE-SU-2026:3885-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0unbound1.24.1-160000.2.1SUSE-SU-2026:22160-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0unbound1.25.2-160000.1.1SUSE-SU-2026:23215-1 SUSE-SU-2026:23226-1
SUSELinux Micro 6.0unbound1.25.2-1.1SUSE-SU-2026:23360-1
SUSELinux Micro 6.1unbound1.25.2-slfo.1.1_1.1SUSE-SU-2026:23349-1
SUSELinux Micro 6.2unbound1.24.1-160000.2.1SUSE-SU-2026:22213-1
SUSELinux Micro 6.2unbound1.25.2-160000.1.1SUSE-SU-2026:23050-1
openSUSELeap 16.0unbound1.24.1-160000.2.1openSUSE-SU-2026:21083-1
openSUSELeap 16.0unbound1.25.2-160000.1.1openSUSE-SU-2026:21550-1
openSUSETumbleweedunbound1.25.1-1.1openSUSE-SU-2026:10903-1
AlmaLinux8unbound, unbound-libs, unbound-devel and 1 more1.16.2-5.12.el8_10ALSA-2026:37282
AlmaLinux9unbound, unbound-libs, unbound-devel and 2 more1.24.2-3.el9_8.2ALSA-2026:36777
AlmaLinux10unbound, unbound-libs, unbound-devel and 4 more1.24.2-7.el10_2.2ALSA-2026:36320
Rocky Linux8unbound0:1.16.2-5.12.el8_10RLSA-2026:37282
Rocky Linux9unbound0:1.24.2-3.el9_8.2RLSA-2026:36777
Rocky Linux10unbound0:1.24.2-7.el10_2.2RLSA-2026:36320
Alpinev3.22, v3.23unbound1.25.2-r0ALPINE-CVE-2026-40622
Alpinev3.24unbound1.25.1-r0ALPINE-CVE-2026-40622
Azure Linux3unbound1.25.1-1AZL-87035

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This Moderate flaw in Unbound allows a remote attacker to manipulate the DNS cache via a "ghost domain names" attack. An attacker controlling a malicious zone can extend the validity of cached Name Server records, potentially leading to cache poisoning and the provision of incorrect DNS information. The vulnerability is more readily exploitable in non-default configurations where `harden-referral-path: yes` is enabled, as this setting removes the requirement for a client NS query.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10unbound-0:1.24.2-7.el10_2.2Fixed 2026-07-07RHSA-2026:36320
Red Hat Enterprise Linux 8unbound-0:1.16.2-5.12.el8_10Fixed 2026-07-09RHSA-2026:37282
Red Hat Enterprise Linux 9unbound-0:1.24.2-3.el9_8.2Fixed 2026-07-08RHSA-2026:36777
Red Hat OpenShift Container Platform 4.22openshift/ose-rhel-coreos-9:4.22.9.8.202608130832-0Fixed 2026-08-18RHSA-2026:54769
Red Hat Hardened Imagesunbound-main-1.25.1-1.hum1Fixed 2026-05-23RHSA-2026:20357
Red Hat Enterprise Linux 6unboundOut of support scope
Red Hat Enterprise Linux 7unboundAffected
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-8Affected
Red Hat OpenShift Container Platform 5openshift/ose-rhel-coreos-9Affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-40622.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-346 (16).

References

Check your stackJSON