Heap-based buffer overflow in Unbound - CVE-2026-42944

 

Heap-based buffer overflow in Unbound - CVE-2026-42944

Published: May 20, 2026


Vulnerability identifier: #VU131929
CSH Severity: Medium
CVSS v4.0: 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/E:U/U:Green
CVE-ID: CVE-2026-42944
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: NLnet Labs
Affected software:
Unbound

Detailed vulnerability description

The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to a heap-based buffer overflow in the EDNS option encoder when processing queries containing multiple NSID and/or DNS Cookie EDNS and/or EDNS Padding options. A remote attacker can send a specially crafted query to cause a denial of service.

Only instances with the relevant EDNS options enabled are vulnerable.


How to mitigate CVE-2026-42944

Install security update from vendor's website.

Sources