CVE-2026-33278: CWE-416: Use After Free in NLnet Labs Unbound
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.
AI Analysis
Technical Summary
CVE-2026-33278 is a use-after-free vulnerability (CWE-416) in NLnet Labs Unbound DNS resolver versions 1.19.1 up to 1.25.0. The issue occurs in the DNSSEC validator when handling DS sub-queries that suspend validation due to NSEC3 computational budget exhaustion. During this process, Unbound deep-copies response messages to preserve them across memory region teardown. A struct-assignment bug causes the destination pointer to be overwritten with the source pointer, resulting in a dangling pointer after the sub-query memory region is freed. When the validator resumes and dereferences this pointer, it triggers a crash or potentially allows arbitrary code execution. The vulnerability has a CVSS 4.0 base score of 9.1 (critical). Unbound 1.25.1 contains a patch correcting the pointer handling to prevent this issue.
Potential Impact
The vulnerability can be exploited remotely without authentication by an attacker controlling a malicious signed DNS zone. Successful exploitation can cause denial of service through crashes of the Unbound DNS resolver and may lead to remote code execution, posing a critical risk to affected systems. No known exploits in the wild have been reported at this time.
Mitigation Recommendations
Unbound version 1.25.1 includes an official fix that addresses this use-after-free vulnerability by correcting the pointer handling during deep copying of DNSSEC validation data structures. Users should upgrade to version 1.25.1 or later to remediate this issue. Patch status is confirmed by the vendor advisory indicating the fix is present in 1.25.1. No additional mitigations are indicated.
CVE-2026-33278: CWE-416: Use After Free in NLnet Labs Unbound
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-33278 is a use-after-free vulnerability (CWE-416) in NLnet Labs Unbound DNS resolver versions 1.19.1 up to 1.25.0. The issue occurs in the DNSSEC validator when handling DS sub-queries that suspend validation due to NSEC3 computational budget exhaustion. During this process, Unbound deep-copies response messages to preserve them across memory region teardown. A struct-assignment bug causes the destination pointer to be overwritten with the source pointer, resulting in a dangling pointer after the sub-query memory region is freed. When the validator resumes and dereferences this pointer, it triggers a crash or potentially allows arbitrary code execution. The vulnerability has a CVSS 4.0 base score of 9.1 (critical). Unbound 1.25.1 contains a patch correcting the pointer handling to prevent this issue.
Potential Impact
The vulnerability can be exploited remotely without authentication by an attacker controlling a malicious signed DNS zone. Successful exploitation can cause denial of service through crashes of the Unbound DNS resolver and may lead to remote code execution, posing a critical risk to affected systems. No known exploits in the wild have been reported at this time.
Mitigation Recommendations
Unbound version 1.25.1 includes an official fix that addresses this use-after-free vulnerability by correcting the pointer handling during deep copying of DNSSEC validation data structures. Users should upgrade to version 1.25.1 or later to remediate this issue. Patch status is confirmed by the vendor advisory indicating the fix is present in 1.25.1. No additional mitigations are indicated.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- NLnet Labs
- Date Reserved
- 2026-05-07T10:07:51.853Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a0d86fdba1db4736270ee50
Added to database: 5/20/2026, 10:03:41 AM
Last enriched: 5/20/2026, 10:19:05 AM
Last updated: 5/21/2026, 6:24:39 AM
Views: 18
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.