# CVE-2025-7054: Infinite loop triggered by connection ID retirement

> CVE-2025-7054: Infinite loop triggered by connection ID retirement. CVSS 6.5 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2025-7054
Last updated: 2026-06-17T10:04:10Z

- Published: 2025-08-07 15:19 UTC · Updated: 2026-06-17 10:04 UTC · Assigner: cloudflare
- CVSS: 6.5 (CVSS 3.1) · Severity: Medium · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- EPSS: 0.40%, 34th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: CWE-835

## Description

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 https://datatracker.ietf.org/doc/html/rfc9000\#section-5.1 . 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 https://datatracker.ietf.org/doc/html/rfc9000\#section-19.6  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.This issue affects quiche: from 0.15.0 before 0.24.5.

## Affected vendors and products

- Cloudflare: quiche

## Tracked companies

- [Cloudflare](https://rewindex.com/company/cloudflare.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2025-7054)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2025-7054)
- [https://github.com/cloudflare/quiche/security/advisories/GHSA-m3hh-f9gh-74c2](https://github.com/cloudflare/quiche/security/advisories/GHSA-m3hh-f9gh-74c2)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2025-7054 · Markdown: https://rewindex.com/cve/CVE-2025-7054.md · JSON: https://rewindex.com/api/v1/cves/CVE-2025-7054 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T02:11:44.545Z
