CVE-2026-55973
CVE-2026-55973 · 'dns-error-reporting: yes' leads to stack buffer overflow
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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 7.5 · High · EPSS 0.3% · Fix available
- Published
- Updated
Stack: system
Affected products and versions
unbound
- Versions
- ≥ 1.23.0, < 1.25.2: Affected (semver)
Update to 1.25.2
unbound Debian:12
- Versions
- 1.17.1-2
- 1.17.1-2+deb12u1
- 1.17.1-2+deb12u2
- 1.17.1-2+deb12u3
- 1.17.1-2+deb12u4
- 1.17.1-2+loong64
- 1.18.0-1
- 1.18.0-2
- 1.19.1-1
- 1.19.2-1
- 1.20.0-1
- 1.21.1-1
- 1.22.0-1
- 1.22.0-2
- 1.23.1-1
- 1.24.0-1
- 1.24.0-2
- 1.24.1-1
- 1.24.1-2
- 1.24.2-1
- 1.25.0-1
- 1.25.1-1
- 1.25.2-1
- 1.26.0-1
- 1.26.0-2
- 1.26.1-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
unbound Debian:13
- Versions
- 1.22.0-2
- 1.22.0-2+deb13u1
- 1.22.0-2+deb13u2
- 1.22.0-2+deb13u3
- 1.23.1-1
- 1.24.0-1
- 1.24.0-2
- 1.24.1-1
- 1.24.1-2
- 1.24.2-1
- 1.25.0-1
- 1.25.1-1
- 1.25.2-1
- 1.26.0-1
- 1.26.0-2
- Affected ranges
- ECOSYSTEM: < 1.26.1-0+deb13u1
Update to 1.26.1-0+deb13u1
unbound Debian:14
- Versions
- 1.22.0-2
- 1.23.1-1
- 1.24.0-1
- 1.24.0-2
- 1.24.1-1
- 1.24.1-2
- 1.24.2-1
- 1.25.0-1
- 1.25.1-1
- Affected ranges
- ECOSYSTEM: < 1.25.2-1
Update to 1.25.2-1
unbound Ubuntu:26.10
- Versions
- 1.24.2-1ubuntu2
- 1.25.1-1ubuntu1
- 1.25.1-1ubuntu3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
unbound Ubuntu:26.04:LTS
- Versions
- 1.22.0-2ubuntu2
- 1.22.0-2ubuntu4
- 1.24.2-1ubuntu1
- 1.24.2-1ubuntu2
- 1.24.2-1ubuntu2.1
- 1.24.2-1ubuntu2.2
- 1.24.2-1ubuntu2.3
- Affected ranges
- ECOSYSTEM: < 1.24.2-1ubuntu2.4
Update to 1.24.2-1ubuntu2.4