CVE-2026-42944
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
23- osv-coords20 versionspkg:rpm/almalinux/python3-unboundpkg:rpm/almalinux/unboundpkg:rpm/almalinux/unbound-anchorpkg:rpm/almalinux/unbound-develpkg:rpm/almalinux/unbound-dracutpkg:rpm/almalinux/unbound-libspkg:rpm/almalinux/unbound-utilspkg:rpm/opensuse/unbound&distro=openSUSE%20Tumbleweedpkg:rpm/suse/unbound&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-ESPOSpkg:rpm/suse/unbound&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-LTSSpkg:rpm/suse/unbound&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-ESPOSpkg:rpm/suse/unbound&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-LTSSpkg:rpm/suse/unbound&distro=SUSE%20Linux%20Enterprise%20Micro%205.5pkg:rpm/suse/unbound&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP4-LTSSpkg:rpm/suse/unbound&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP5-LTSSpkg:rpm/suse/unbound&distro=SUSE%20Linux%20Enterprise%20Server%2016.0pkg:rpm/suse/unbound&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP4pkg:rpm/suse/unbound&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP5pkg:rpm/suse/unbound&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20applications%2016.0pkg:rpm/suse/unbound&distro=SUSE%20Linux%20Micro%206.2
< 1.24.2-7.el10_2.1+ 19 more
- (no CPE)range: < 1.24.2-7.el10_2.1
- (no CPE)range: < 1.24.2-7.el10_2.1
- (no CPE)range: < 1.24.2-7.el10_2.1
- (no CPE)range: < 1.24.2-7.el10_2.1
- (no CPE)range: < 1.24.2-7.el10_2.1
- (no CPE)range: < 1.24.2-7.el10_2.1
- (no CPE)range: < 1.24.2-7.el10_2.1
- (no CPE)range: < 1.25.1-1.1
- (no CPE)range: < 1.20.0-150100.10.25.1
- (no CPE)range: < 1.20.0-150100.10.25.1
- (no CPE)range: < 1.20.0-150100.10.25.1
- (no CPE)range: < 1.20.0-150100.10.25.1
- (no CPE)range: < 1.20.0-150100.10.25.1
- (no CPE)range: < 1.20.0-150100.10.25.1
- (no CPE)range: < 1.20.0-150100.10.25.1
- (no CPE)range: < 1.24.1-160000.2.1
- (no CPE)range: < 1.20.0-150100.10.25.1
- (no CPE)range: < 1.20.0-150100.10.25.1
- (no CPE)range: < 1.24.1-160000.2.1
- (no CPE)range: < 1.24.1-160000.2.1
Patches
Vulnerability mechanics
References
1- www.nlnetlabs.nl/downloads/unbound/CVE-2026-42944.txtnvdMitigationVendor Advisory
News mentions
1- NLnet Labs Unbound: 11 CVEs Disclosed in Single Advisory — Two Critical Including Cache PoisoningVypr Intelligence · May 20, 2026