Critical Unbound DNSSEC Flaw Could Enable Remote Code Execution; Version 1.26.1 Fixes Nine Vulnerabilities

Summary
Unbound versions through 1.26.0 are affected by a DNSSEC validator heap overflow that may allow remote code execution via a malicious zone. Version 1.26.1 fixes it and eight other flaws; exploitation has not been reported.
Key points
- An attacker controlling a malicious DNS zone can trigger a heap overflow in Unbound’s DNSSEC validator by querying a vulnerable resolver, potentially enabling remote code execution.
- CVE-2026-81642 affects Unbound versions up to and including 1.26.0; the listed impact is denial of service, with remote code execution possible through attacker-controlled data.
- Unbound 1.26.1 fixes CVE-2026-81642 and eight other vulnerabilities, including a CNAME synthesis heap corruption flaw that could also allow remote code execution under certain conditions.
- NLnet Labs has not reported exploitation of either flaw; CISA’s entry for CVE-2026-81642 was listed as having no known exploitation at the time of the article.
- NLnet Labs advises upgrading to 1.26.1 or applying the supplied patches; standalone and combined patch options are available.
- Debian listed unbound 1.26.1-1 as fixed in unstable, while bookworm, trixie, and forky were still listed as vulnerable.
Article Details
- Vulnerability Types
- Heap overflow in the DNSSEC validator
- Heap corruption in CNAME synthesis
- Severity
- Critical for CVE-2026-81642; High for CVE-2026-82717
- Affected Versions
- Unbound up to and including 1.26.0
- Exploitation Status
- not_reported
- Exploit Availability
- unknown
- Patch Status
- available
- Workarounds
- Apply the minimal or complete standalone source patch for CVE-2026-81642 with patch -p1, then run make install.
- Apply the combined source patch for all nine fixes, or its minimal version.
CVE
CVE-2026-81642NLnet Labs · UnboundThe 1.26.1 release fixes CVE-2026-81642 plus eight other flaws, including CVE-2026-82717 in CNAME synthesis, and users are advised to upgrade or apply the provided patches.CVE-2026-82717NLnet Labs · UnboundThe 1.26.1 release fixes CVE-2026-81642 plus eight other flaws, including CVE-2026-82717 in CNAME synthesis, and users are advised to upgrade or apply the provided patches.
