CVE-2026-42944 in Nlnet Labs Unbound
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 vulne...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Nlnet Labs | Unbound | ≥ 1.14.0, < 1.25.1 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2026-42944 |
|---|---|
| BreachSpider ID | BS-2026-GLOBAL-152917-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Published | 2026-05-20 |
| Last modified | 2026-05-20 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-197: CWE-197
CWE-787: Out-of-Bounds Write
Software writes data past buffer boundaries, corrupting memory and potentially enabling code execution.
Analysis AI-written, not human-reviewed
NLnet Labs Unbound versions 1.14.0 to 1.25.0 are vulnerable to a heap overflow due to improper handling of multiple NSID, DNS Cookie EDNS, and EDNS Padding options in reply packets.
An attacker can exploit this vulnerability by sending specially crafted DNS queries to a vulnerable Unbound server with the relevant EDNS options enabled ('nsid', 'answer-cookie', 'pad-responses'). This can lead to a heap overflow, potentially allowing for remote code execution or denial of service.
Questions
What is CVE-2026-42944?
NLnet Labs Unbound versions 1.14.0 to 1.25.0 are vulnerable to a heap overflow due to improper handling of multiple NSID, DNS Cookie EDNS, and EDNS Padding options in reply packets.
What is the CVSS score for CVE-2026-42944?
CVE-2026-42944 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. EPSS: 0.8%.
Is CVE-2026-42944 actively exploited?
No confirmed active exploitation of CVE-2026-42944 as of 2026-05-30.
How do I remediate CVE-2026-42944?
Priority: HIGH. Advisory: https://www.nlnetlabs.nl/downloads/unbound/CVE-2026-42944.txt PSIRT: [email protected]
What systems are affected by CVE-2026-42944?
CVE-2026-42944 affects Nlnet Labs Unbound.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Nlnet Labs","product":"Unbound","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-05-20.