Skip to main content
Mallory
MediumVulnerability

CVE-2026-40622: Ghost-domain persistence through NS cache manipulation in Unbound

Published May 20, 2026 · Updated 4 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days4 mentions · peak 2 in a dayToday
CVSS6.6Medium · v4
EPSS0.14%4th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendor
Nlnet Labs
IdentifiersCVE-2026-40622CWE-345

CVE-2026-40622 is a DNS cache manipulation vulnerability affecting NLnet Labs Unbound versions 1.16.2 through 1.25.0 inclusive. A single client NS query can cause the resolver to overwrite an expired cached parent-side referral NS RRset with the child-side apex NS RRset, extending a ghost domain's persistence by up to one configured cache-max-ttl interval. Exploitation requires control of a ghost zone and query access to the vulnerable resolver. With the non-default harden-referral-path: yes setting, Unbound performs the triggering NS query implicitly. Unbound 1.25.1 fixes the NS-record handling by preventing TTL extension for parent NS records regardless of their trust.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

An attacker can prolong the resolver's use of stale delegation information for an attacker-controlled ghost zone by up to one configured maximum cache TTL interval. This compromises DNS resolution integrity by allowing the ghost zone to remain resolvable beyond its intended delegation lifetime. No direct confidentiality or availability impact is identified for this vulnerability.

Mitigation

If you can’t patch tonight, do this now.

Restrict recursive-query access to trusted clients where possible. As a partial risk reduction, avoid the non-default harden-referral-path: yes setting unless operationally required, because it causes Unbound to issue the triggering NS query implicitly. Disabling that setting does not eliminate the vulnerability: an explicit client NS query can still trigger it. These measures do not replace patching.

Remediation

Patch, then assume compromise.

Upgrade Unbound to version 1.25.1 or later, or install the operating-system vendor's security update containing the equivalent fix. The patch prevents TTL extension for parent-side NS records regardless of trust. The separate A/AAAA glue-record variant, CVE-2026-42955, requires Unbound 1.25.2 or later.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Nlnet LabsUnboundapplication
FAQ

Frequently asked questions

Is CVE-2026-40622 exploited in the wild?
As of Nov 13, 2026, Mallory has no reports of CVE-2026-40622 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2026-40622?
As of Nov 13, 2026, Mallory has found no public exploit for CVE-2026-40622.
Is there a patch for CVE-2026-40622?
Upgrade Unbound to version 1.25.1 or later, or install the operating-system vendor's security update containing the equivalent fix. The patch prevents TTL extension for parent-side NS records regardless of trust.
What products are affected by CVE-2026-40622?
Nlnet Labs Unbound.
How severe is CVE-2026-40622?
CVE-2026-40622 has a CVSS v4 score of 6.6 (Medium) and an EPSS score of 0.14% (4th percentile) as of Nov 13, 2026.
Activity feed

Recent activity

36 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
tenable nessus pluginsNews · Nov 7, 2026EulerOS Virtualization 2.15.0 : unbound (EulerOS-SA-2026-4736) | Tenable®An attacker controlling a ghost zone can use an NS query to replace expired parent-side referral NS data with child-side apex NS data, extending persistence by up to cache-max-ttl. With the non-default harden-referral-path setting enabled, Unbound performs the necessary query implicitly. Unbound 1.25.1 prevents extension of parent NS record TTLs regardless of trust.Read more ↗tenable nessus pluginsNews · Nov 7, 2026EulerOS Virtualization 2.15.1 : unbound (EulerOS-SA-2026-4678) | Tenable®Unbound 1.16.2–1.25.0 can replace expired parent-side referral NS records with child-side apex NS records, extending a ghost domain's persistence by up to the configured cache-max-ttl. Exploitation requires control of the ghost zone and access to query the resolver. A client NS query normally triggers the issue, but the nondefault harden-referral-path setting can trigger it implicitly. Unbound 1.25.1 prevents extension of parent NS record TTLs.Read more ↗tenable nessus pluginsNews · Nov 1, 2026CentOS Linux 6 [TuxCare] Security Update: unbound / unbound-de... | Tenable®Referenced in a CentOS 6 security check; technical details are not provided.Read more ↗tenable nessus pluginsNews · Oct 26, 2026CentOS Linux 7 [TuxCare] Security Update: unbound / unbound-de... | Tenable®A ghost-domain vulnerability affects Unbound 1.16.2 through 1.25.0. An adversary controlling a zone and able to query the resolver can prolong cached delegation information. With the nondefault 'harden-referral-path: yes' setting, the relevant NS query occurs implicitly.Read more ↗
+15 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity11Community discussion across Reddit, Mastodon, and other social sources.