# CVE-2026-81642: NLnet Labs Unbound DNSSEC validator buffer overflow

Source: https://junglewise.ai/threats/cve-2026-81642-nlnet-labs-unbound-dnssec-validator-buffer-overflow  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-09-16. Updated: 2026-09-26  
License: CC BY 4.0 with a link back

CVE-2026-81642 · Severity: critical · CVSS 9.8 · Published 2026-09-16

Unbound is a widely-used DNS resolver that validates domain ownership and authenticity through DNSSEC. A buffer overflow vulnerability in the DNSSEC validator can be triggered by a malicious DNS zone, allowing an attacker to cause service outages or potentially execute arbitrary code on the server. This affects all installations running Unbound 1.26.0 and earlier.

Technologies: [NLnet Labs Unbound](https://junglewise.ai/threats/technologies/unbound). Vendors: [NLnet Labs](https://junglewise.ai/threats/vendors/nlnet-labs).

## Quick answers

**Is CVE-2026-81642 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-81642 being exploited in the wild.

**How severe is CVE-2026-81642?** Critical severity, with a CVSS score of 9.8, published 16 September 2026.

**Which products and versions are affected?** NLnet Labs Unbound up to and including 1.26.0.

**Is there a fix for CVE-2026-81642?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-81642 attacked?** It is attacked over the network, in a hosted service.

**Am I affected by CVE-2026-81642?** Check whether you run NLnet Labs Unbound at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

The vulnerability is a buffer overflow in the DNSSEC validator's DNSKEY digestion logic. A specially crafted DNSKEY record containing an owner compression pointer to its own RDATA section can overflow the digest buffer during decompression, before a capacity check is performed. The attack requires network reachability to the vulnerable Unbound instance and control of a malicious DNS zone; an attacker can trigger the overflow by querying the resolver for records in their controlled zone. Exploitation enables both denial of service and remote code execution through attacker-controlled data. Patched versions (Unbound 1.26.1 and later) include proper capacity validation after decompression to prevent the overflow.

## Affected products

- NLnet Labs Unbound up to and including 1.26.0

## Timeline

- 2026-09-16: disclosed

## References

- [https://www.nlnetlabs.nl/downloads/unbound/CVE-2026-81642.txt](https://www.nlnetlabs.nl/downloads/unbound/CVE-2026-81642.txt)

## Related threats

- [NLnet Labs Unbound use-after-free in DNS-over-QUIC stream cleanup](https://junglewise.ai/threats/cve-2026-97206-nlnet-labs-unbound-1-22-0-up-to-and-including-version-1-26-1)
- [NLnet Labs Unbound DNS decompression CPU exhaustion](https://junglewise.ai/threats/cve-2026-96405-nlnet-labs-unbound-up-to-and-including-version-1-26-1-limits)
- [NLnet Labs Unbound DNS validator bypass in DNSSEC validation](https://junglewise.ai/threats/cve-2026-50106-when-nlnet-labs-unbound-up-to-and-including-version-1-26-1-is)
- [NLnet Labs Unbound cache side-channel in upstream source port probe](https://junglewise.ai/threats/cve-2026-109125-in-nlnet-labs-unbound-up-to-and-including-version-1-26-1-an)
- [NLnet Labs Unbound DNS complexity attacks via ReTrap](https://junglewise.ai/threats/cve-2026-85501-nlnet-labs-unbound-dns-complexity-attacks-via-retrap)
