# CVE-2026-81642: Heap buffer overflow and possible Remote Code Execution when digesting DNSKEY

- Severity: Critical 9.1 (CVSS:4.0, scored by NLnet Labs) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.84%, higher than 58% of CVEs (2026-12-01)
- Published: 2026-09-16T08:30:58.604Z
- Modified: 2026-09-22T18:59:21.953Z
- Weaknesses: CWE-122
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: NLnet Labs

## Description

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.

(As written by CVE List.)

## Affected

- NLnet Labs Unbound: before 1.26.1
- nlnetlabs unbound: before 1.26.1

## Every score

- NLnet Labs: CVSS:4.0 9.1 Critical `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`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://www.nlnetlabs.nl/downloads/unbound/CVE-2026-81642.txt> (mitigation, patch, vendor-advisory)

## Sources

- CVE List: [CVE-2026-81642](https://www.cve.org/CVERecord?id=CVE-2026-81642), CVE Terms of Use, modified 2026-09-16
- NVD: [CVE-2026-81642](https://nvd.nist.gov/vuln/detail/CVE-2026-81642), Public domain, modified 2026-09-22

---

Page: https://cve.day/CVE-2026-81642 · Whole record: https://cve.day/CVE-2026-81642.json · Rebuilt by cve.day 2026-11-25T22:59:38.916Z
