{"id":"CVE-2026-55991","published":"2026-07-22T13:10:13Z","modified":"2026-09-16T14:24:57Z","title":"Remote DNS-over-QUIC (DoQ) flow-control assertion failure in libngtcp2","vendor":"NLnet Labs","product":"Unbound","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00365,"percentile":0.22534,"provenance":"source"},"cwes":[{"id":"CWE-195","name":"Signed to Unsigned Conversion Error"}],"references":[{"url":"https://www.nlnetlabs.nl/downloads/unbound/CVE-2026-55991.txt","tags":["vendor-advisory"]}],"priority":{"score":8.6,"factors":[{"name":"EPSS percentile","points":4.51},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"nlnet-labs","affectedVersions":[{"vendor":"NLnet Labs","product":"Unbound","versions":[">= 1.22.0, < 1.25.2"]}],"solutions":{"items":["This issue is fixed starting with version 1.25.2"],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-22T14:01:59.779165Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-47683","exploited":false,"provenance":"source"}}