{"id":"CVE-2026-55991","sourceIdentifier":"sep@nlnetlabs.nl","published":"2026-07-22T14:17:21.957","lastModified":"2026-10-24T13:10:00.147","vulnStatus":"Analyzed","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"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."}],"affected":[{"source":"sep@nlnetlabs.nl","affectedData":[{"vendor":"NLnet Labs","product":"Unbound","defaultStatus":"unaffected","versions":[{"version":"1.22.0","lessThan":"1.25.2","versionType":"semver","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"sep@nlnetlabs.nl","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":5.9,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":2.2,"impactScore":3.6}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-07-22T14:01:59.779165Z","id":"CVE-2026-55991","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"sep@nlnetlabs.nl","type":"Secondary","description":[{"lang":"en","value":"CWE-195"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:nlnetlabs:unbound:*:*:*:*:*:*:*:*","versionStartIncluding":"1.22.0","versionEndExcluding":"1.25.2","matchCriteriaId":"0C48102E-1D81-4A87-898D-F1CE83C78D26"}]}]}],"references":[{"url":"https://www.nlnetlabs.nl/downloads/unbound/CVE-2026-55991.txt","source":"sep@nlnetlabs.nl","tags":["Vendor Advisory"]}]}