CVE-2026-42944 Heap overflow with multiple NSID, COOKIE, PADDING EDNS options
- Published
- Updated
- Exploit status
- No public exploit known
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 products
| Product | Affected versions | Fixed in |
|---|---|---|
| NLnet Labs Unbound | >= 1.14.0, < 1.25.1 | 1.25.1 |
| redhat enterprise linux | < 0:1.24.2-7.el10_2.1 | 0:1.24.2-7.el10_2.1 |
| redhat enterprise linux | < 0:1.16.2-5.11.el8_10 | 0:1.16.2-5.11.el8_10 |
| redhat enterprise linux | < 0:1.24.2-3.el9_8.1 | 0:1.24.2-3.el9_8.1 |
| redhat hummingbird | < 1.25.1-0.1.hum1 | 1.25.1-0.1.hum1 |
| redhat enterprise linux | All versions | No fix listed |
| redhat/unbound(Red Hat:enterprise_linux:10.2) | < 1.24.2-7.el10_2.1 | 1.24.2-7.el10_2.1 |
| redhat/unbound(Red Hat:enterprise_linux:8) | < 1.16.2-5.11.el8_10 | 1.16.2-5.11.el8_10 |
| redhat/unbound(Red Hat:enterprise_linux:9) | < 1.24.2-3.el9_8.1 | 1.24.2-3.el9_8.1 |
| redhat/unbound-main(Red Hat:hummingbird:1) | < 1.25.1-0.1.hum1 | 1.25.1-0.1.hum1 |
| redhat/unbound(Red Hat:rhel_els:6) | All versions | No fix listed |
| redhat/unbound(Red Hat:rhel_els:7) | All versions | No fix listed |
| debian/unbound(Debian:12) | All versions | No fix listed |
| debian/unbound(Debian:12) | = 1.17.1-2 | No fix listed |
| debian/unbound(Debian:12) | = 1.17.1-2+deb12u1 | No fix listed |
| debian/unbound(Debian:12) | = 1.17.1-2+deb12u2 | No fix listed |
| debian/unbound(Debian:12) | = 1.17.1-2+deb12u3 | No fix listed |
| debian/unbound(Debian:12) | = 1.17.1-2+deb12u4 | No fix listed |
| debian/unbound(Debian:12) | = 1.17.1-2+loong64 | No fix listed |
| debian/unbound(Debian:12) | = 1.18.0-1 | No fix listed |
| debian/unbound(Debian:12) | = 1.18.0-2 | No fix listed |
| debian/unbound(Debian:12) | = 1.19.1-1 | No fix listed |
| debian/unbound(Debian:12) | = 1.19.2-1 | No fix listed |
| debian/unbound(Debian:12) | = 1.20.0-1 | No fix listed |
| debian/unbound(Debian:12) | = 1.21.1-1 | No fix listed |
Show 34 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/unbound(Debian:12) | = 1.22.0-1 | No fix listed |
| debian/unbound(Debian:12) | = 1.22.0-2 | No fix listed |
| debian/unbound(Debian:12) | = 1.23.1-1 | No fix listed |
| debian/unbound(Debian:12) | = 1.24.0-1 | No fix listed |
| debian/unbound(Debian:12) | = 1.24.0-2 | No fix listed |
| debian/unbound(Debian:12) | = 1.24.1-1 | No fix listed |
| debian/unbound(Debian:12) | = 1.24.1-2 | No fix listed |
| debian/unbound(Debian:12) | = 1.24.2-1 | No fix listed |
| debian/unbound(Debian:12) | = 1.25.0-1 | No fix listed |
| debian/unbound(Debian:12) | = 1.25.1-1 | No fix listed |
| debian/unbound(Debian:12) | = 1.25.2-1 | No fix listed |
| debian/unbound(Debian:12) | = 1.26.0-1 | No fix listed |
| debian/unbound(Debian:12) | = 1.26.0-2 | No fix listed |
| debian/unbound(Debian:12) | = 1.26.1-1 | No fix listed |
| debian/unbound(Debian:13) | < 1.22.0-2+deb13u3 | 1.22.0-2+deb13u3 |
| debian/unbound(Debian:13) | = 1.22.0-2 | No fix listed |
| debian/unbound(Debian:13) | = 1.22.0-2+deb13u1 | No fix listed |
| debian/unbound(Debian:13) | = 1.22.0-2+deb13u2 | No fix listed |
| debian/unbound(Debian:14) | < 1.25.1-1 | 1.25.1-1 |
| debian/unbound(Debian:14) | = 1.22.0-2 | No fix listed |
| debian/unbound(Debian:14) | = 1.23.1-1 | No fix listed |
| debian/unbound(Debian:14) | = 1.24.0-1 | No fix listed |
| debian/unbound(Debian:14) | = 1.24.0-2 | No fix listed |
| debian/unbound(Debian:14) | = 1.24.1-1 | No fix listed |
| debian/unbound(Debian:14) | = 1.24.1-2 | No fix listed |
| debian/unbound(Debian:14) | = 1.24.2-1 | No fix listed |
| debian/unbound(Debian:14) | = 1.25.0-1 | No fix listed |
| alpine/unbound(Alpine:v3.22) | >= 1.14.0, < 1.25.2-r0 | 1.25.2-r0 |
| alpine/unbound(Alpine:v3.23) | >= 1.14.0, < 1.25.2-r0 | 1.25.2-r0 |
| alpine/unbound(Alpine:v3.24) | >= 1.14.0, < 1.25.1-r0 | 1.25.1-r0 |
| ubuntu/unbound(Ubuntu:24.04) | < 1.19.2-1ubuntu3.8 | 1.19.2-1ubuntu3.8 |
| ubuntu/unbound(Ubuntu:26.04) | < 1.24.2-1ubuntu2.1 | 1.24.2-1ubuntu2.1 |
| nlnetlabs unbound | >= 1.14.0, < 1.25.1 | 1.25.1 |
| azure linux unbound(Azure Linux:3.0) | < 1.25.1-1 | 1.25.1-1 |
References
- www.nlnetlabs.nl mitigation vendor-advisory
- Red Hat CVE page mitigation vdb-entry vendor-advisory
- RHBZ#2479774 issue-tracking
- security.access.redhat.com
- RHSA-2026:23231 patch vendor-advisory
- RHSA-2026:24365 patch vendor-advisory
- RHSA-2026:24369 patch vendor-advisory
- RHSA-2026:19752 patch vendor-advisory
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-42944 vendor-advisory
- security.alpinelinux.org vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-8282-1 vendor-advisory
- bugs.debian.org issue-tracking