CVE-2026-81642 PUBLISHED

Heap buffer overflow and possible Remote Code Execution when digesting DNSKEY

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

In NLnet Labs Unbound up to and including 1.26.0, a vulnerability was found in the DNSSEC validator that enables denial of service and possible remote code execution as a result of digesting DNSKEYs. A DNSKEY with an owner compression pointer to its own RDATA can overflow the digest buffer. Remote code execution is possible through attacker controlled data. An adversary can exploit the vulnerability by controlling a malicious zone and querying a vulnerable Unbound.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:U/U:Red
CVSS Score: 9.1

Product Status

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

Solutions

This issue is fixed starting with version 1.26.1

Credits

  • Yuqi Qiu (Nankai University, AOSP Lab) finder
  • Xiang Li (Nankai University, AOSP Lab) finder

References

Problem Types

  • CWE-122: Heap-based Buffer Overflow CWE