# CVE-2026-55973: 'dns-error-reporting: yes' leads to stack buffer overflow

- Severity: High 7.5 (CVSS:3.1, scored by NLnet Labs) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 22% of CVEs (2026-12-01)
- Published: 2026-07-22T13:09:50.942Z
- Modified: 2026-10-24T13:10:00.147Z
- Weaknesses: CWE-20
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: NLnet Labs

## 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.

(As written by CVE List.)

## Affected

- NLnet Labs Unbound: from 1.23.0 before 1.25.2
- nlnetlabs unbound: from 1.23.0 before 1.25.2

## References

- <https://www.nlnetlabs.nl/downloads/unbound/CVE-2026-55973.txt> (vendor-advisory)

## Sources

- CVE List: [CVE-2026-55973](https://www.cve.org/CVERecord?id=CVE-2026-55973), CVE Terms of Use, modified 2026-07-22
- NVD: [CVE-2026-55973](https://nvd.nist.gov/vuln/detail/CVE-2026-55973), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-55973 · Whole record: https://cve.day/CVE-2026-55973.json · Rebuilt by cve.day 2026-11-25T22:59:29.828Z
