CVE-2026-56416
Fixed in a distro release EPSS <1%CVSS 4.8
In NLnet Labs Unbound up to and including version 1.25.1, when the validator builds the canonical RDATA form for an RRSIG-covered PX/RP/MINFO/SOA RRset, it computes the address of the second embedded domain name as 'datstart + dname_valid(datstart, ...)' and passes it straight to 'query_dname_tolower()' without checking that a second name is actually present in the RDATA. The wire-format parser accepts multi-dname RRs whose RDATA ends after the first name, so an attacker who runs a DNSSEC-signed authoritative server can deliver a record with an absent second domain name (e.g. SOA record) and cause 'query_dname_tolower()' to walk label-by-label through stale bytes in the per-worker 'env->scratch_buffer', past the end of that heap allocation if 'msg-buffer-size' has been lowered from the default. This leads to heap buffer overflow and on a release build the outcome relies heavily on the contents of the buffer tail and the adjacent heap chunk.
Products: NLnet Labs unbound
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Alpine 3.22 | unbound | 1.25.2-r0 |
| Alpine 3.23 | unbound | 1.25.2-r0 |
| Alpine 3.24 | unbound | 1.25.2-r0 |
| Amazon Linux 2023 | python3-unbound | 1.17.1-1.amzn2023.0.13 |
| Amazon Linux 2023 | unbound | 1.17.1-1.amzn2023.0.13 |
| Amazon Linux 2023 | unbound-anchor | 1.17.1-1.amzn2023.0.13 |
| Amazon Linux 2023 | unbound-devel | 1.17.1-1.amzn2023.0.13 |
| Amazon Linux 2023 | unbound-libs | 1.17.1-1.amzn2023.0.13 |
| Amazon Linux 2023 | unbound-utils | 1.17.1-1.amzn2023.0.13 |
| Debian 12 | unbound | no fix |
| Debian 13 | unbound | 1.26.1-0+deb13u1 |
| Debian 14 | unbound | 1.25.2-1 |
| Red Hat hummingbird 1 | python3-unbound | 0:1.25.2-0.1.hum1 |
| Red Hat hummingbird 1 | unbound | 0:1.25.2-0.1.hum1 |
| Red Hat hummingbird 1 | unbound-anchor | 0:1.25.2-0.1.hum1 |
| Red Hat hummingbird 1 | unbound-devel | 0:1.25.2-0.1.hum1 |
| Red Hat hummingbird 1 | unbound-dracut | 0:1.25.2-0.1.hum1 |
| Red Hat hummingbird 1 | unbound-libs | 0:1.25.2-0.1.hum1 |
| Red Hat hummingbird 1 | unbound-munin | 0:1.25.2-0.1.hum1 |
| Red Hat hummingbird 1 | unbound-utils | 0:1.25.2-0.1.hum1 |
| SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | unbound | 1.25.2-150100.10.28.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | unbound | 1.25.2-150100.10.28.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS | unbound | 1.25.2-150100.10.28.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | unbound | 1.25.2-150100.10.28.1 |
| SUSE Linux Enterprise Micro 5.5 | unbound | 1.25.2-150100.10.28.1 |
| SUSE Linux Enterprise Module for Basesystem 15 SP7 | unbound | 1.25.2-150600.23.19.1 |
| SUSE Linux Enterprise Module for Package Hub 15 SP7 | unbound | 1.25.2-150600.23.19.1 |
| SUSE Linux Enterprise Server 15 SP4-LTSS | unbound | 1.25.2-150100.10.28.1 |
| SUSE Linux Enterprise Server 15 SP5-LTSS | unbound | 1.25.2-150100.10.28.1 |
| SUSE Linux Enterprise Server 15 SP6-LTSS | unbound | 1.25.2-150600.23.19.1 |
| SUSE Linux Enterprise Server 16.0 | unbound | 1.25.2-160000.1.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | unbound | 1.25.2-150100.10.28.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | unbound | 1.25.2-150100.10.28.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | unbound | 1.25.2-150600.23.19.1 |
| SUSE Linux Enterprise Server for SAP applications 16.0 | unbound | 1.25.2-160000.1.1 |
| SUSE Linux Micro 6.0 | unbound | 1.25.2-1.1 |
| SUSE Linux Micro 6.1 | unbound | 1.25.2-slfo.1.1_1.1 |
| SUSE Linux Micro 6.2 | unbound | 1.25.2-160000.1.1 |
| Ubuntu 22.04 LTS | unbound | no fix |
| Ubuntu 24.04 LTS | unbound | no fix |
| Ubuntu 26.04 LTS | unbound | no fix |
| Ubuntu 26.10 | unbound | no fix |
| Ubuntu Pro 14.04 LTS | unbound | no fix |
| Ubuntu Pro 16.04 LTS | unbound | no fix |
| Ubuntu Pro 18.04 LTS | unbound | no fix |
| Ubuntu Pro 20.04 LTS | unbound | no fix |
| openSUSE Leap 16.0 | unbound | 1.25.2-160000.1.1 |
| openSUSE Tumbleweed | unbound | 1.25.2-1.1 |