RUSTSEC-2026-0534
Unbounded backoff state from PRUNE messages for unknown topics
A remote peer can send PRUNE messages for unjoined topics to exhaust a node's memory.
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | RUSTSEC-2026-0534 divulgada | |
| Remediación | Parche 0.50.1 | libp2p-gossipsub · 0 d desde divulgación | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
In libp2p-gossipsub, a peer can send PRUNE control messages that name many topics the node never joined, each with a long backoff, and the node stores a backoff entry for every one, even after the peer disconnects. Repeated PRUNEs, possibly from many peer IDs, can exhaust the node's memory because each entry persists for up to an hour.
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.
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
crates.iolibp2p-gossipsub |
Corregida | 0.50.1 | 0 d | 0.50.1 no afectada |
0.50.1Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://rustsec.org/advisories/RUSTSEC-2026-0534.htmlhttps://crates.io/crates/libp2p-gossipsubhttps://github.com/libp2p/rust-libp2p/commit/9c647828abea0dfc0b4e827dff1e176ec8b44752https://github.com/libp2p/rust-libp2p/pull/6707Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
