Skip to main content

Cloudflare Quiche EUVDEUVD-2026-38003

| CVE-2026-11941 MEDIUM
Use After Free (CWE-416)
2026-06-19 cloudflare GHSA-mh64-ph39-mrc9
5.6
CVSS 3.1 · Vendor: cloudflare
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send crafted QUIC connection or migration packets
  2. Delivery
    Application invokes vulnerable FFI iterator function
  3. Exploit
    Rust drops owned ConnectionId at function scope exit
  4. Execution
    Caller dereferences freed memory pointer
  5. Impact
    Process 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

quiche 0.20.0 ≤0.29.1

Affected Packages

cargo quiche fix: 0.29.2

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

Vendor (cloudflare) PRIMARY 5.6 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
vuln.today AI 5.6 MEDIUM

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.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (cloudflare).

CVSS VectorVendor: cloudflare

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low

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

EPSS Score
0.2%
Top 93% exploitable
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA CIRCL GitHub VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy