{"id":"CVE-2026-12708","summary":"Unbounded HTTP/3 Datagram flow map growth in tokio-quiche","details":"Summary\n\n\nCloudflare tokio-quiche was found to contain an uncontrolled resource consumption vulnerability in its HTTP/3 DATAGRAM handling. For every previously unseen flow identifier (quarter stream ID) received in a DATAGRAM frame, tokio-quiche creates and retains new, per-flow state. A remote peer can send DATAGRAMs with many distinct identifiers, causing the per-connection flow map and associated channel state to grow without bound.\n\nImpact\n\n\nExploitation can exhaust process memory and cause a denial of service. The vulnerable code is used in both client and server configurations, so either role can be affected by a malicious peer. QUIC DATAGRAM support in tokio-quiche is enabled by default through QuicSettings::enable_dgram; applications can disable it by setting this field to false. The vulnerable HTTP/3 path is reachable only when DATAGRAM support is negotiated with the peer. Core quiche and HTTP/3 deployments without DATAGRAM support are not affected. \n\n\n\n\n\n\nMitigation\n\n\nDisable DATAGRAMs in tokio-quiche’s QuicSettings::enable_dgram.\n\n\n\n\n\n\nRemediation\n\n\nUpgrade to tokio-quiche version 0.23.0 or later. The fixed code creates flow state only for valid DATAGRAM-capable request streams, which are bounded by QUIC’s stream limits. To tolerate packet reordering, servers retain early DATAGRAMs in a bounded, expiring buffer, while clients discard DATAGRAMs for unknown flows.","aliases":["GHSA-wcm9-jv39-r963"],"modified":"2026-11-15T02:30:31.712089664Z","published":"2026-11-10T13:25:09.558Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/12xxx/CVE-2026-12708.json","cna_assigner":"cloudflare","cwe_ids":["CWE-401"]},"references":[{"type":"WEB","url":"https://github.com/cloudflare/quiche/tree/master/tokio-quiche"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-12708"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/12xxx/CVE-2026-12708.json"},{"type":"ADVISORY","url":"https://github.com/cloudflare/quiche/security/advisories/GHSA-wcm9-jv39-r963"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-12708"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/cloudflare/quiche","events":[{"introduced":"0"},{"last_affected":"925b225825e2188f8e58e359114150500557bf61"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0.0.1"},{"last_affected":"0.20.1"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"}]}}],"versions":["tokio-quiche-0.20.1","qlog-0.18.1","datagram-socket-0.8.1","h3i-0.7.0","tokio-quiche-0.20.0","0.30.0","octets-0.3.7","tokio-quiche-0.19.1","0.29.3","octets-0.3.6","0.29.2","0.29.1","tokio-quiche-0.19.0","0.29.0","qlog-0.18.0","tokio-quiche-0.18.0","0.28.0","qlog-0.17.0","0.27.0","datagram-socket-0.8.0","0.26.1","tokio-quiche-0.16.0","0.26.0","octets-0.3.5","tokio-quiche-0.15.0","0.25.0","task-killswitch-0.2.1","datagram-socket-0.7.0","qlog-0.16.0","tokio-quiche-0.14.2","0.24.9","buffer-pool-0.2.1","tokio-quiche-0.14.1","datagram-socket-0.6.0","tokio-quiche-0.14.0","h3i-0.6.0","buffer-pool-0.2.0","0.24.8","tokio-quiche-0.13.0","0.24.7","octets-0.3.4","tokio-quiche-0.12.0","task-killswitch-0.2.0","tokio-quiche-0.11.0","netlog-0.1.0","task-killswitch-0.1.1","tokio-quiche-0.10.0","octets-0.3.3","octets-0.3.2","octets-0.3.1","tokio-quiche-0.9.0","datagram-socket-0.5.0","tokio-quiche-0.8.0","tokio-quiche-0.7.1","tokio-quiche-0.7.0","tokio-quiche-0.6.1","0.24.6","datagram-socket-0.4.0","0.21.0","0.24.5","tokio-quiche-0.6.0","tokio-quiche-0.5.0","0.24.4","0.24.3","datagram-socket-0.3.0","0.24.2","tokio-quiche-0.4.2","tokio-quiche-0.4.1","0.24.1","tokio-quiche-0.4.0","0.24.0","tokio-quiche-0.3.2","0.23.7","qlog-0.15.2","tokio-quiche-0.3.1","0.23.6","0.23.5","tokio-quiche-0.3.0","datagram-socket-0.2.0","tokio-quiche-0.2.2","datagram-socket-0.1.1","h3i-0.4.0","0.23.4","0.23.3","qlog-0.15.1","tokio-quiche-0.2.1","tokio-quiche-0.2.0","tokio-quiche-0.1.0","task-killswitch-0.1.0","datagram-socket-0.1.0","buffer-pool-0.1.0","0.23.2","h3i-0.3.0","0.23.1","qlog-0.15.0","0.23.0","qlog-0.14.0","h3i-0.2.0","0.22.0","qlog-0.13.0","0.20.0","qlog-0.12.0","octets-0.3.0","qlog-0.11.0","0.19.0","qlog-0.10.0","0.18.0","0.17.2","0.17.1","qlog-0.9.0","0.16.0","0.15.0","qlog-0.8.0","octets-0.2.0","0.14.0","qlog-0.7.0","0.13.0","0.12.0","0.11.0","qlog-0.6.0","0.10.0","qlog-0.5.0","0.9.0","0.8.1","0.8.0","0.7.0","qlog-0.4.0","0.6.0","0.5.1","0.5.0","qlog-0.3.0","0.4.0","qlog-0.2.0","0.3.0","0.2.0","0.1.0","0.1.0-alpha4","0.1.0-alpha3","0.1.0-alpha2","0.1.0-alpha1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-12708.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}]}