CVE-2026-42944
Heap overflow with multiple NSID, COOKIE, PADDING EDNS options
Reported by nlnet labs · Published May 20, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| python3-unbound-debuginfo | errata.rockylinux.org | 1.24.2-7.el10, 1.24.2-3.el9, 1.16.2-5.11.el8 |
| unbound | errata.rockylinux.org | 1.24.2-7.el10, 1.24.2-3.el9, 1.16.2-5.11.el8 |
| unbound-debuginfo | errata.rockylinux.org | 1.24.2-7.el10, 1.24.2-3.el9, 1.16.2-5.11.el8 |
| unbound-dracut | errata.rockylinux.org | 1.24.2-7.el10, 1.24.2-3.el9 |
| unbound-anchor-debuginfo | errata.rockylinux.org | 1.24.2-7.el10 |
| unbound-debugsource | errata.rockylinux.org | 1.24.2-7.el10, 1.24.2-3.el9, 1.16.2-5.11.el8 |
| unbound-utils | errata.rockylinux.org | 1.24.2-7.el10 |
| unbound-utils | Amazon Linux | 1.17.1-1.amzn2023.0.12 |
| unbound | Amazon Linux | 1.17.1-1.amzn2023.0.12 |
| unbound-libs-debuginfo | errata.rockylinux.org | 1.24.2-7.el10, 1.24.2-3.el9, 1.16.2-5.11.el8 |
| unbound-libs | errata.rockylinux.org | 1.24.2-7.el10, 1.24.2-3.el9, 1.16.2-5.11.el8 |
| python3-unbound | errata.rockylinux.org | 1.24.2-7.el10, 1.24.2-3.el9, 1.16.2-5.11.el8 |
9 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| NLnet Labs | Unbound | 1.14.0 |
| Red Hat | Red Hat Enterprise Linux AppStream (v. 10) | |
| Red Hat | Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) | |
| Red Hat | Red Hat Enterprise Linux AppStream (v. 9) | |
| Red Hat | Red Hat Enterprise Linux 6 | |
| amazon:2023 | unbound-utils | 0 |
| amazon:2023 | unbound | 0 |
| Red Hat | Red Hat Enterprise Linux AppStream (v. 8) | |
| NLnet Labs | Unbound | 1.14.0 |
| Red Hat | Red Hat Enterprise Linux 10 | 0:1.24.2-7.el10_2.1 |
| Red Hat | Red Hat Enterprise Linux 9 | 0:1.24.2-3.el9_8.1 |
| amazon:2023 | unbound-devel | 0 |
| Red Hat | Red Hat Enterprise Linux 7 | |
| alpine | unbound | 0, 0 |
| amazon:2023 | unbound-libs | 0 |
| Red Hat | Red Hat Enterprise Linux 7 | |
| amazon:2023 | unbound-anchor | 0 |
| Red Hat | Red Hat Enterprise Linux 6 | |
| Red Hat | Red Hat Hardened Images | 1.25.1-0.1.hum1 |
| Red Hat | Red Hat Enterprise Linux 8 | 0:1.16.2-5.11.el8_10 |
…and 5 more
Timeline
- May 19, 2026 CVE Published
- May 20, 2026 EPSS Score (30 in total, the first dated here)
- May 20, 2026 PoC Published (2 in total, the first dated here)
- May 21, 2026 Coalition ESS Score
- May 21, 2026 Security Advisory (15 in total, the first dated here)
- Jun 4, 2026 Distribution Patch (15 in total, the first dated here)
- Sep 16, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-42944
vulnetix vdb fixes CVE-2026-42944
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-42944/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- vendor-advisory
- https://access.redhat.com/security/cve/CVE-2026-42944 vdb
- RHBZ#2479774 issue
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42944.json url
- https://access.redhat.com/errata/RHSA-2026:23231 vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:24365 vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:24369 vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:19752 vendor-advisory