Skip to content

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

HighCVSS 7.5 EPSS 0.28%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
UbuntuDebianRed Hat

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.

Upgrade path

15 packages: 14 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
redhat/openshift/ose-rhel-coreos-9(Red Hat openshift 5) All versions No fix listed No fix yet
alpine/unbound(Alpine v3.22) >= 1.23.0, < 1.25.2-r0 1.25.2-r0 Fixed
alpine/unbound(Alpine v3.23) >= 1.23.0, < 1.25.2-r0 1.25.2-r0 Fixed
alpine/unbound(Alpine v3.24) >= 1.23.0, < 1.25.2-r0 1.25.2-r0 Fixed
azure linux unbound(Azure Linux 3.0) < 1.25.2-1 1.25.2-1 Fixed
debian/unbound(Debian 13) < 1.26.1-0+deb13u1; = 1.22.0-2; = 1.22.0-2+deb13u1; = 1.22.0-2+deb13u2 +12 more 1.26.1-0+deb13u1 Fixed
debian/unbound(Debian 14) < 1.25.2-1; = 1.22.0-2; = 1.23.1-1; = 1.24.0-1 +6 more 1.25.2-1 Fixed
NLnet Labs Unbound >= 1.23.0, < 1.25.2 1.25.2 Fixed
nlnetlabs unbound >= 1.23.0, < 1.25.2 1.25.2 Fixed
redhat/openshift/ose-rhel-coreos(Red Hat openshift 4.22 el9) < 9:4.22.9.8.202608251819-0; < 9:4.22.9.8.202609081748-0 9:4.22.9.8.202608251819-0, 9:4.22.9.8.202609081748-0 Fixed
redhat/unbound(Red Hat enterprise_linux 10.2) < 1.24.2-7.el10_2.4 1.24.2-7.el10_2.4 Fixed
redhat/unbound(Red Hat enterprise_linux 9) < 1.24.2-3.el9_8.4 1.24.2-3.el9_8.4 Fixed
redhat/unbound-main(Red Hat hummingbird 1) < 1.25.2-0.1.hum1 1.25.2-0.1.hum1 Fixed
ubuntu/unbound(Ubuntu 26.04) < 1.24.2-1ubuntu2.4 1.24.2-1ubuntu2.4 Fixed
ubuntu/unbound(Ubuntu 26.10) < 1.25.1-1ubuntu3.1 1.25.1-1ubuntu3.1 Fixed

Affected products

ProductAffected versionsFixed in
NLnet Labs Unbound >= 1.23.0, < 1.25.2 1.25.2
redhat/unbound(Red Hat:enterprise_linux:10.2) < 1.24.2-7.el10_2.4 1.24.2-7.el10_2.4
redhat/unbound(Red Hat:enterprise_linux:9) < 1.24.2-3.el9_8.4 1.24.2-3.el9_8.4
redhat/openshift/ose-rhel-coreos(Red Hat:openshift:4.22::el9) < 9:4.22.9.8.202608251819-0 9:4.22.9.8.202608251819-0
redhat/openshift/ose-rhel-coreos(Red Hat:openshift:4.22::el9) < 9:4.22.9.8.202609081748-0 9:4.22.9.8.202609081748-0
redhat/unbound-main(Red Hat:hummingbird:1) < 1.25.2-0.1.hum1 1.25.2-0.1.hum1
redhat/openshift/ose-rhel-coreos-9(Red Hat:openshift:5) All versions No fix listed
alpine/unbound(Alpine:v3.22) >= 1.23.0, < 1.25.2-r0 1.25.2-r0
alpine/unbound(Alpine:v3.23) >= 1.23.0, < 1.25.2-r0 1.25.2-r0
alpine/unbound(Alpine:v3.24) >= 1.23.0, < 1.25.2-r0 1.25.2-r0
nlnetlabs unbound >= 1.23.0, < 1.25.2 1.25.2
ubuntu/unbound(Ubuntu:26.04) < 1.24.2-1ubuntu2.4 1.24.2-1ubuntu2.4
ubuntu/unbound(Ubuntu:26.10) < 1.25.1-1ubuntu3.1 1.25.1-1ubuntu3.1
azure linux unbound(Azure Linux:3.0) < 1.25.2-1 1.25.2-1
debian/unbound(Debian:13) < 1.26.1-0+deb13u1 1.26.1-0+deb13u1
debian/unbound(Debian:13) = 1.22.0-2 No fix listed
debian/unbound(Debian:13) = 1.22.0-2+deb13u1 No fix listed
debian/unbound(Debian:13) = 1.22.0-2+deb13u2 No fix listed
debian/unbound(Debian:13) = 1.22.0-2+deb13u3 No fix listed
debian/unbound(Debian:13) = 1.23.1-1 No fix listed
debian/unbound(Debian:13) = 1.24.0-1 No fix listed
debian/unbound(Debian:13) = 1.24.0-2 No fix listed
debian/unbound(Debian:13) = 1.24.1-1 No fix listed
debian/unbound(Debian:13) = 1.24.1-2 No fix listed
debian/unbound(Debian:13) = 1.24.2-1 No fix listed
Show 15 more
ProductAffected versionsFixed in
debian/unbound(Debian:13) = 1.25.0-1 No fix listed
debian/unbound(Debian:13) = 1.25.1-1 No fix listed
debian/unbound(Debian:13) = 1.25.2-1 No fix listed
debian/unbound(Debian:13) = 1.26.0-1 No fix listed
debian/unbound(Debian:13) = 1.26.0-2 No fix listed
debian/unbound(Debian:14) < 1.25.2-1 1.25.2-1
debian/unbound(Debian:14) = 1.22.0-2 No fix listed
debian/unbound(Debian:14) = 1.23.1-1 No fix listed
debian/unbound(Debian:14) = 1.24.0-1 No fix listed
debian/unbound(Debian:14) = 1.24.0-2 No fix listed
debian/unbound(Debian:14) = 1.24.1-1 No fix listed
debian/unbound(Debian:14) = 1.24.1-2 No fix listed
debian/unbound(Debian:14) = 1.24.2-1 No fix listed
debian/unbound(Debian:14) = 1.25.0-1 No fix listed
debian/unbound(Debian:14) = 1.25.1-1 No fix listed

References