{"id":"DHI-5kqr-zwzy-m42t-cd3i","summary":"In NLnet Labs Unbound up to and including version 1.25.1, when the validator builds the canonical RDATA form for an…","details":"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-\u003escratch_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.","modified":"2026-11-21T17:30:08.593638713Z","published":"2026-11-11T15:55:45Z","upstream":["CVE-2026-56416"],"references":[{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-5kqr-zwzy-m42t-cd3i"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-56416"},{"type":"ADVISORY","url":"https://www.nlnetlabs.nl/downloads/unbound/CVE-2026-56416.txt"},{"type":"ADVISORY","url":"https://errata.almalinux.org/9/ALSA-2026-97497.html"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:97497"},{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2026-56416"},{"type":"ADVISORY","url":"https://alas.aws.amazon.com/AL2023/ALAS-2026-2033.html"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-56416"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-55717"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-55708"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-50252"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-50251"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-50248"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-50243"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-50046"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-46582"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-44690"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-44687"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-44621"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-42955"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-56416"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2026-56416"},{"type":"ADVISORY","url":"https://errata.rockylinux.org/RLSA-2026:97121"},{"type":"ADVISORY","url":"https://errata.rockylinux.org/RLSA-2026:97497"},{"type":"ADVISORY","url":"https://ubuntu.com/security/CVE-2026-56416"},{"type":"ADVISORY","url":"http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-56416"}],"affected":[{"package":{"name":"unbound","ecosystem":"Docker Hardened Images:Alpine:3.23","purl":"pkg:apk/dhi/unbound"},"versions":["1.24.2-r0","1.25.2-r0","1.25.2-r1","1.25.2-r2","1.25.2-r3"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-5kqr-zwzy-m42t-cd3i.json"}},{"package":{"name":"unbound","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/unbound"},"versions":["1.25.1-r0","1.25.2-r0","1.25.2-r1","1.25.2-r2","1.25.2-r3","1.25.2-r4"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-5kqr-zwzy-m42t-cd3i.json"}},{"package":{"name":"unbound","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/unbound"},"versions":["1.22.0-2+deb13u3+dhi0","1.22.0-2+deb13u3+dhi1","1.26.1-0+deb13u1+dhi0","1.26.2-0+deb13u1+dhi0"],"database_specific":{"source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-5kqr-zwzy-m42t-cd3i.json","owner_kind":"HSP"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L"}]}