CVE-2026-77860 PUBLISHED

'serve-expired' can bypass Unbound 'wait-limit'

Assigner: NLnet Labs
Reserved: 07.09.2026 Published: 16.09.2026 Updated: 16.09.2026

In NLnetLabs Unbound 1.20.0 up to and including 1.26.0, a vulnerability on the 'serve-expired' code path can cause a double decrement on the 'wait-limit' counter per client IP essentially bypassing one of the counter measures that was introduced for DNSBomb (CVE-2024-33655). A malicious actor can exploit this by controlling an authoritative zone with short TTL, so cached entries expire quickly. Each 'slow' query, one the attacker's authoritative never answers, is followed by one query for an expired cached name, which is answered immediately via the 'serve-expired' path and decrements the counter twice. This second query was named 'pump'. By alternating slow queries and pumps, the attacker keeps the per-client counter at or below the configured 'wait-limit' indefinitely, and can hold an arbitrary number of pending queries from a single source IP, up to the global mesh quota (num-queries-per-thread); eventually bypassing one of the counter measures introduced for DNSBomb (CVE-2024-33655). This vulnerability is present on the 'serve-expired' code path.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
CVSS Score: 3.7

'serve-expired' configuration option used

Product Status

Vendor NLnet Labs
Product Unbound
Versions Default: unaffected
  • affected from 1.20.0 to 1.26.1 (excl.)

Solutions

This issue is fixed starting with version 1.26.1

Credits

  • Xuanchao Xie (University of Science and Technology of China) finder
  • Lutong Chen (University of Science and Technology of China) finder
  • Kaiping Xue (University of Science and Technology of China) finder

References

Problem Types

  • CWE-675: Multiple Operations on Resource in Single-Operation Context CWE