CVE-2026-42959: Crash during DNSSEC validation of malicious content

Published May 19, 2026
·
Updated

Access of Uninitialized Pointer vulnerability in the DNSSEC validator of the Unbound DNS resolver. The flaw is caused by the use of incorrect counters when calculating write offsets for ADDITIONAL section rrsets in chase-reply messages. DNAME duplication can increase the ANSWER section count and authority filtering can decrease the AUTHORITY section count, creating an uninitialized array slot. 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.

Other sources

Crash during DNSSEC validation of malicious content

Microsoft

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.

Launchpad

Affected Software

8 affected componentsFixes available
Nlnet Labs Unbound<=1.25.0
Microsoft azl3 unbound 1.19.1-5
nlnetlabs Unbound<1.25.1
debian/unbound<=1.13.1-1+deb11u2, <=1.13.1-1+deb11u7, <=1.17.1-2+deb12u4, <=1.17.1-2+deb12u3, <=1.22.0-2+deb13u2
1.22.0-2+deb13u31.25.1-1
IBM CICS Transaction Gateway for Multiplatforms<=9.1
IBM CICS Transaction Gateway for Multiplatforms<=9.2
IBM CICS Transaction Gateway for Multiplatforms<=9.3
IBM CICS Transaction Gateway for Multiplatforms<=10.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/unbound to a version that resolves this vulnerability.

    Fixed in 1.22.0-2+deb13u3Fixed in 1.25.1-1
  2. Upgrade

    Upgrade NLnet Labs Unbound DNS resolver (DNSSEC validator) to a version that resolves this vulnerability.

    Fixed in 1.25.1
  3. Configuration

    Set 'val-clean-additional: no' to bypass the vulnerable code in vulnerable Unbound versions (non-default setting) while mitigating the DNSSEC validator DoS/crash.

    Unbound DNS resolver val-clean-additional = no

Event History

May 19, 2026
Data Sourced
via Red Hat·11:35 AM
DescriptionSeverityAffected Software
May 20, 2026
CVE Published
via MITRE·09:20 AM
Data Sourced
via MITRE·09:20 AM
RemedyDescriptionWeakness
Data Sourced
via NVD·10:16 AM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via Launchpad·02:42 PM
Description
May 21, 2026
Data Sourced
via Microsoft·08:02 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·08:02 AM
DescriptionSeverity
Jun 2, 2026
Data Sourced
via Ubuntu·07:38 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Debian·07:39 PM
DescriptionAffected Software
Jul 29, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-42959?

CVE-2026-42959 has a high severity rating due to the potential for denial of service through crashes during DNSSEC validation.

2

How do I fix CVE-2026-42959?

To fix CVE-2026-42959, upgrade NLnet Labs Unbound to version 1.26.0 or later.

3

What types of systems are affected by CVE-2026-42959?

CVE-2026-42959 affects NLnet Labs Unbound versions up to and including 1.25.0.

4

What can an attacker do with CVE-2026-42959?

An attacker can exploit CVE-2026-42959 to induce a crash of the Unbound DNS resolver through malicious upstream replies.

5

Is CVE-2026-42959 being actively exploited in the wild?

As of the latest updates, there are no confirmed reports of active exploitation of CVE-2026-42959 in the wild.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203