CVE-2026-77860 'serve-expired' can bypass Unbound 'wait-limit'

Low 3.7 Published Updated

Attackers can bypass DNSBomb protections in Unbound by exploiting a double decrement bug in the serve-expired feature, leading to resource exhaustion.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-77860?

CVE-2026-77860 is a low-severity denial of service vulnerability in Nlnetlabs Unbound, published on 16 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-675

Which versions are affected by CVE-2026-77860?

It affects 1 product.

Products include Nlnetlabs Unbound.

How do I fix CVE-2026-77860?

Apply the vendor's patch.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2026-77860 being exploited?

There is no known exploitation of CVE-2026-77860 in the wild and no public exploit code.

All Nlnetlabs Unbound vulnerabilities

Sources

Also known as AZL-101718, DEBIAN-CVE-2026-77860, ECHO-a935-81b8-4eae, GHSA-8483-8qxh-jcf2, UBUNTU-CVE-2026-77860.

Is CVE-2026-77860 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free