CVE-2026-42944: CWE-197: Numeric Truncation Error 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 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 Analysis
Technical Summary
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.
CVE-2026-42944: CWE-197: Numeric Truncation Error in NLnet Labs 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
Affected software
pkg:github/nlnetlabs/unboundRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.