CVE-2026-42944: Heap overflow with multiple NSID, COOKIE, PADDING EDNS options

Published May 19, 2026
·
Updated

A vulnerability was found in Unbound that results in heap overflow when encoding multiple NSID and/or DNS Cookie EDNS and/or EDNS Padding options in the reply packet. The relevant options ('nsid', 'answer-cookie', 'pad-responses' (default)) need to be enabled for the vulnerability to be exploited.

Unbound 1.25.1 includes a fix to de-duplicate the EDNS options and a fix to prevent truncation of the EDNS field size calculation that also contributes to the heap overflow.

Other sources

Heap overflow with multiple NSID, COOKIE, PADDING EDNS options

Microsoft

NLnet Labs Unbound 1.14.0 up to and including version 1.25.0 has a vulnerability that results in heap overflow when encoding multiple NSID and/or DNS Cookie EDNS and/or EDNS Padding options in the reply packet. The relevant options ('nsid', 'answer-cookie', 'pad-responses' (default)) need to be enabled for the vulnerability to be exploited. An adversary who can query Unbound can exploit the vulnerability by attaching multiple NSID and/or DNS Cookie EDNS and/or EDNS Padding options to the query. A flaw in the size calculation of the EDNS field truncates the correct value which allows the encoder to overflow the available space when writing. Those two combined lead to a heap overflow write of Unbound controlled data and eventually a crash. Unbound 1.25.1 contains a patch with a fix to de-duplicate the EDNS options and a fix to prevent truncation of the EDNS field size calculation.

Launchpad

Affected Software

8 affected componentsFixes available
Nlnet Labs Unbound>=1.14.0<=1.25.0
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+deb13u1, <=1.24.2-1
1.25.1-1
Microsoft azl3 unbound 1.19.1-5
nlnetlabs Unbound>=1.14.0<1.25.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.25.1-1
  2. Upgrade

    Upgrade Unbound to a version that resolves this vulnerability.

    Fixed in 1.25.1
  3. Compensating control

    If you cannot upgrade to Unbound 1.25.1, prevent exploitation by ensuring the relevant EDNS options are not enabled/used: 'nsid', 'answer-cookie', and 'pad-responses' (default).

Event History

May 19, 2026
Data Sourced
via Red Hat·10:09 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:03 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·08:03 AM
DescriptionSeverity
Data Sourced
via Debian·02:43 PM
DescriptionAffected Software
May 22, 2026
Data Sourced
via Ubuntu·02:43 PM
RemedyDescriptionSeverityAffected 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-42944?

CVE-2026-42944 is classified as a high severity vulnerability due to its potential for causing a heap overflow.

2

How do I fix CVE-2026-42944?

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

3

What software is affected by CVE-2026-42944?

CVE-2026-42944 affects NLnet Labs Unbound versions 1.14.0 through 1.25.0.

4

What types of attacks can exploit CVE-2026-42944?

CVE-2026-42944 can be exploited to execute arbitrary code or crash the application due to heap overflow.

5

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

As of now, there is no public information indicating that CVE-2026-42944 is being actively exploited.

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