CVE-2026-42955

Extra fix for CVE-2026-40622 to also clamp the TTL of A/AAAA records disallowing a one-time 'ghost domain' delegation renewal via glue records

Published Jul 22, 2026 CVSS 3.1 · 3.7 Low EPSS < 1% KEV · Not listed
Description
In NLnet Labs Unbound 1.16.2 up to and including 1.25.1, a similar vulnerability as with CVE-2026-40622 in the 'ghost domain names' family of attacks was found in Unbound that could extend the ghost domain window by up to one cached TTL configured value for A/AAAA glue records. 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 A/AAAA query can cause Unbound to overwrite the cached expired parent-side glue 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 query is required since Unbound implicitly performs that query. This is a variant of CVE-2026-40622 which only addressed the NS query.

Analysis

AI-generated

Technical impact

In NLnet Labs Unbound versions 1.16.2 through 1.25.1, a flaw exists that allows an attacker who controls a ghost zone to extend the period during which that zone remains reachable. By sending or causing the server to send an A/AAAA query, Unbound overwrites a stale parent‑side glue RRset and refreshes its cached TTL to the configured cache‑max‑TTL. The result is that the ghost domain window can be prolonged by that TTL amount. Although the exploit does not immediately grant control, the extra time can be used to execute a takeover or denial‑of‑service attack. The vulnerability is recorded as CWE‑354 and CWE‑672.

Affected Systems

The affected product is NLnet Labs Unbound. All releases between 1.16.2 and 1.25.1, inclusive, are vulnerable. Version 1.25.2 and later contain the fix. Public DNS servers that answer queries for this software and are reachable to attackers, especially those with the harden‑referral‑path option enabled, are at risk.

Risk and Exploitability

The CVSS score of 3.7 indicates low severity. The EPSS score is <1%, implying a very low probability of exploitation in the wild. The issue is not listed in CISA’s KEV catalog. Exploitation requires an attacker to control a ghost zone and to trigger a client A/AAAA query, or to rely on the automatic query performed when harden‑referral‑path is enabled. Successful exploitation only extends the ghost domain window by the cache‑max‑TTL value; it does not give immediate control over the zone or the server.

Remediation

Vendor Solution

This issue is fixed starting with version 1.25.2


OpenCVE Recommended Actions

  • Upgrade Unbound to version 1.25.2 or later.
  • If an upgrade cannot be performed immediately, disable the harden-referral-path option to prevent the automatic lookup that can trigger the exploit.
  • Limit inbound DNS traffic, especially A/AAAA queries, to trusted clients using firewall rules or access lists.

Generated by OpenCVE AI on August 2, 2026 at 18:07 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-6507-1 unbound security update
History
Type Values Removed Values Added
First Time appeared Nlnetlabs
Nlnetlabs unbound
Vendors & Products Nlnetlabs
Nlnetlabs unbound
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description In NLnet Labs Unbound 1.16.2 up to and including 1.25.1, a similar vulnerability as with CVE-2026-40622 in the 'ghost domain names' family of attacks was found in Unbound that could extend the ghost domain window by up to one cached TTL configured value for A/AAAA glue records. 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 A/AAAA query can cause Unbound to overwrite the cached expired parent-side glue 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 query is required since Unbound implicitly performs that query. This is a variant of CVE-2026-40622 which only addressed the NS query.
Title Extra fix for CVE-2026-40622 to also clamp the TTL of A/AAAA records disallowing a one-time 'ghost domain' delegation renewal via glue records
Weaknesses CWE-672
References
Metrics cvssV3_1

{'score': 3.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N'}

Weaknesses
  • CWE-354

    Improper Validation of Integrity Check Value

  • CWE-672

    Operation on a Resource after Expiration or Release

Sources

Status
PUBLISHED
Assigner
NLnet Labs
Published
Updated
Jul 22, 2026, 2:26 PM
Reserved
Jun 22, 2026, 10:11 AM
Status
Analyzed
Published
Jul 22, 2026, 2:17 PM
Modified
Oct 24, 2026, 1:10 PM
Severity
Low
Public date
Jul 22, 2026, 1:05 PM