{"id":"CVE-2026-55991","aliases":["CVE-2026-55991"],"related":[],"kind":"vulnerability","state":"published","title":"Remote DNS-over-QUIC (DoQ) flow-control assertion failure in libngtcp2","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"En NLnet Labs Unbound 1.22.0 hasta la versión 1.25.1 inclusive, un cliente remoto no autenticado puede activar una aserción de libngtcp2 (si se compila con aserciones activadas) y terminar todo el proceso de Unbound utilizando una única conexión DNS-over-QUIC (DoQ) y una consulta DNS normal. Esto es causado por un valor de error erróneo pasado a libngtcp2. Cuando ’ngtcp2_conn_writev_stream()’ devuelve ’NGTCP2_ERR_STREAM_DATA_BLOCKED’, Unbound continúa llamando a ’ngtcp2_ccerr_set_application_error()’ con un valor de error de ’-1’. El literal ’int’ ’-1’ se convierte implícitamente al parámetro ’uint64_t error_code’ de la función como ’0xFFFFFFFFFFFFFFFF’. La subsiguiente ’ngtcp2_conn_write_connection_close()’ serializa ese valor como un entero de longitud variable QUIC; debido a que ’2^64-1’ excede el límite de varint de 62 bits, ’ngtcp2_put_uvarintlen()’ falla en ’assert(n < 4611686018427387904ULL)’ y todo el proceso del resolvedor se aborta. Un cliente DoQ remoto no autenticado puede activar esto de forma determinista con una única conexión QUIC al anunciar ’initial_max_stream_data_bidi_local = 1’ en sus parámetros de transporte y enviando una consulta DoQ sin leer nunca el flujo.","source":"nvd"}],"published":"2026-07-22T13:10:13.235Z","modified":"2026-10-24T13:10:00.147Z","severity":{"scorer":"NLnet Labs","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.9,"rating":"MEDIUM"},"severities":[{"scorer":"NLnet Labs","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.9,"rating":"MEDIUM"}],"cwes":["CWE-195"],"affected":[{"ranges":[{"type":"semver","introduced":"1.22.0","fixed":"1.25.2","status":"affected"}],"vendor":"NLnet Labs","product":"Unbound","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"1.22.0","fixed":"1.25.2"}],"vendor":"nlnetlabs","product":"unbound","cpe":"cpe:2.3:a:nlnetlabs:unbound:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://www.nlnetlabs.nl/downloads/unbound/CVE-2026-55991.txt","tags":["vendor-advisory"],"sources":["cvelist","nvd"]}],"credits":["Qifan Zhang (Palo Alto Networks)","Xuanchao Xie (University of Science and Technology of China)","Lutong Chen (University of Science and Technology of China)","Kaiping Xue (University of Science and Technology of China)"],"assigner":"NLnet Labs","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-07-22T14:01:59.779Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-55991","url":"https://www.cve.org/CVERecord?id=CVE-2026-55991","licence":"CVE Terms of Use","modified":"2026-09-16T14:24:57.805Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-55991","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55991","licence":"Public domain","modified":"2026-10-24T13:10:00.147Z"}],"updatedAt":"2026-11-25T22:59:29.829Z","epss":{"score":0.00237,"percentile":0.15809,"date":"2026-12-01T12:00:22.000Z"}}