RUSTSEC-2026-0534
not scored yetUnbounded backoff state from PRUNE messages for unknown topics
A PRUNE control message names topics and asks for a backoff on each. The handler recorded a backoff for every named topic, including topics the local node had never joined. A peer can send PRUNEs naming many new short topic IDs with a long backoff. Each pair is kept until the backoff expires, up to an hour, even after the peer disconnects, so a stream of PRUNEs, possibly from many peer IDs, can use up the node's memory. Peer scoring does not penalise these messages.
The fix ignores PRUNE entries for topics that are not in the node's mesh. It is in 0.50.1, and was backported to the main branch in libp2p/rust-libp2p#6707.
- Published
- 19 Oct 2026
- Last modified
- 13 Nov 2026
- Also known as
- GHSA-vrx6-jcp8-vm7m
- Sources
- OSVJSON
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | libp2p-gossipsub | >= 0.0.0-0, < 0.50.1 | 0.50.1 |
References
- https://crates.io/crates/libp2p-gossipsub · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2026-0534.html · ADVISORY
- https://github.com/libp2p/rust-libp2p/commit/9c647828abea0dfc0b4e827dff1e176ec8b44752 · WEB
- https://github.com/libp2p/rust-libp2p/pull/6707 · WEB
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 19 Oct 2026)