Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.8%top 46%

CVE-2026-42944: CWE-197: Numeric Truncation Error in NLnet Labs Unbound

0
High
VulnerabilityCVE-2026-42944cvecve-2026-42944cwe-197cwe-787
Published: 05/20/2026 (05/20/2026, 09:20:23 UTC)
Source: CVE Database V5
Vendor/Project: NLnet Labs
Product: Unbound

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.

CVSS v4.0

Score 8.7high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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/U:Red

Affected software

GitHub Actionsmore threats →ai
nlnetlabs/unbound
pkg:github/nlnetlabs/unbound
Affected versions
=1.14.0<=1.25.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/15/2026, 09:17:46 UTC

Technical Analysis

CVE-2026-42944 is a heap overflow vulnerability in NLnet Labs Unbound DNS resolver versions 1.14.0 up to and including 1.25.0. The flaw arises from a numeric truncation error in the calculation of the size of the EDNS field when encoding multiple NSID, DNS Cookie EDNS, and EDNS Padding options in reply packets. If these EDNS options ('nsid', 'answer-cookie', 'pad-responses') are enabled, an attacker capable of sending queries with multiple such options can exploit this to overflow the heap with controlled data, leading to a crash. The vulnerability is addressed in Unbound 1.25.1 by implementing de-duplication of EDNS options and fixing the truncation error in size calculation. Red Hat has issued security advisories and patches for affected Red Hat Enterprise Linux 10 variants, providing updated unbound packages that remediate this issue.

Potential Impact

Successful exploitation allows an unauthenticated attacker who can query the Unbound DNS resolver to cause a heap overflow, resulting in a crash (denial of service). The CVSS 4.0 base score is 8.7 (high severity), reflecting the network attack vector with no required privileges or user interaction. There is no confirmed exploitation in the wild. The impact is primarily denial of service due to heap overflow and crash.

Mitigation Recommendations

A fix is available in Unbound version 1.25.1, which addresses the vulnerability by de-duplicating EDNS options and correcting the size calculation to prevent truncation. Red Hat has released updated packages for Red Hat Enterprise Linux 10 that include this fix. Users should apply these official patches promptly to remediate the vulnerability. Patch status is confirmed by vendor advisories. No additional mitigations are specifically required beyond applying the official update.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
NLnet Labs
Date Reserved
2026-05-07T10:07:51.833Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null
Vendor Advisory Urls
[{"url":"https://access.redhat.com/security/cve/CVE-2026-42944","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:23231","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:24365","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:24369","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:19752","vendor":"Red Hat"}]

Threat ID: 6a0d86fdba1db4736270ee69

Added to database: 05/20/2026, 10:03:41 UTC

Last enriched: 07/15/2026, 09:17:46 UTC

Last updated: 07/31/2026, 19:22:58 UTC

Views: 88

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses