# CVE-2026-55991: Remote DNS-over-QUIC (DoQ) flow-control assertion failure in libngtcp2

- Severity: Medium 5.9 (CVSS:3.1, scored by NLnet Labs) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-01)
- Published: 2026-07-22T13:10:13.235Z
- Modified: 2026-10-24T13:10:00.147Z
- Weaknesses: CWE-195
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: NLnet Labs

## Description

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.

(As written by CVE List.)

## Affected

- NLnet Labs Unbound: from 1.22.0 before 1.25.2
- nlnetlabs unbound: from 1.22.0 before 1.25.2

## References

- <https://www.nlnetlabs.nl/downloads/unbound/CVE-2026-55991.txt> (vendor-advisory)

## Sources

- CVE List: [CVE-2026-55991](https://www.cve.org/CVERecord?id=CVE-2026-55991), CVE Terms of Use, modified 2026-09-16
- NVD: [CVE-2026-55991](https://nvd.nist.gov/vuln/detail/CVE-2026-55991), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-55991 · Whole record: https://cve.day/CVE-2026-55991.json · Rebuilt by cve.day 2026-11-25T22:59:29.829Z
