DHI-5we4-ed7s-qclg-bnos

Source
https://scout.docker.com/v/DHI-5we4-ed7s-qclg-bnos
Import Source
https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-5we4-ed7s-qclg-bnos.json
JSON Data
https://api.osv.dev/v1/vulns/DHI-5we4-ed7s-qclg-bnos
Upstream
Published
2026-11-11T15:55:45Z
Modified
2026-11-16T02:34:23Z
Severity
  • 5.9 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
In NLnet Labs Unbound 1.22.0 up to and including 1.25.1, a remote unauthenticated client can trigger a libngtcp2…
Details

In NLnet Labs Unbound 1.22.0 up to and including 1.25.1, a remote unauthenticated client can trigger a libngtcp2 assertion (if compiled with assertions on) and terminate the entire Unbound process using a single DNS-over-QUIC (DoQ) connection and one normal DNS query. This is caused by an erroneous error value passed to libngtcp2. When 'ngtcp2_conn_writev_stream()' returns 'NGTCP2_ERR_STREAM_DATA_BLOCKED', Unbound continues to call 'ngtcp2_ccerr_set_application_error()' with a '-1' error value. The 'int' literal '-1' is implicitly converted to the function's 'uint64_t error_code' parameter as '0xFFFFFFFFFFFFFFFF'. The follow-on 'ngtcp2_conn_write_connection_close()' serialises that value as a QUIC variable-length integer; because '2^64-1' exceeds the 62-bit varint ceiling, 'ngtcp2_put_uvarintlen()' fails 'assert(n < 4611686018427387904ULL)' and the whole resolver process aborts. A remote, unauthenticated DoQ client can trigger this deterministically with a single QUIC connection by advertising 'initial_max_stream_data_bidi_local = 1' in its transport parameters and sending one DoQ query without ever reading the stream.

References

Affected packages

Docker Hardened Images:Debian:13 / unbound

Package

Name
unbound
Purl
pkg:deb/dhi/unbound

Affected ranges

Affected versions

1.*
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

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-5we4-ed7s-qclg-bnos.json"