{"id":"RUSTSEC-2026-0537","revision":"2e57dcb5158a40a7901ded5578803821","records":[{"revision":"2e57dcb5158a40a7901ded5578803821","observedAt":"2026-11-13T14:58:41.229+00:00","statement":{"source":"osv","id":"RUSTSEC-2026-0537","aliases":["CVE-2026-34219","GHSA-xqmp-fxgv-xvq5"],"title":"Remote panic in the heartbeat from a large PRUNE backoff","description":"The 0.49.3 fix stopped an overflow when a PRUNE backoff is first stored, but a backoff just small enough to be stored could still overflow later. On each heartbeat, expired backoffs were found with `backoff_time + slack > now`, which panics when the stored time is close to the largest `Instant`. A peer that sends one PRUNE with such a backoff crashes the node a heartbeat or so later, and can repeat it after every restart.\n\nThe fix caps a remote PRUNE backoff at one hour, uses `checked_add` for the heartbeat comparison, and replaces other unchecked time arithmetic in the behaviour, peer scoring and time cache with checked or saturating operations. It is in 0.49.4.","state":0,"publishedAt":"2026-03-27T12:00:00+00:00","modifiedAt":"2026-11-13T12:45:07.3459993+00:00","affected":[{"ecosystem":"crates.io","name":"libp2p-gossipsub","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.0.0-0"},{"kind":"fixed","version":"0.49.4"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://crates.io/crates/libp2p-gossipsub","https://rustsec.org/advisories/RUSTSEC-2026-0537.html","https://github.com/libp2p/rust-libp2p/commit/55e4a64630f66d55fec5955c8f9905413c5d0859"],"sourceUrl":"https://osv.dev/vulnerability/RUSTSEC-2026-0537","license":"OSV · upstream source license applies","key":"osv:RUSTSEC-2026-0537","identifiers":["RUSTSEC-2026-0537","CVE-2026-34219","GHSA-xqmp-fxgv-xvq5"]},"retained":false,"historicalAffected":[]}],"coverage":[]}