CVE-2026-42944

HIGH CVSS 4.0: 8.7 EPSS 0.84%
Updated Aug 26, 2026
Nlnetlabs
Parameter Value
CVSS 8.7 (HIGH)
Affected Versions 1.14.0 — 1.25.1
Fixed In 1.25.1
Type CWE-787 (Out-of-bounds Write), CWE-197, CWE-131
Vendor Nlnetlabs
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
High
Complete denial of service

CVSS Vector v4.0

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Nlnetlabs Unbound
cpe:2.3:a:nlnetlabs:unbound:*:*:*:*:*:*:*:*
1.14.0 1.25.1