CVEfocus › CVE database › CVE-2026-55973

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

CVSS 7.5 HighEPSS 0.5% (higher than 32% of CVEs)Published 2026-07-22Updated 2026-07-22Assigner: NLnet Labs

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.

CWE-20

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

33Fixed
14Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10unboundFixed1.25.1-1ubuntu3.1UBUNTU-CVE-2026-55973
Ubuntu 26.04unboundFixed1.24.2-1ubuntu2.4UBUNTU-CVE-2026-55973
Ubuntu 24.04unboundNot affected
vulnerable_code_not_present
Ubuntu 22.04unboundNot affected
vulnerable_code_not_present
Debian 14unboundFixed1.25.2-1DEBIAN-CVE-2026-55973
Debian 13unboundFixed1.26.1-0+deb13u1DEBIAN-CVE-2026-55973
Red Hat Enterprise Linux 10python3-unboundFixed0:1.24.2-7.el10_2.4RHSA-2026:55892
Red Hat Enterprise Linux 10unboundFixed0:1.24.2-7.el10_2.4RHSA-2026:55892
Red Hat Enterprise Linux 10unbound-anchorFixed0:1.24.2-7.el10_2.4RHSA-2026:55892
Red Hat Enterprise Linux 10unbound-develFixed0:1.24.2-7.el10_2.4RHSA-2026:55892
Red Hat Enterprise Linux 10unbound-dracutFixed0:1.24.2-7.el10_2.4RHSA-2026:55892
Red Hat Enterprise Linux 10unbound-libsFixed0:1.24.2-7.el10_2.4RHSA-2026:55892
Red Hat Enterprise Linux 10unbound-utilsFixed0:1.24.2-7.el10_2.4RHSA-2026:55892
Red Hat Enterprise Linux 9python3-unboundFixed0:1.24.2-3.el9_8.4RHSA-2026:55841
Red Hat Enterprise Linux 9unboundFixed0:1.24.2-3.el9_8.4RHSA-2026:55841
Red Hat Enterprise Linux 9unbound-develFixed0:1.24.2-3.el9_8.4RHSA-2026:55841
Red Hat Enterprise Linux 9unbound-dracutFixed0:1.24.2-3.el9_8.4RHSA-2026:55841
Red Hat Enterprise Linux 9unbound-libsFixed0:1.24.2-3.el9_8.4RHSA-2026:55841
Red Hat Enterprise Linux 8python3-unboundNot affected
Red Hat Enterprise Linux 8unboundNot affected
Red Hat Enterprise Linux 8unbound-develNot affected
Red Hat Enterprise Linux 8unbound-libsNot affected
Red Hat Enterprise Linux 7unboundNot affected
Red Hat Enterprise Linux 7unbound-develNot affected
Red Hat Enterprise Linux 7unbound-libsNot affected
Red Hat Enterprise Linux 7unbound-pythonNot affected
Red Hat Enterprise Linux 6unboundNot affected
Red Hat Enterprise Linux 6unbound-develNot affected
Red Hat Enterprise Linux 6unbound-libsNot affected
Red Hat Enterprise Linux 6unbound-pythonNot affected
AlmaLinux 10python3-unboundFixed1.24.2-7.el10_2.4ALSA-2026:55892
AlmaLinux 10unboundFixed1.24.2-7.el10_2.4ALSA-2026:55892
AlmaLinux 10unbound-anchorFixed1.24.2-7.el10_2.4ALSA-2026:55892
AlmaLinux 10unbound-develFixed1.24.2-7.el10_2.4ALSA-2026:55892
AlmaLinux 10unbound-dracutFixed1.24.2-7.el10_2.4ALSA-2026:55892
AlmaLinux 10unbound-libsFixed1.24.2-7.el10_2.4ALSA-2026:55892
AlmaLinux 10unbound-utilsFixed1.24.2-7.el10_2.4ALSA-2026:55892
AlmaLinux 9python3-unboundFixed1.24.2-3.el9_8.4ALSA-2026:55841
AlmaLinux 9unboundFixed1.24.2-3.el9_8.4ALSA-2026:55841
AlmaLinux 9unbound-develFixed1.24.2-3.el9_8.4ALSA-2026:55841
AlmaLinux 9unbound-dracutFixed1.24.2-3.el9_8.4ALSA-2026:55841
AlmaLinux 9unbound-libsFixed1.24.2-3.el9_8.4ALSA-2026:55841
Rocky Linux 10unboundFixed0:1.24.2-7.el10_2.4RLSA-2026:55892
Rocky Linux 9unboundFixed0:1.24.2-3.el9_8.4RLSA-2026:55841
Alpine Linux 3.24unboundFixed1.25.2-r0ALPINE-CVE-2026-55973
Alpine Linux 3.23unboundFixed1.25.2-r0ALPINE-CVE-2026-55973
Alpine Linux 3.22unboundFixed1.25.2-r0ALPINE-CVE-2026-55973

What the vendor says

As published in the CVE record by NLnet Labs, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Solution: This issue is fixed starting with version 1.25.2

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.