Possible cache poisoning vulnerability via a cache side-channel exposed by 'unwanted-reply-threshold' (NLnet Labs Unbound)

CVE-2026-109125
MEDIUM 5.3

At a glance

Source
NVD
EPSS
EPSS 0.17 % · percentile 7 ()
State
PUBLISHED
Published
Updated
Assigner
NLnet Labs
NVD status
Awaiting Analysis

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.

Weaknesses (CWE)

  • CWE-205 — Observable Behavioral Discrepancy

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.3CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:NNLnet Labs
CVSS 3.1MEDIUM 5.3CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:NNVD · sep@nlnetlabs.nl (Secondary)

European references

Affected products

ProductVersions
NLnet Labs · Unboundaffected 0 < 1.26.2

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD