CVE-2026-56416 json
Possible heap buffer overflow when validator canonicalizes RDATA that contains domain name
published 2026-07-22 3 mo ago modified 2026-10-24 16 d ago also EUVD-2026-47684
- cvss
- 4.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.1%
- EPSS 0.1% chance of exploitation in 30 days, percentile 2%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- NLnet Labs Unbound 1.25.2
- unbound Debian 13 1.26.1-0+deb13u1
- unbound Debian 14 1.25.2-1
debian advisories DEBIAN-CVE-2026-56416
- unbound hummingbird 1 1.25.2-0.1.hum1
- unbound-libs hummingbird 1 1.25.2-0.1.hum1
- unbound-munin hummingbird 1 1.25.2-0.1.hum1
- unbound-utils hummingbird 1 1.25.2-0.1.hum1
- unbound-anchor hummingbird 1 1.25.2-0.1.hum1
- unbound-dracut hummingbird 1 1.25.2-0.1.hum1
- python3-unbound hummingbird 1 1.25.2-0.1.hum1
red hat advisories RHSA-2026:43588
- unbound SLES for SAP 15 SP6, SLES 15 SP6-LTSS, SLE Module for Package Hub 15 SP7 +1 more 1.25.2-150600.23.19.1
- unbound SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES 15 SP5-LTSS +6 more 1.25.2-150100.10.28.1
- unbound Linux Micro 6.0 1.25.2-1.1
- unbound Linux Micro 6.1 1.25.2-slfo.1.1_1.1
- unbound SLES 16.0, Linux Micro 6.2, SLES for SAP applications 16.0 1.25.2-160000.1.1
suse advisories SUSE-SU-2026:3885-1SUSE-SU-2026:3884-1SUSE-SU-2026:23360-1SUSE-SU-2026:23349-1SUSE-SU-2026:23050-1SUSE-SU-2026:23215-1
- unbound openSUSE Leap 16.0 1.25.2-160000.1.1
- unbound openSUSE Tumbleweed 1.25.2-1.1
opensuse advisories openSUSE-SU-2026:21550-1openSUSE-SU-2026:11380-1
- unbound Alpine 3.24, Alpine 3.23, Alpine 3.22 1.25.2-r0
alpine advisories ALPINE-CVE-2026-56416
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-56416 updated cvss 4.8
unbound: Unbound: Heap buffer overflow via malformed DNSSEC record
-
Red Hat Enterprise Linux 6 unbound, unbound-libs, unbound-python Red Hat Enterprise Linux 7 unbound, unbound-libs, unbound-pythonaffected: workaround, no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 8 unbound, unbound-libs, python3-unbound Red Hat Enterprise Linux 9 unbound, unbound-libs, unbound-dracut, python3-unbound Red Hat Enterprise Linux 10 unbound Red Hat OpenShift Container Platform 4 openshift/ose-rhel-coreos-8, openshift/ose-rhel-coreos-9 Red Hat OpenShift Container Platform 5 openshift/ose-rhel-coreos-9affected: workaround, no fix available “Fix deferred”
-
Red Hat Hardened Images unbound 1.25.2-0.1.hum1, unbound-libs 1.25.2-0.1.hum1, unbound-munin 1.25.2-0.1.hum1, unbound-utils 1.25.2-0.1.hum1, unbound-anchor 1.25.2-0.1.hum1, unbound-dracut 1.25.2-0.1.hum1, +1 morefixed: vendor fix RHSA-2026:43588
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 3 mo ago
Exploit prediction
0.12% chance of exploitation in the next 30 days, higher than 2% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L |
Affected products
- NLnet Labs Unbound
Classification
- Weakness
-
- CWE-354 Improper Validation of Integrity Check Value
References
-
nlnetlabs.nl
/downloads/unbound/CVE-2026-56416.txt
vendor-advisory
Sources
- CVE List CVE-2026-56416
- NVD CVE-2026-56416
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.