Skip to content

CVE-2026-61544 libp2p-quic: Remote panic via certificate expiry race during QUIC handshake

HighCVSS 8.2 EPSS 0.28%
Published
Updated
Exploit status
No public exploit known

Description

libp2p-rust is the official Rust language implementation of the libp2p networking stack. Prior to 0.13.1, libp2p-quic could panic during an inbound QUIC handshake when a remote peer presented a valid short-lived libp2p TLS certificate and delayed the final TLS 1.3 handshake fragment until after the certificate expired. In the Quinn post-handshake upgrade path, transports/quic/src/connection/connecting.rs called libp2p_tls::certificate::parse a second time in remote_peer_id and used expect on the result. The repeated wall-clock validity check could reject the now-expired certificate, causing the expect call to terminate any application exposing an affected libp2p-quic listener. This vulnerability is fixed in 0.13.1.

Affected products

ProductAffected versionsFixed in
libp2p rust-libp2p = < 0.13.1 No fix listed
crates.io libp2p-quic(crates.io) < 0.13.1 0.13.1
ubuntu/rust-libp2p-identity(Ubuntu:26.04) All versions No fix listed
ubuntu/rust-libp2p-identity(Ubuntu:26.10) All versions No fix listed
crates.io libp2p-quic(crates.io) >= 0.0.0-0, < 0.13.1 0.13.1

References