CVE-2025-7054

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-7054
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-7054.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-7054
Aliases
Published
2025-08-07T16:15:31Z
Modified
2025-08-14T20:58:42.146642Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

Cloudflare quiche was discovered to be vulnerable to an infinite loop when sending packets containing RETIRECONNECTIONID 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 RETIRECONNECTIONID 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.

References

Affected packages

Git / github.com/cloudflare/quiche

Affected ranges

Type
GIT
Repo
https://github.com/cloudflare/quiche
Events

Affected versions

0.*

0.23.1
0.23.2
0.23.3
0.23.4
0.23.5
0.23.6
0.23.7
0.24.0
0.24.1
0.24.2
0.24.3
0.24.4

buffer-pool-0.*

buffer-pool-0.1.0

datagram-socket-0.*

datagram-socket-0.1.0
datagram-socket-0.1.1
datagram-socket-0.2.0
datagram-socket-0.3.0

h3i-0.*

h3i-0.3.0
h3i-0.4.0

qlog-0.*

qlog-0.15.0
qlog-0.15.1
qlog-0.15.2

task-killswitch-0.*

task-killswitch-0.1.0

tokio-quiche-0.*

tokio-quiche-0.1.0
tokio-quiche-0.2.0
tokio-quiche-0.2.1
tokio-quiche-0.2.2
tokio-quiche-0.3.0
tokio-quiche-0.3.1
tokio-quiche-0.3.2
tokio-quiche-0.4.0
tokio-quiche-0.4.1
tokio-quiche-0.4.2
tokio-quiche-0.5.0
tokio-quiche-0.6.0