CVE-2026-33278
Critical · CVSS 9.8NLnet Labs Unbound — Use-After-Free (UAF) / Dangling Pointer via deep copy struct-assignment bug enabling DoS and possible RCE in DNSSEC validator
- CVSS
- 9.8
- nvd
- EPSS
- —
- KEV
- No
- Class
- oss containerizable
- CWE-416, CWE-672, CWE-416
Description
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.
Search profile — drives PoC discovery
References
- https://www.nlnetlabs.nl/downloads/unbound/CVE-2026-33278.txt
- https://access.redhat.com/errata/RHSA-2026:19752
- https://access.redhat.com/errata/RHSA-2026:23231
- https://access.redhat.com/errata/RHSA-2026:24369
- https://access.redhat.com/security/cve/CVE-2026-33278
- https://bugzilla.redhat.com/show_bug.cgi?id=2479808
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-33278.json
Status: enriched · ingested 2026-06-30T06:00:22.000Z · profiled 2026-07-01T06:30:14.000Z