Internet Explorer is no longer supported. Many things will still work, but your experience will be degraded and some things won't function. Please use a modern browser such as Edge, Chrome, or Firefox.

PGV-2668372 - libp2p-quic: Remote panic via certificate expiry race during QUIC handshake

Disclosed on September 15, 2026 (updated September 16, 2026)

Vulnerability Overview

PGV-2668372 is a category 1 vulnerabilty that affects libp2p-quic, versions < 0.13.1

Risk Assessment

The risk assessment shows that this vulnerability is exlpoited by a external attacker. An unauthorized external actor who attempts to exploit this vulnerability without legitimate access.

The impact is contained to the application. Exploitation remains confined to the application and cannot affect the host environment or external systems.

The threat damage has no measurable impact. Exploitation does not result in a meaningful impact to service or data.

Vulnerability Details

Summary

libp2p-quic can panic on an inbound QUIC handshake if a malicious peer presents a valid, short lived libp2p TLS certificate and delays the final TLS 1.3 handshake fragment until the certificate expires.

This is remotely reachable by a network peer and can crash applications exposing a libp2p QUIC listener.

Details

During the TLS handshake, libp2p-tls parses and validates the peer certificate. After Quinn reports handshake completion, libp2p-quic re-parses the same certificate in the post-handshake upgrade path and assumes this cannot fail:

https://github.com/libp2p/rust-libp2p/blob/969b707bf1177ebebd1febc285c3fd22793b95c5/transports/quic/src/connection/connecting.rs#L65-L66

However, libp2p_tls::certificate::parse() re-runs certificate verification on every call, including a wall-clock validity check. A certificate that was valid during the first handshake time parse can expire before the second post-handshake parse, causing the expect(...) to panic.

PoC

A malicious peer can trigger this by:

  1. Opening a QUIC connection to a libp2p QUIC listener.
  2. Presenting a valid libp2p TLS certificate with a very short lifetime.
  3. Allowing the initial handshake-time certificate validation to succeed.
  4. Withholding the final client handshake fragment packet until after the certificate expires, but before the QUIC handshake timeout elapses.
  5. The listener completes the handshake and hits the post-handshake certificate re-parse, which panics.

Impact

Remote unauthenticated denial of service. Any application exposing an affected libp2p-quic listener can be crashed by a network peer that performs a valid-looking QUIC/TLS handshake with attacker-controlled timing. No malformed packets are required.

Common Weakness Enumerations

  • CWE-248 - Uncaught Exception
Your Risk Profile
Network Exposure
External
Accessable from the public internet
Access Interface
WebBrowser
Primarily web-based applications
Service Outage
Disruptive
Operations would be impacted
Data Breach
Disruptive
Operations would be impacted
Data Tampering
Disruptive
Operations would be impacted
Customize
Additional Identifiers
  • CVE-2026-61544
  • GHSA-5hq8-qhww-jm7q