CVE-2026-56416: CWE-354: Improper Validation of Integrity Check Value in NLnet Labs Unbound
In NLnet Labs Unbound up to and including version 1.25.1, when the validator builds the canonical RDATA form for an RRSIG-covered PX/RP/MINFO/SOA RRset, it computes the address of the second embedded domain name as 'datstart + dname_valid(datstart, ...)' and passes it straight to 'query_dname_tolower()' without checking that a second name is actually present in the RDATA. The wire-format parser accepts multi-dname RRs whose RDATA ends after the first name, so an attacker who runs a DNSSEC-signed authoritative server can deliver a record with an absent second domain name (e.g. SOA record) and cause 'query_dname_tolower()' to walk label-by-label through stale bytes in the per-worker 'env->scratch_buffer', past the end of that heap allocation if 'msg-buffer-size' has been lowered from the default. This leads to heap buffer overflow and on a release build the outcome relies heavily on the contents of the buffer tail and the adjacent heap chunk.
AI Analysis
Technical Summary
CVE-2026-56416 is an improper validation vulnerability in NLnet Labs Unbound DNS resolver software (up to version 1.25.1). When the validator constructs the canonical RDATA form for RRSIG-covered PX, RP, MINFO, or SOA RRsets, it calculates the address of a second embedded domain name without verifying its presence. The wire-format parser permits multi-domain name RRs whose RDATA ends after the first name. An attacker controlling a DNSSEC-signed authoritative server can supply a record missing the second domain name, causing the function query_dname_tolower() to read beyond the intended buffer boundary into stale heap memory. This results in a heap buffer overflow, with the impact depending on the contents of adjacent heap memory and buffer size configurations.
Potential Impact
The vulnerability can lead to a heap buffer overflow in the Unbound DNS resolver during DNSSEC validation of certain resource records. This may cause memory corruption and potentially destabilize the resolver or lead to denial of service. There is no indication of confidentiality or availability impact beyond this, and no known exploits are reported in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or temporary workaround is currently documented. Users should monitor NLnet Labs advisories for updates and consider restricting or validating DNS responses from untrusted sources to mitigate risk until a fix is available.
CVE-2026-56416: CWE-354: Improper Validation of Integrity Check Value in NLnet Labs Unbound
Description
In NLnet Labs Unbound up to and including version 1.25.1, when the validator builds the canonical RDATA form for an RRSIG-covered PX/RP/MINFO/SOA RRset, it computes the address of the second embedded domain name as 'datstart + dname_valid(datstart, ...)' and passes it straight to 'query_dname_tolower()' without checking that a second name is actually present in the RDATA. The wire-format parser accepts multi-dname RRs whose RDATA ends after the first name, so an attacker who runs a DNSSEC-signed authoritative server can deliver a record with an absent second domain name (e.g. SOA record) and cause 'query_dname_tolower()' to walk label-by-label through stale bytes in the per-worker 'env->scratch_buffer', past the end of that heap allocation if 'msg-buffer-size' has been lowered from the default. This leads to heap buffer overflow and on a release build the outcome relies heavily on the contents of the buffer tail and the adjacent heap chunk.
CVSS v3.1
Score 4.8medium
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-56416 is an improper validation vulnerability in NLnet Labs Unbound DNS resolver software (up to version 1.25.1). When the validator constructs the canonical RDATA form for RRSIG-covered PX, RP, MINFO, or SOA RRsets, it calculates the address of a second embedded domain name without verifying its presence. The wire-format parser permits multi-domain name RRs whose RDATA ends after the first name. An attacker controlling a DNSSEC-signed authoritative server can supply a record missing the second domain name, causing the function query_dname_tolower() to read beyond the intended buffer boundary into stale heap memory. This results in a heap buffer overflow, with the impact depending on the contents of adjacent heap memory and buffer size configurations.
Potential Impact
The vulnerability can lead to a heap buffer overflow in the Unbound DNS resolver during DNSSEC validation of certain resource records. This may cause memory corruption and potentially destabilize the resolver or lead to denial of service. There is no indication of confidentiality or availability impact beyond this, and no known exploits are reported in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or temporary workaround is currently documented. Users should monitor NLnet Labs advisories for updates and consider restricting or validating DNS responses from untrusted sources to mitigate risk until a fix is available.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- NLnet Labs
- Date Reserved
- 2026-06-22T12:27:22.810Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a60c4249c2644c7f80e9269
Added to database: 07/22/2026, 13:22:44 UTC
Last enriched: 07/22/2026, 13:38:07 UTC
Last updated: 07/23/2026, 02:43:14 UTC
Views: 13
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.
External Links
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.