{"id":"RUSTSEC-2026-0525","revision":"62f9904263e342deb7e2f97a44bd2392","records":[{"revision":"62f9904263e342deb7e2f97a44bd2392","observedAt":"2026-11-13T14:58:41.229+00:00","statement":{"source":"osv","id":"RUSTSEC-2026-0525","aliases":["CVE-2026-61544","GHSA-5hq8-qhww-jm7q"],"title":"Remote panic when a peer certificate expires during the QUIC handshake","description":"After the QUIC handshake finished, the peer's libp2p TLS certificate was parsed a second time to get its peer ID, and the result was unwrapped with `expect`, on the assumption that it could not fail because the certificate had already been validated. Parsing checks the certificate's validity period again against the current time. A remote peer can present a certificate that is about to expire and delay the end of the handshake until it has expired, so the second parse fails and the process panics. No authentication is needed; any application with a reachable QUIC listener is affected.\n\nThe fix returns a connection error instead of panicking when the peer identity or certificate cannot be read after the handshake. It is in 0.13.1, and was backported to the main branch in libp2p/rust-libp2p#6525 for 0.14.0.","state":0,"publishedAt":"2026-07-10T12:00:00+00:00","modifiedAt":"2026-11-13T12:45:06.6353691+00:00","affected":[{"ecosystem":"crates.io","name":"libp2p-quic","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.0.0-0"},{"kind":"fixed","version":"0.13.1"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://crates.io/crates/libp2p-quic","https://rustsec.org/advisories/RUSTSEC-2026-0525.html","https://github.com/libp2p/rust-libp2p/commit/212f3774af048e2cecfb2e6b1e08477685e52b22","https://github.com/libp2p/rust-libp2p/pull/6525"],"sourceUrl":"https://osv.dev/vulnerability/RUSTSEC-2026-0525","license":"OSV · upstream source license applies","key":"osv:RUSTSEC-2026-0525","identifiers":["RUSTSEC-2026-0525","CVE-2026-61544","GHSA-5hq8-qhww-jm7q"]},"retained":false,"historicalAffected":[]}],"coverage":[]}