{"id":"CVE-2026-33040","published":"2026-03-20T05:46:42Z","modified":"2026-03-20T15:41:03Z","title":"libp2p-rust: Gossipsub PRUNE.backoff Duration Overflow","vendor":"libp2p","product":"rust-libp2p","tier":"tail","description":{"text":"libp2p-rust is the official rust language Implementation of the libp2p networking stack. In versions prior to 0.49.3, the Gossipsub implementation accepts attacker-controlled PRUNE backoff values and may perform unchecked time arithmetic when storing backoff state. A specially crafted PRUNE control message with an extremely large backoff (e.g. u64::MAX) can lead to Duration/Instant overflow during backoff update logic, triggering a panic in the networking state machine. This is remotely reachable over a normal libp2p connection and does not require authentication. Any application exposing a libp2p Gossipsub listener and using the affected backoff-handling path can be crashed by a network attacker that can reach the service port. The attack can be repeated by reconnecting and replaying the crafted control message. This issue has been fixed in version 0.49.3.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00643,"percentile":0.51803,"provenance":"source"},"cwes":[{"id":"CWE-190","name":"Integer Overflow or Wraparound"}],"references":[{"url":"https://github.com/libp2p/rust-libp2p/security/advisories/GHSA-gc42-3jg7-rxr2","tags":["x_refsource_CONFIRM"]}],"priority":{"score":16.5,"factors":[{"name":"EPSS percentile","points":10.36},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"libp2p","affectedVersions":[{"vendor":"libp2p","product":"rust-libp2p","versions":["< 0.49.3"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-03-20T15:40:49.446258Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"libp2p-gossipsub","vulnerableRanges":["<0.49.3",">=0.0.0-0, <0.49.3"],"patched":["0.49.3"],"from":["GHSA-gc42-3jg7-rxr2","RUSTSEC-2026-0535"],"provenance":"source"}],"summary":{"text":"The rust-libp2p library (the official Rust implementation of the libp2p networking stack) has a flaw in its Gossipsub component, where attacker-supplied PRUNE backoff values are used in unchecked time arithmetic when backoff state is stored. An attacker who can reach a Gossipsub listener over a normal libp2p connection, without authentication or user interaction, can send a crafted PRUNE message with an extremely large backoff value to trigger an overflow and crash the networking state machine, and can repeat the attack by reconnecting and replaying the message.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:17:54Z"},"euvd":{"id":"EUVD-2026-13581","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-libp2p-rust-libp2p-cve-2026-33040","children":[{"from":"CVE-2026-33040","to":"CVE-2026-34219","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"osv-related","provenance":"source","id":"GHSA-xqmp-fxgv-xvq5","via":"reference","url":"https://github.com/advisories/GHSA-gc42-3jg7-rxr2"},{"kind":"version-step","provenance":"source","package":"crates.io:libp2p-gossipsub","fromFixed":"0.49.3","toFixed":"0.49.4","daysApart":11},{"kind":"same-code","provenance":"machine","files":["protocols/gossipsub/src/backoff.rs"],"commits":["https://github.com/libp2p/rust-libp2p/commit/84153a559bdbcb92a48413dd2a31035800cb882d","https://github.com/libp2p/rust-libp2p/commit/55e4a64630f66d55fec5955c8f9905413c5d0859"],"basis":"shared function","functions":["BackoffStorage"]},{"kind":"similar","provenance":"machine","score":0.45,"basis":"same product + CWE + description similarity"}]}],"packageHistory":[{"cve":"CVE-2026-33040","published":"2026-03-20","fixed":"0.49.3","kev":false},{"cve":"CVE-2026-34219","published":"2026-03-31","fixed":"0.49.4","kev":false},{"cve":"CVE-2026-95859","published":"2026-10-16","fixed":"0.49.5","kev":false}],"package":"crates.io:libp2p-gossipsub"}}