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

- Priority: **Prioritise**
- Reason: Severe, CVSS 8.7 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 1.25.1 (CNA); fix release not confirmed
- Status: published
- Published: 2026-05-20 · Modified: 2026-08-26
- Aliases: ALPINE-CVE-2026-42944, UBUNTU-CVE-2026-42944, DEBIAN-CVE-2026-42944
- Record: https://cvemate.com/vulnerability/CVE-2026-42944 · JSON: https://cvemate.com/vulnerability/CVE-2026-42944/json

## Description

```text
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.
```

## Signals

- CVSS: 8.7 high (v4.0, CVE.org) 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
- EPSS: 0.842%, percentile 59.203%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine unbound (Alpine Linux): ≥ 1.14.0, \< 1.25.2-r0 \| ≥ 1.14.0, \< 1.25.1-r0
- debian unbound (Debian): All versions (No fix recorded) \| \< 1.22.0-2+deb13u3 \| \< 1.25.1-1
- ubuntu unbound (Ubuntu): \< 1.19.2-1ubuntu3.8 \| \< 1.22.0-2ubuntu2.3 \| \< 1.24.2-1ubuntu2.1
- nlnet labs unbound: ≥ 1.14.0, \< 1.25.1
- nlnetlabs unbound: ≥ 1.14.0, \< 1.25.1

## References

- <https://www.nlnetlabs.nl/downloads/unbound/CVE-2026-42944.txt>
- <https://access.redhat.com/security/cve/CVE-2026-42944>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2479774>
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42944.json>
- <https://access.redhat.com/errata/RHSA-2026:23231>
- <https://access.redhat.com/errata/RHSA-2026:24365>
- <https://access.redhat.com/errata/RHSA-2026:24369>
- <https://access.redhat.com/errata/RHSA-2026:19752>
- <https://security.alpinelinux.org/vuln/CVE-2026-42944>
- <https://ubuntu.com/security/CVE-2026-42944>
- <https://www.cve.org/CVERecord?id=CVE-2026-42944>
- <https://nlnetlabs.nl/news/2026/May/20/unbound-1.25.1-released/>
- <https://ubuntu.com/security/notices/USN-8282-1>
- <https://security-tracker.debian.org/tracker/CVE-2026-42944>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-42944>

---

Data as of 2026-12-05T03:59:38.299Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
