CVE-2025-7054

CVE-2025-7054 is a high-severity security vulnerability in quiche (rust), affecting versions >= 0.15.0, < 0.24.5. It is fixed in 0.24.5.

Summary

quiche connection ID retirement can trigger an infinite loop

Impact

Cloudflare quiche was discovered to be vulnerable to an infinite loop when sending packets containing RETIRE_CONNECTION_ID frames.

QUIC connections possess a set of connection identifiers (IDs); see Section 5.1 of RFC 9000. Once the QUIC handshake completes, a local endpoint is responsible for issuing and retiring Connection IDs that are used by the remote peer to populate the Destination Connection ID field in packets sent from remote to local. Each Connection ID has a sequence number to ensure synchronization between peers

An unauthenticated remote attacker can exploit this vulnerability by first completing a handshake and then sending a specially-crafted set of frames that trigger a connection ID retirement in the victim. When the victim attempts to send a packet containing RETIRE_CONNECTION_ID frames, Section 19.16 of RFC 9000 requires that the sequence number of the retired connection ID must not be the same as the sequence number of the connection ID used by the packet. In other words, a packet cannot contain a frame that retires itself. In scenarios such as path migration, it is possible for there to be multiple active paths with different active connection IDs that could be used to retire each other. The exploit triggered an unintentional behaviour of a quiche design feature that supports retirement across paths while maintaining full connection ID synchronization, leading to an infinite loop.

Affected versions

quiche (>= 0.15.0, < 0.24.5)

Security releases

quiche → 0.24.5 (rust)

Kodem intelligence

Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.

Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter. Kodem's runtime-powered SCA identifies whether this CVE is reachable in your applications.

See it in your environment

Remediation advice

quiche 0.24.5 is the earliest version containing the fix for the issue

Frequently Asked Questions

  1. What is CVE-2025-7054? CVE-2025-7054 is a high-severity security vulnerability in quiche (rust), affecting versions >= 0.15.0, < 0.24.5. It is fixed in 0.24.5.
  2. Which versions of quiche are affected by CVE-2025-7054? quiche (rust) versions >= 0.15.0, < 0.24.5 is affected.
  3. Is there a fix for CVE-2025-7054? Yes. CVE-2025-7054 is fixed in 0.24.5. Upgrade to this version or later.
  4. Is CVE-2025-7054 exploitable, and should I be worried? Whether CVE-2025-7054 is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo
  5. What actually determines whether CVE-2025-7054 is exploitable, and how bad it is? Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.
  6. How do I fix CVE-2025-7054? Upgrade quiche to 0.24.5 or later.

Other vulnerabilities in quiche

CVE-2025-7054CVE-2024-1765CVE-2024-1410CVE-2023-6193

Stop the waste.
Protect your environment with Kodem.