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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.7
- **CVSS:** 8.7 (v4.0, CNA) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/U:Red`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: None; Confidentiality impact: None; Integrity impact: None; Availability impact: High; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None; U: Red
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.78% (percentile 52, 2026-11-26)
- **CWE:** CWE-197, CWE-787
- **Published:** 2026-05-20T09:20:23.906Z
- **Modified:** 2026-08-26T13:19:01.207Z

## Who should check

- Anyone running NLnet Labs Unbound \>= 1.14.0, \< 1.25.1

## Description

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.

## Affected and fixed versions

- NLnet Labs Unbound: \>= 1.14.0, \< 1.25.1 (cvelist)

## Mitigation

- Upgrade Unbound to 1.25.1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-42944. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-42944.md
Affected: NLnet Labs Unbound >= 1.14.0, < 1.25.1
Fixed in: NLnet Labs Unbound 1.25.1

Steps:
1. Search this machine and project for NLnet Labs Unbound: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-42944 being exploited?

There is no confirmed exploitation: CVE-2026-42944 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.78% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-42944?

High: CVSS 8.7 (v4.0, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-42944?

NLnet Labs Unbound \>= 1.14.0, \< 1.25.1.

### Is there a fix for CVE-2026-42944?

Yes. Fixed in NLnet Labs Unbound 1.25.1. Upgrade Unbound to 1.25.1 or later.

### How do I check if I'm affected by CVE-2026-42944?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://www.nlnetlabs.nl/downloads/unbound/CVE-2026-42944.txt>
- vendor: <https://access.redhat.com/errata/RHSA-2026:23231>
- vendor: <https://access.redhat.com/errata/RHSA-2026:24365>
- vendor: <https://access.redhat.com/errata/RHSA-2026:24369>
- vendor: <https://access.redhat.com/errata/RHSA-2026:19752>
- other: <https://access.redhat.com/security/cve/CVE-2026-42944>
- other: <https://bugzilla.redhat.com/show_bug.cgi?id=2479774>
- other: <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42944.json>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-42944>

HTML: <https://flawdb.com/CVE-2026-42944> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-42944>
