llamaCVEVulnerability Intelligence
/
rust-libp2p

CVE-2026-95859

rust-libp2p unbounded memory growth in Gossipsub GRAFT handling

An unauthenticated remote peer can send repeated GRAFT messages with new topics, exhausting node memory.

UnclearParche disponibledenial of service
Descargar PNG JSON
CVSS 4.0
8.7
Alta
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 Fuente: CNA
ExplotaciónSin evidenciaSSVC: none · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versiónPrimer parche a -87 d de la divulgación
Exposición34 dDesde la divulgación, 16 oct 2026, 10:19 a. m.
Detección6 dDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir
Remediar en la ventana regular de mantenimiento
Sin explotación conocida, no automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC +1
Explotación
Remediación
Parche 0.49.5
Monitoreo
Detectada
Fuente: OSV
Verificada
21 jul 26
16 oct 26
21 oct 26
22 oct 26
24 oct 26
19 nov 26
20 nov 26
21 jul 26
21 ago 26
20 sept 26
20 oct 26
20 nov 26
FechaFaseEventoDetalle
Remediación Parche 0.49.5 libp2p-gossipsub · -87 d desde divulgación
Divulgación Publicada CVE-2026-95859 divulgada · CVSS 8.7 (CNA)
Divulgación Evaluación SSVC CISA-ADP · explotación ninguna
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: OSV Registro visto por primera vez en OSV
Monitoreo Verificada Última verificación contra las fuentes
Resumen

libp2p-rust is the official Rust language implementation of the libp2p networking stack. Prior to 0.49.5, Gossipsub GRAFT control-message handling unconditionally adds attacker-supplied topic hashes to connected_peer.topics without confirming that the peer previously subscribed to those topics. A remote unauthenticated peer that can reach a Gossipsub listener can repeatedly send novel GRAFT topics, causing cumulative per-peer memory growth that is not bounded by subscription filters, peer scoring, or per-message size limits. This can exhaust process memory and cause a denial of service. This issue is fixed in version 0.49.5.

Affects rust-libp2p nodes running Gossipsub that accept sessions from peers. Fixed in rust-libp2p 0.49.5; CVSS scores it 8.7 (high).

¿Qué significa?A peer with an established Gossipsub session can send GRAFT messages that make the target node keep growing its list of topics without limit. That growth can exhaust the node's memory.
¿Quién está afectado?rust-libp2p versions before 0.49.5 are affected, in setups where the node has a reachable Gossipsub listener that peers can establish sessions with. To check, look at the rust-libp2p version your project resolves in Cargo.lock.
¿Qué hacer?Upgrade rust-libp2p to 0.49.5 or later, which is the listed fixed version. The available facts do not name a workaround.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Peer must have an established Gossipsub session with the target node (reachable Gossipsub listener).“An attacker that has established a libp2p Gossipsub session with a target node can exhaust that node's memory”
Vector CVSS 4.0

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
Requisitos de ataqueAT:N
NingunoPresentes
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaPasivaActiva
Confid. (sistema)VC:N
AltoBajoNinguno
Integridad (sistema)VI:N
AltoBajoNinguno
Disponib. (sistema)VA:H
AltoBajoNinguno
Confid. (posterior)SC:N
AltoBajoNinguno
Integridad (posterior)SI:N
AltoBajoNinguno
Disponib. (posterior)SA:N
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida Última
libp2p-gossipsub< 0.49.4
rust-libp2p · libp2p-gossipsub≥ 0.0.0-0 < 0.49.5
0.0.0-0
0.49.4
0.49.5
0.50.1
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
crates.iolibp2p-gossipsub
Corregida 0.49.5 -87 d 0.50.1 no afectada
Versiones corregidas0.49.5
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Fabricantehttps://github.com/libp2p/rust-libp2p/security/advisories/GHSA-g3g5-x568-qvqx
Otrahttps://github.com/libp2p/rust-libp2p/pull/6608
Otrahttps://github.com/libp2p/rust-libp2p/commit/51ed5f00e1b0620ded3444ecadf18477052148ea

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.