CVE-2026-42959: CWE-824: Access of Uninitialized Pointer in NLnet Labs Unbound
NLnet Labs Unbound up to and including version 1.25.0 has a denial of service vulnerability in the DNSSEC validator that can lead to a crash given malicious upstream replies. When Unbound constructs chase-reply messages for validation, the code uses the wrong counter to calculate write offsets for ADDITIONAL section rrsets. DNAME duplication could increase the ANSWER section count and authority filtering could decrease the AUTHORITY section count and create an uninitialized array slot. Combining these two, the validator later dereferences this uninitialized pointer, causing an immediate process crash. An adversary controlling a DNSSEC-signed domain can trigger this bug with a single query by configuring a DNAME chain with unsigned CNAMEs and a response containing unsigned AUTHORITY records alongside signed ADDITIONAL glue records. Unbound 1.25.1 contains a patch with a fix to use the proper counters to calculate the write offsets.
AI Analysis
Technical Summary
CVE-2026-42959 describes a denial of service vulnerability in NLnet Labs Unbound DNS resolver up to version 1.25.0. The flaw is due to improper calculation of write offsets for ADDITIONAL section rrsets in DNSSEC validation, caused by using the wrong counter. This leads to an uninitialized pointer dereference when a combination of DNAME duplication and authority filtering affects section counts. An attacker controlling a DNSSEC-signed domain can exploit this by sending a single specially crafted query with a DNAME chain containing unsigned CNAMEs and a response with unsigned AUTHORITY records alongside signed ADDITIONAL glue records, causing Unbound to crash. The issue is fixed in Unbound 1.25.1 by correcting the counter usage.
Potential Impact
Successful exploitation results in a denial of service condition due to an immediate crash of the Unbound DNS resolver process. This disrupts DNS resolution services relying on the affected Unbound versions. There is no indication of privilege escalation, data disclosure, or remote code execution from the provided data.
Mitigation Recommendations
A fix is available in Unbound version 1.25.1, which corrects the counter usage to prevent the uninitialized pointer dereference. Users should upgrade to version 1.25.1 or later to remediate this vulnerability. Patch status is not explicitly stated in the vendor advisory content provided but the description confirms the fix in 1.25.1. No additional mitigations are indicated.
CVE-2026-42959: CWE-824: Access of Uninitialized Pointer in NLnet Labs Unbound
Description
NLnet Labs Unbound up to and including version 1.25.0 has a denial of service vulnerability in the DNSSEC validator that can lead to a crash given malicious upstream replies. When Unbound constructs chase-reply messages for validation, the code uses the wrong counter to calculate write offsets for ADDITIONAL section rrsets. DNAME duplication could increase the ANSWER section count and authority filtering could decrease the AUTHORITY section count and create an uninitialized array slot. Combining these two, the validator later dereferences this uninitialized pointer, causing an immediate process crash. An adversary controlling a DNSSEC-signed domain can trigger this bug with a single query by configuring a DNAME chain with unsigned CNAMEs and a response containing unsigned AUTHORITY records alongside signed ADDITIONAL glue records. Unbound 1.25.1 contains a patch with a fix to use the proper counters to calculate the write offsets.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-42959 describes a denial of service vulnerability in NLnet Labs Unbound DNS resolver up to version 1.25.0. The flaw is due to improper calculation of write offsets for ADDITIONAL section rrsets in DNSSEC validation, caused by using the wrong counter. This leads to an uninitialized pointer dereference when a combination of DNAME duplication and authority filtering affects section counts. An attacker controlling a DNSSEC-signed domain can exploit this by sending a single specially crafted query with a DNAME chain containing unsigned CNAMEs and a response with unsigned AUTHORITY records alongside signed ADDITIONAL glue records, causing Unbound to crash. The issue is fixed in Unbound 1.25.1 by correcting the counter usage.
Potential Impact
Successful exploitation results in a denial of service condition due to an immediate crash of the Unbound DNS resolver process. This disrupts DNS resolution services relying on the affected Unbound versions. There is no indication of privilege escalation, data disclosure, or remote code execution from the provided data.
Mitigation Recommendations
A fix is available in Unbound version 1.25.1, which corrects the counter usage to prevent the uninitialized pointer dereference. Users should upgrade to version 1.25.1 or later to remediate this vulnerability. Patch status is not explicitly stated in the vendor advisory content provided but the description confirms the fix 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.848Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a0d86fdba1db4736270ee6c
Added to database: 5/20/2026, 10:03:41 AM
Last enriched: 5/20/2026, 10:18:46 AM
Last updated: 5/21/2026, 6:05:29 AM
Views: 20
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.