CVE-2026-56416Possible heap buffer overflow when validator canonicalizes RDATA that contains domain name
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.
What to do
Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux: see the table below for the fixed version per release.
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | unbound | Fix pending | UBUNTU-CVE-2026-56416 | |
| Ubuntu 26.04 | unbound | Under investigation | UBUNTU-CVE-2026-56416 | |
| Ubuntu 24.04 | unbound | Under investigation | UBUNTU-CVE-2026-56416 | |
| Ubuntu 22.04 | unbound | Under investigation | UBUNTU-CVE-2026-56416 | |
| Ubuntu 20.04 | unbound | Fix pending | UBUNTU-CVE-2026-56416 | |
| Ubuntu 18.04 | unbound | Fix pending | UBUNTU-CVE-2026-56416 | |
| Ubuntu 16.04 | unbound | Fix pending | UBUNTU-CVE-2026-56416 | |
| Ubuntu 14.04 | unbound | Fix pending | UBUNTU-CVE-2026-56416 | |
| Debian 14 | unbound | Fixed | 1.25.2-1 | DEBIAN-CVE-2026-56416 |
| Debian 13 | unbound | Fixed | 1.26.1-0+deb13u1 | DEBIAN-CVE-2026-56416 |
| Debian 12 | unbound | Fix pending | DEBIAN-CVE-2026-56416 | |
| Red Hat Enterprise Linux 10 | python3-unbound | Fixed | 0:1.26.1-2.el10_3 | RHSA-2026:97121 |
| Red Hat Enterprise Linux 10 | unbound | Fixed | 0:1.26.1-2.el10_3 | RHSA-2026:97121 |
| Red Hat Enterprise Linux 10 | unbound-anchor | Fixed | 0:1.26.1-2.el10_3 | RHSA-2026:97121 |
| Red Hat Enterprise Linux 10 | unbound-devel | Fixed | 0:1.26.1-2.el10_3 | RHSA-2026:97121 |
| Red Hat Enterprise Linux 10 | unbound-dracut | Fixed | 0:1.26.1-2.el10_3 | RHSA-2026:97121 |
| Red Hat Enterprise Linux 10 | unbound-libs | Fixed | 0:1.26.1-2.el10_3 | RHSA-2026:97121 |
| Red Hat Enterprise Linux 10 | unbound-utils | Fixed | 0:1.26.1-2.el10_3 | RHSA-2026:97121 |
| Red Hat Enterprise Linux 9 | python3-unbound | Fixed | 0:1.26.1-1.el9_9 | RHSA-2026:97497 |
| Red Hat Enterprise Linux 9 | unbound | Fixed | 0:1.26.1-1.el9_9 | RHSA-2026:97497 |
| Red Hat Enterprise Linux 9 | unbound-devel | Fixed | 0:1.26.1-1.el9_9 | RHSA-2026:97497 |
| Red Hat Enterprise Linux 9 | unbound-dracut | Fixed | 0:1.26.1-1.el9_9 | RHSA-2026:97497 |
| Red Hat Enterprise Linux 9 | unbound-libs | Fixed | 0:1.26.1-1.el9_9 | RHSA-2026:97497 |
| Red Hat Enterprise Linux 8 | python3-unbound | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | unbound | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | unbound-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | unbound-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | unbound | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | unbound-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | unbound-libs | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | unbound-python | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | unbound | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | unbound-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | unbound-libs | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | unbound-python | Will not fix Out of support scope | ||
| AlmaLinux 10 | python3-unbound | Fixed | 1.26.1-2.el10_3 | ALSA-2026:97121 |
| AlmaLinux 10 | unbound | Fixed | 1.26.1-2.el10_3 | ALSA-2026:97121 |
| AlmaLinux 10 | unbound-anchor | Fixed | 1.26.1-2.el10_3 | ALSA-2026:97121 |
| AlmaLinux 10 | unbound-devel | Fixed | 1.26.1-2.el10_3 | ALSA-2026:97121 |
| AlmaLinux 10 | unbound-dracut | Fixed | 1.26.1-2.el10_3 | ALSA-2026:97121 |
| AlmaLinux 10 | unbound-libs | Fixed | 1.26.1-2.el10_3 | ALSA-2026:97121 |
| AlmaLinux 10 | unbound-utils | Fixed | 1.26.1-2.el10_3 | ALSA-2026:97121 |
| AlmaLinux 9 | python3-unbound | Fixed | 1.26.1-1.el9_9 | ALSA-2026:97497 |
| AlmaLinux 9 | unbound | Fixed | 1.26.1-1.el9_9 | ALSA-2026:97497 |
| AlmaLinux 9 | unbound-devel | Fixed | 1.26.1-1.el9_9 | ALSA-2026:97497 |
| AlmaLinux 9 | unbound-dracut | Fixed | 1.26.1-1.el9_9 | ALSA-2026:97497 |
| AlmaLinux 9 | unbound-libs | Fixed | 1.26.1-1.el9_9 | ALSA-2026:97497 |
| Rocky Linux 10 | python3-unbound | Fixed | 0:1.26.1-2.el10_3 | RLSA-2026:97121 |
| Rocky Linux 10 | unbound | Fixed | 0:1.26.1-2.el10_3 | RLSA-2026:97121 |
| Rocky Linux 10 | unbound-anchor | Fixed | 0:1.26.1-2.el10_3 | RLSA-2026:97121 |
| Rocky Linux 10 | unbound-devel | Fixed | 0:1.26.1-2.el10_3 | RLSA-2026:97121 |
| Rocky Linux 10 | unbound-dracut | Fixed | 0:1.26.1-2.el10_3 | RLSA-2026:97121 |
| Rocky Linux 10 | unbound-libs | Fixed | 0:1.26.1-2.el10_3 | RLSA-2026:97121 |
| Rocky Linux 10 | unbound-utils | Fixed | 0:1.26.1-2.el10_3 | RLSA-2026:97121 |
| Rocky Linux 9 | python3-unbound | Fixed | 0:1.26.1-1.el9_9 | RLSA-2026:97497 |
| Rocky Linux 9 | unbound | Fixed | 0:1.26.1-1.el9_9 | RLSA-2026:97497 |
| Rocky Linux 9 | unbound-devel | Fixed | 0:1.26.1-1.el9_9 | RLSA-2026:97497 |
| Rocky Linux 9 | unbound-dracut | Fixed | 0:1.26.1-1.el9_9 | RLSA-2026:97497 |
| Rocky Linux 9 | unbound-libs | Fixed | 0:1.26.1-1.el9_9 | RLSA-2026:97497 |
| Alpine Linux 3.24 | unbound | Fixed | 1.25.2-r0 | ALPINE-CVE-2026-56416 |
| Alpine Linux 3.23 | unbound | Fixed | 1.25.2-r0 | ALPINE-CVE-2026-56416 |
| Alpine Linux 3.22 | unbound | Fixed | 1.25.2-r0 | ALPINE-CVE-2026-56416 |
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.
- NLnet Labs Unbound: affected: before 1.25.2; fixed in
1.25.2
Solution: This issue is fixed starting with version 1.25.2
Vendor advisories:
- https://www.nlnetlabs.nl/downloads/unbound/CVE-2026-56416.txt (vendor-advisory)
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.