CVE-2026-33278: Possible arbitrary code execution during DNSSEC validation
Last updated 22 May 2026
Other sources
NLnet Labs Unbound 1.19.1 up to and including version 1.25.0 has a vulnerability in the DNSSEC validator that enables denial of service and possible remote code execution as a result of deep copying a data structure and erroneously overwriting a destination pointer. An adversary can exploit the vulnerability by controlling a malicious signed zone and querying a vulnerable Unbound. When DS sub-queries need to suspend validation due to NSEC3 computational budget exhaustion (introduced in Unbound 1.19.1), Unbound deep-copies response messages to preserve them across memory region teardown. A struct-assignment bug overwrites the destination's pointer with the source's pointer. After the sub-query region is freed, the resumed validator dereferences this dangling pointer, triggering a crash or potentially enabling arbitrary code execution. Unbound 1.25.1 contains a patch with a fix to preserve the correct pointer when deep copying the data structure.
— Launchpad
Possible arbitrary code execution during DNSSEC validation
— Microsoft
Use After Free vulnerability in the DNSSEC validator of the Unbound DNS resolver. The flaw is caused by a struct-assignment bug during deep-copying of response messages when DS sub-queries need to suspend validation due to NSEC3 computational budget exhaustion (introduced in Unbound 1.19.1). The deep-copy operation overwrites the destination's rrsets pointer with the source's pointer. After the sub-query region is freed, the resumed validator dereferences this dangling pointer, triggering a crash or potentially enabling arbitrary code execution. An adversary can exploit this vulnerability by controlling a malicious DNSSEC-signed zone and querying a vulnerable Unbound instance.
— Red Hat
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/unboundto a version that resolves this vulnerability.Fixed in 1.25.1-1 - Upgrade
Upgrade
NLnet Labs Unboundto a version that resolves this vulnerability.Fixed in 1.25.1
Event History
Frequently Asked Questions
What is the severity of CVE-2026-33278?
CVE-2026-33278 has a critical severity rating of 9.1.
What software is affected by CVE-2026-33278?
CVE-2026-33278 affects NLnet Labs Unbound versions 1.19.1 through 1.25.0.
How do I fix CVE-2026-33278?
To mitigate CVE-2026-33278, upgrade to Unbound version 1.25.1 or newer.
What type of vulnerability is CVE-2026-33278?
CVE-2026-33278 is categorized as a Use After Free vulnerability, allowing potential remote code execution.
What could happen if CVE-2026-33278 is exploited?
Exploiting CVE-2026-33278 could lead to denial of service and possible arbitrary code execution.