CVE-2026-55973
'dns-error-reporting: yes' leads to stack buffer overflow
Reported by nlnet labs · Published July 22, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| unbound | errata.rockylinux.org | 1.24.2-7.el10, 1.24.2-3.el9 |
| unbound-devel | errata.rockylinux.org | 1.24.2-7.el10, 1.24.2-3.el9 |
| unbound-debuginfo | errata.rockylinux.org | 1.24.2-7.el10, 1.24.2-3.el9 |
| unbound-libs-debuginfo | errata.rockylinux.org | 1.24.2-7.el10, 1.24.2-3.el9 |
| unbound | Alpine | 1.25.2-r0 |
| unbound-debugsource | errata.rockylinux.org | 1.24.2-7.el10, 1.24.2-3.el9 |
| unbound-utils-debuginfo | errata.rockylinux.org | 1.24.2-7.el10 |
| unbound-anchor | errata.rockylinux.org | 1.24.2-7.el10 |
| python3-unbound-debuginfo | errata.rockylinux.org | 1.24.2-7.el10, 1.24.2-3.el9 |
| unbound-libs | errata.rockylinux.org | 1.24.2-7.el10, 1.24.2-3.el9 |
| python3-unbound | errata.rockylinux.org | 1.24.2-7.el10, 1.24.2-3.el9 |
| unbound-dracut | errata.rockylinux.org | 1.24.2-7.el10, 1.24.2-3.el9 |
4 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| NLnet Labs | Unbound | 1.23.0 |
| alpine | unbound | 0 |
| NLnet Labs | Unbound | 1.23.0 |
Timeline
- Jul 22, 2026 Coalition ESS Score
- Jul 22, 2026 CVE Published
- Jul 23, 2026 Security Advisory (5 in total, the first dated here)
- Jul 25, 2026 EPSS Score (28 in total, the first dated here)
- Aug 19, 2026 Distribution Patch (6 in total, the first dated here)
- Oct 24, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-55973
vulnetix vdb fixes CVE-2026-55973
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-55973/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart