Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend crafted QUIC connection or migration packets
-
DeliveryApplication invokes vulnerable FFI iterator function
-
ExploitRust drops owned ConnectionId at function scope exit
-
ExecutionCaller dereferences freed memory pointer
-
ImpactProcess crash (DoS) or adjacent heap contents exposed via SCID handling
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires two mandatory, non-default prerequisites that must both be true simultaneously. First, the target application must have been compiled with Quiche's FFI build-time feature flag explicitly enabled - this is not the default, and any application built without it is completely immune. Second, the application's code must actually invoke either quiche_connection_id_iter_next or quiche_conn_retired_scid_next in an active code path. The network trigger is a QUIC interaction (connection establishment, migration, or SCID retirement) that causes the application to call these FFI iterator functions; a remote peer can influence this by initiating or migrating QUIC connections. No authentication is required from the attacker's perspective (PR:N per CVSS vector). What limits exploitation: the opt-in FFI feature flag is the single most effective barrier - the vast majority of Quiche deployments are unaffected. Additionally, the UAF outcome is non-deterministic and heavily dependent on allocator state at dereference time, making reliable, controlled exploitation (e.g., for code execution) unlikely; crash-based DoS is the practical ceiling for most attackers. |
| Impact | Real-world risk is moderate and heavily gated by a mandatory non-default build prerequisite. The CVSS vector AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L is internally consistent: the vulnerability is remotely triggerable without authentication, but High complexity reflects the explicit opt-in FFI feature flag that must be present at build time - the overwhelming majority of Quiche deployments never enable it and are entirely unaffected regardless of version. No EPSS data was provided, so exploitation probability cannot be quantified numerically beyond structural CVSS signals. This CVE does not appear in the CISA KEV catalog, confirming no known active exploitation at time of analysis. No proof-of-concept exploit code was referenced in the advisory data. The most probable exploitation outcome is a process crash (DoS) because Rust's allocator typically detects or crashes on UAF dereferences quickly; partial heap disclosure is plausible under specific allocator states but is not a reliable, controlled primitive. The integrity impact vector (I:L) stems from incorrect connection identifier handling that could corrupt QUIC connection state rather than a writable memory primitive. Security teams should scope patching priority entirely by whether their builds include the FFI feature flag - if not, this CVE carries no residual risk. |
| Exploit ScenarioDerived | A remote, unauthenticated attacker sends crafted QUIC packets - such as connection migration requests or packets that trigger SCID retirement - to a server application built on Cloudflare Quiche with the FFI feature flag enabled. As the application processes these packets, it calls one of the vulnerable FFI iterator functions, receives a pointer to an already-freed ConnectionId, and dereferences it, causing either an immediate process crash that terminates the QUIC service or, in a specific allocator state, returning adjacent heap contents through the connection identifier handling logic. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 19, 2026
Use-after-free memory corruption in Cloudflare Quiche's FFI layer exposes applications built with the non-default FFI feature flag to remote denial of service and limited heap disclosure. Two FFI iterator functions - quiche_connection_id_iter_next and quiche_conn_retired_scid_next - return raw pointers to ConnectionId values that are immediately freed when their owning Rust scope exits, leaving callers holding dangling pointers. No public exploit has been identified at time of analysis and there is no CISA KEV listing, but the CVSS 5.6 (AV:N/AC:H) score correctly reflects the constrained preconditions imposed by the opt-in build flag.
RemediationAI
Vendor-released patch: quiche 0.29.2, confirmed by Cloudflare as the earliest version containing the fix. Update the quiche dependency in your Cargo.toml to version 0.29.2 or later and rebuild all affected applications. If an immediate upgrade is not possible, the most effective compensating control is to rebuild Quiche without the FFI feature flag, which entirely eliminates the vulnerable code paths; this may require refactoring any application logic that depends on the C-compatible FFI API, and that refactoring effort should be weighed against the patching timeline. If both the FFI feature and an immediate upgrade are unavoidable constraints, restrict network-level access to the affected QUIC service using firewall rules or mutual TLS to limit the pool of peers who can trigger connection ID iteration, accepting reduced network accessibility as the trade-off. Full advisory: https://github.com/cloudflare/quiche/security/advisories/GHSA-mh64-ph39-mrc9.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in cargo
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Cloudflare Quiche is a Rust implementation of the QUIC transport protocol and HTTP/3 (CPE: cpe:2.3:a:cloudflare:quiche:*). The affected code lives in its C-compatible Foreign Function Interface (FFI) layer, which is compiled only when a build-time feature flag is explicitly enabled at compile time - it is OFF by default. The two functions, quiche_connection_id_iter_next and quiche_conn_retired_scid_next, iterate over active and retired QUIC Source Connection Identifiers (SCIDs). Both functions are supposed to return a pointer to a ConnectionId value via an output argument for the caller to consume. Due to a Rust ownership defect, the owned ConnectionId is dropped (freed by Rust's allocator) at the end of the function's local scope, while the raw pointer to that now-freed memory is simultaneously handed to the caller. Any subsequent dereference by the caller is a textbook use-after-free (CWE-416), a class of memory safety errors that produce non-deterministic behavior ranging from crashes to heap disclosure, depending on allocator state between the free and the read.
Know when Quiche gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
AV:N because remote QUIC traffic triggers the vulnerable path; AC:H because the non-default FFI build flag is a concrete prerequisite; PR:N and UI:N since no authentication or user action is required.
Primary rating from Vendor (cloudflare).
CVSS VectorVendor: cloudflare
DescriptionCVE.org
Cloudflare Quiche was affected by 2 use-after-free vulnerabilities in the connection ID iterator FFI functions.
The “quiche_connection_id_iter_next” and “quiche_conn_retired_scid_next” functions would return a pointer to a “ConnectionId” to the applications via function arguments, but the owned “ConnectionId” would be dropped at the end of those functions' scope.
Only applications using those FFI functions are affected. The FFI API is disabled by default by a build-time feature flag.
Impact If unpatched, an application calling the affected FFI functions will dereference freed memory. The most likely outcome is undefined behavior leading to a process crash (denial of service). Depending on allocator state, the read may also return adjacent heap contents, resulting in limited information disclosure or incorrect connection identifier handling.
Mitigation Users are requested to upgrade to quiche 0.29.2 which is the earliest version containing the fix for this issue.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.
Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Cloudflare quiche, a QUIC protocol implementation, contains a congestion control vulnerability (CVE-2025-4821) where an
Remote memory exhaustion in Cloudflare quiche's HTTP/3 layer allows unauthenticated attackers to crash or degrade QUIC s
Denial of service in Cloudflare quiche (all versions before 0.29.3) allows a remote unauthenticated peer to exhaust serv
Cloudflare Quiche (through version 0.19.1/0.20.0) was affected by an unlimited resource allocation vulnerability causing
Impact Cloudflare quiche was discovered to be vulnerable to incorrect congestion window growth, which could cause it to
Cloudflare quiche was discovered to be vulnerable to unbounded storage of information related to connection ID retiremen
quiche v. Rated medium severity (CVSS 5.3), this vulnerability is remotely exploitable, no authentication required, low
Cloudflare quiche was discovered to be vulnerable to an infinite loop when sending packets containing RETIRE_CONNECTION_
EUVD-2026-38003
GHSA-mh64-ph39-mrc9
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB