Skip to content
feed: live
>_0dayNews
cloud

Unbound 1.26.1 Fixes Critical DNSSEC Heap Overflow

NLnet Labs patches a critical DNSSEC heap overflow in Unbound. All versions before 1.26.1 are affected; RCE is possible via attacker-controlled DNS zones.

Unbound 1.26.1 Fixes Critical DNSSEC Heap Overflow
Photo: Vjekoslav Katusin / Wikimedia Commons · CC BY-SA 4.0
kilobaudDave "Kilobaud" Ferris·Published ·2 min read

NLnet Labs released Unbound 1.26.1 on Wednesday, closing nine vulnerabilities in the DNS resolver including a critical heap overflow in the DNSSEC validator that carries a CVSS score of 9.1 and a credible path to remote code execution.

The headline flaw, CVE-2026-81642, surfaces when the validator processes a DNSKEY record whose owner name contains a compression pointer that resolves back into the same record’s own data. Under those conditions the resolver can overflow a heap buffer, with outcomes ranging from a crash to potential arbitrary code execution if the attacker controls a malicious DNS zone that the vulnerable resolver queries.

That precondition matters. Exploitation requires the attacker to operate a DNS zone the resolver will query. It is a harder setup than a typical unauthenticated network endpoint where any reachable host is a viable target. NLnet Labs reports no active exploitation as of the advisory, and the flaw does not yet appear in the CISA Known Exploited Vulnerabilities catalog.

A second critical flaw in the same release, CVE-2026-82717, involves heap corruption in CNAME synthesis and was reported by Ben Morris of Anthropic. NLnet Labs describes similar RCE potential under comparable preconditions.

Who runs Unbound

Unbound is widely deployed as a validating, recursive, caching DNS resolver. It handles the full DNSSEC validation cycle: resolving queries recursively, verifying DNSSEC signatures, and returning results only after those checks pass. Because CVE-2026-81642 lives specifically in the DNSSEC validator, any Unbound instance configured to perform DNSSEC validation is within scope. That covers a substantial share of ISP-level recursive resolvers, enterprise DNS stacks, and recursive-resolver services that migrated away from BIND.

The nine CVEs addressed in 1.26.1 span multiple components. The full list is available at NLnet Labs’ security advisories page.

What to do

Update to Unbound 1.26.1. NLnet Labs also published a minimal patch for CVE-2026-81642 alone, for operators who need a targeted fix without taking the full release immediately.

If an immediate update is not possible, the relevant question is whether DNSSEC validation is enabled on the instance and whether it queries external zones. For a recursive resolver, that is almost every query it handles. The DNSSEC validation path is precisely the attack surface here.

The advisory pattern is familiar: a long-standing protocol feature, deeply woven into infrastructure, quietly carrying a memory-safety issue until someone maps the compression pointer logic against the memory layout. The fix is out. The nine CVEs in 1.26.1 are worth reviewing even for operators who feel their threat model is low, because the assumption that “nobody will bother targeting our resolver” is one of those things that holds until it doesn’t.

Related CVEs

Found this useful? Share it.