DEBIAN-CVE-2026-56416

Source
https://security-tracker.debian.org/tracker/CVE-2026-56416
Import Source
https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-56416.json
JSON Data
https://api.osv.dev/v1/vulns/DEBIAN-CVE-2026-56416
Upstream
Published
2026-07-22T14:17:22Z
Modified
2026-09-19T17:00:09Z
Severity
  • 4.8 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L CVSS Calculator
Summary
[none]
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->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.

References

Affected packages

Debian:12 / unbound

Package

Name
unbound
Purl
pkg:deb/debian/unbound?arch=source&distro=bookworm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.17.1-2
1.17.1-2+deb12u1
1.17.1-2+deb12u2
1.17.1-2+deb12u3
1.17.1-2+deb12u4
1.17.1-2+loong64
1.18.0-1
1.18.0-2
1.19.1-1
1.19.2-1
1.20.0-1
1.21.1-1
1.22.0-1
1.22.0-2
1.23.1-1
1.24.0-1
1.24.0-2
1.24.1-1
1.24.1-2
1.24.2-1
1.25.0-1
1.25.1-1
1.25.2-1
1.26.0-1
1.26.0-2
1.26.1-1

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-56416.json"

Debian:13 / unbound

Package

Name
unbound
Purl
pkg:deb/debian/unbound?arch=source&distro=trixie

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.26.1-0+deb13u1

Affected versions

1.*
1.22.0-2
1.22.0-2+deb13u1
1.22.0-2+deb13u2
1.22.0-2+deb13u3
1.23.1-1
1.24.0-1
1.24.0-2
1.24.1-1
1.24.1-2
1.24.2-1
1.25.0-1
1.25.1-1
1.25.2-1
1.26.0-1
1.26.0-2

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-56416.json"

Debian:14 / unbound

Package

Name
unbound
Purl
pkg:deb/debian/unbound?arch=source&distro=forky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.25.2-1

Affected versions

1.*
1.22.0-2
1.23.1-1
1.24.0-1
1.24.0-2
1.24.1-1
1.24.1-2
1.24.2-1
1.25.0-1
1.25.1-1

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-56416.json"