{"id":"CVE-2026-61544","summary":"libp2p-quic: Remote panic via certificate expiry race during QUIC handshake","details":"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.","aliases":["GHSA-5hq8-qhww-jm7q","RUSTSEC-2026-0525"],"modified":"2026-11-13T12:56:08.635291670Z","published":"2026-09-15T19:46:13.721Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-248"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/61xxx/CVE-2026-61544.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/61xxx/CVE-2026-61544.json"},{"type":"ADVISORY","url":"https://github.com/libp2p/rust-libp2p/security/advisories/GHSA-5hq8-qhww-jm7q"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-61544"},{"type":"FIX","url":"https://github.com/libp2p/rust-libp2p/commit/212f3774af048e2cecfb2e6b1e08477685e52b22"},{"type":"FIX","url":"https://github.com/libp2p/rust-libp2p/commit/e8f35e12c2418b04df6e9cdf036005e8aee3c7a2"},{"type":"FIX","url":"https://github.com/libp2p/rust-libp2p/pull/6525"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/libp2p/rust-libp2p","events":[{"introduced":"0"},{"fixed":"9e36ef41ac5076d17e657c3279defaf5f5ffc29b"},{"fixed":"212f3774af048e2cecfb2e6b1e08477685e52b22"},{"fixed":"e8f35e12c2418b04df6e9cdf036005e8aee3c7a2"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StringRangeExpression","range":[{"introduced":"0"},{"fixed":"0.13.1"}]},{"range":[{"fixed":"212f3774af048e2cecfb2e6b1e08477685e52b22"}],"source":"REFERENCES_COMMIT"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"e8f35e12c2418b04df6e9cdf036005e8aee3c7a2"}]}]}}],"versions":["v0.13.0","v0.12.0","v0.11.0","v0.10.0","v0.9.1","v0.9.0","v0.7.0","v0.8.0","v0.6.0","v0.5.0","v0.4.2","v0.4.0","v0.3.1","v0.3.0","v0.2.2","v0.2.1","v0.2.0","v0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-61544.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}]}