Unbounded 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.
Recorded fixes — libp2p-gossipsub: 0.50.1. Check your release branch.
Exploitation not established
| Affected range | Recorded fix |
|---|---|
| From 0.0.0-0 before 0.50.1Semantic versions | 0.50.1 |
Version evidence: OSV · RUSTSEC-2026-0534
View original version evidence
{
"ranges": [
{
"events": [
{
"introduced": "0.0.0-0"
},
{
"fixed": "0.50.1"
}
],
"type": "SEMVER"
}
],
"versions": []
}