Description
In NLnet Labs Unbound up to and including version 1.26.1, an observable cache-level side-channel can be exposed with 'unwanted-reply-threshold > 0' configurations (not a default configuration). If a response-like UDP datagram reaches the upstream source port currently used by a recursive query, but its TXID does not match any pending query, Unbound counts the packet as an unwanted reply. When the accumulated count reaches the configured threshold, Unbound clears the worker's RRset cache and message cache. This cache clear action does not destroy the current upstream UDP pending query. Therefore, an external observer can distinguish whether a candidate port matches the current upstream source port by checking whether an existing cached item has been cleared. This is a cache side-channel vulnerability that can be used to probe the upstream source port. Although the attack is not feasible on default configurations and the suggested value (10 million) makes it an ureliable attack on a public resolver, in scenarios where the attacker can keep a concurrent query window alive, the attacker can first filter the source port and then perform birthday-style guessing against the TXID, making cache poisoning a feasible attack path.
Published: 2026-10-21
Score: 5.3 Medium
EPSS: n/a
KEV: No
Impact: Cache poisoning via upstream port probing
Action: Apply patch
AI Analysis

Impact

An Unbound DNS server configured with 'unwanted-reply-threshold' greater than zero can unintentionally expose a cache‑level side channel. When a UDP datagram with a mismatched transaction ID but matching the source port of an in‑flight recursive query arrives, Unbound marks it as an unwanted reply. Once the number of such unwanted replies reaches the configured threshold, the server clears its RRset and message caches, yet retains the pending query. An external observer can detect whether the cache was cleared, thereby revealing whether a candidate port was the upstream source port for a recursive query. The attacker can use this information to filter source ports and then perform birthday‑style guessing of transaction IDs, which could lead to a cache poisoning attack that inserts incorrect DNS replies into the resolver's cache. This vulnerability enables an attacker to observe cache state changes, providing information disclosure of upstream port usage and a potential integrity breach via cache poisoning. The side channel is not enabled by default and relies on the configuration value of 'unwanted-reply-threshold', so its impact is contingent on the server’s configuration. In summary, the vulnerability introduces a medium‑severity risk that can be exploited to compromise DNS resolution correctness in scenarios where an attacker can keep multiple concurrent query windows open, but it is unlikely to be feasible against default or commonly recommended configurations.

Affected Systems

NLnet Labs Unbound DNS servers up to and including version 1.26.1 are affected when the configuration option 'unwanted-reply-threshold' is set to a value greater than zero. Servers with the default setting (threshold zero or feature disabled) are not vulnerable.

Risk and Exploitability

The CVSS score of 5.3 categorizes this issue as medium severity. Because the exploit depends on a non‑default configuration and requires maintaining a concurrent query window, the practical likelihood of exploitation is moderate and not widely exploited in the public domain. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog, indicating no known active exploitation. A Remote Network attacker can trigger the side channel by sending UDP packets to the DNS server, but they must also maintain a live query to differentiate cache clear events. Thus, while the theoretical attack path exists, the risk is limited by configuration constraints. Security teams should treat the medium CVSS score and the evidence of a side channel as a reminder that configuration management and patching remain critical to mitigating potential integrity attacks on DNS services.

Generated by OpenCVE AI on October 21, 2026 at 11:21 UTC.

Remediation

Vendor Solution

This issue is fixed starting with version 1.26.2


OpenCVE Recommended Actions

  • Upgrade to Unbound 1.26.2 or later, which removes the side channel bug.
  • If an upgrade is unavailable, set 'unwanted-reply-threshold' to 0 or otherwise disable the feature that counts unwanted replies.
  • Monitor server logs for cache clear events to detect any unintended cache eviction that might indicate unexpected resolver behavior.

Generated by OpenCVE AI on October 21, 2026 at 11:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 21 Oct 2026 09:00:00 +0000

Type Values Removed Values Added
Description In NLnet Labs Unbound up to and including version 1.26.1, an observable cache-level side-channel can be exposed with 'unwanted-reply-threshold > 0' configurations (not a default configuration). If a response-like UDP datagram reaches the upstream source port currently used by a recursive query, but its TXID does not match any pending query, Unbound counts the packet as an unwanted reply. When the accumulated count reaches the configured threshold, Unbound clears the worker's RRset cache and message cache. This cache clear action does not destroy the current upstream UDP pending query. Therefore, an external observer can distinguish whether a candidate port matches the current upstream source port by checking whether an existing cached item has been cleared. This is a cache side-channel vulnerability that can be used to probe the upstream source port. Although the attack is not feasible on default configurations and the suggested value (10 million) makes it an ureliable attack on a public resolver, in scenarios where the attacker can keep a concurrent query window alive, the attacker can first filter the source port and then perform birthday-style guessing against the TXID, making cache poisoning a feasible attack path.
Title Possible cache poisoning vulnerability via a cache side-channel exposed by 'unwanted-reply-threshold'
Weaknesses CWE-205
References
Metrics cvssV3_1

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


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: NLnet Labs

Published:

Updated: 2026-10-21T08:56:35.696Z

Reserved: 2026-10-14T09:16:14.087Z

Link: CVE-2026-109125

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-21T09:17:06.417

Modified: 2026-10-21T09:17:06.417

Link: CVE-2026-109125

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-21T11:30:15Z

Weaknesses
  • CWE-205

    Observable Behavioral Discrepancy