CVE-2026-55973: CWE-20: Improper Input Validation in NLnet Labs Unbound
In NLnet Labs Unbound 1.23.0 up to and including 1.25.1, when 'dns-error-reporting: yes' is set, the EDNS Report-Channel option (code 18) from the last upstream response is read and uses the option's length as the length of the agent domain. When a domain name check is performed on the agent domain, the returned lenght is not used and if the agent domain is followed by garbage, those bytes are moved onto the tail of the synthetic '_er.' report query name. That query name is later used in the iterator via a subquery to send out the DNS Error Report and when Unbound tries to walk that query name during 'find_closest_of_type()', it strips labels using the query name length rather than stopping at the embedded root, walks one byte past it, and feeds the first garbage byte to 'dname_query_hash()' as a label length writing over the stack variable 'labuf'. One ordinary upstream response from a delegated zone the attacker controls is sufficient to terminate the daemon.
AI Analysis
Technical Summary
In NLnet Labs Unbound versions 1.23.0 up to and including 1.25.1, when the configuration option 'dns-error-reporting: yes' is set, the EDNS Report-Channel option (code 18) from the last upstream response is processed incorrectly. The option's length is used as the length of the agent domain, but during domain name validation, the actual length is not enforced. If the agent domain is followed by extraneous bytes ('garbage'), these bytes are appended to the synthetic '_er.' report query name. When Unbound later processes this query name in the iterator via a subquery to send the DNS Error Report, it incorrectly strips labels beyond the embedded root, reading one byte past the intended boundary. This byte is then passed as a label length to 'dname_query_hash()', causing a stack variable ('labuf') to be overwritten. This vulnerability can be triggered by a single malicious upstream response from an attacker-controlled delegated zone, resulting in daemon termination (denial of service).
Potential Impact
The vulnerability allows an unauthenticated attacker controlling an upstream delegated DNS zone to cause a denial of service by terminating the Unbound daemon. There is no indication of confidentiality or integrity impact. The CVSS 3.1 vector indicates network attack vector, low attack complexity, no privileges or user interaction required, and an impact limited to availability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, consider disabling 'dns-error-reporting' to avoid triggering the vulnerable code path. Monitor vendor communications for updates and official patches.
CVE-2026-55973: CWE-20: Improper Input Validation in NLnet Labs Unbound
Description
In NLnet Labs Unbound 1.23.0 up to and including 1.25.1, when 'dns-error-reporting: yes' is set, the EDNS Report-Channel option (code 18) from the last upstream response is read and uses the option's length as the length of the agent domain. When a domain name check is performed on the agent domain, the returned lenght is not used and if the agent domain is followed by garbage, those bytes are moved onto the tail of the synthetic '_er.' report query name. That query name is later used in the iterator via a subquery to send out the DNS Error Report and when Unbound tries to walk that query name during 'find_closest_of_type()', it strips labels using the query name length rather than stopping at the embedded root, walks one byte past it, and feeds the first garbage byte to 'dname_query_hash()' as a label length writing over the stack variable 'labuf'. One ordinary upstream response from a delegated zone the attacker controls is sufficient to terminate the daemon.
CVSS v3.1
Score 7.5high
Affected software
Run 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
In NLnet Labs Unbound versions 1.23.0 up to and including 1.25.1, when the configuration option 'dns-error-reporting: yes' is set, the EDNS Report-Channel option (code 18) from the last upstream response is processed incorrectly. The option's length is used as the length of the agent domain, but during domain name validation, the actual length is not enforced. If the agent domain is followed by extraneous bytes ('garbage'), these bytes are appended to the synthetic '_er.' report query name. When Unbound later processes this query name in the iterator via a subquery to send the DNS Error Report, it incorrectly strips labels beyond the embedded root, reading one byte past the intended boundary. This byte is then passed as a label length to 'dname_query_hash()', causing a stack variable ('labuf') to be overwritten. This vulnerability can be triggered by a single malicious upstream response from an attacker-controlled delegated zone, resulting in daemon termination (denial of service).
Potential Impact
The vulnerability allows an unauthenticated attacker controlling an upstream delegated DNS zone to cause a denial of service by terminating the Unbound daemon. There is no indication of confidentiality or integrity impact. The CVSS 3.1 vector indicates network attack vector, low attack complexity, no privileges or user interaction required, and an impact limited to availability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, consider disabling 'dns-error-reporting' to avoid triggering the vulnerable code path. Monitor vendor communications for updates and official patches.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- NLnet Labs
- Date Reserved
- 2026-06-22T12:27:22.820Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a60c4249c2644c7f80e9260
Added to database: 07/22/2026, 13:22:44 UTC
Last enriched: 07/22/2026, 13:37:04 UTC
Last updated: 07/23/2026, 01:30:26 UTC
Views: 18
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.