CVE-2026-119793
js-libp2p memory exhaustion via unbounded topics in gossipsub
A remote peer can grow a node's memory without limit by subscribing to many topic names, with no login.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Fuente: CNA
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Remediación | Parche 17.0.0 | @libp2p/gossipsub · -95 d desde divulgación | |
| Divulgación | Publicada | CVE-2026-119793 divulgada · CVSS 7.5 (CNA) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Fuente: OSV | Registro visto por primera vez en OSV | |
| Divulgación | Evaluación SSVC | CISA-ADP · explotación PoC pública | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
In the gossipsub package of libp2p's js-libp2p, a remote peer that has connected to the node can, without logging in, send subscriptions for arbitrarily many distinct topic names under the default configuration, and each one leaves a permanent entry in memory. This can drive memory use toward out-of-memory conditions, and disconnecting the peer forces a scan of all the accumulated entries.
Affects js-libp2p and @libp2p/gossipsub in the default configuration, where allowedTopics is unset and no cap is set. Fixed in js-libp2p 3.3.9 and @libp2p/gossipsub 17.0.0.
Descripción original del registro (GitHub_M)
libp2p is a JavaScript implementation of the libp2p networking stack. Prior to 17.0.0, the @libp2p/gossipsub default configuration allows a connected remote peer to submit unsigned subscription RPC metadata for arbitrarily many distinct topic strings. handleReceivedSubscription in packages/gossipsub/src/gossipsub.ts creates a persistent topics-map entry for each accepted topic, while allowedTopics is unset by default, decodeRpc maxSubscriptions limits only one RPC rather than aggregate topic bytes, and peer scoring has no subscription-volume penalty. A single peer can therefore grow the topics map and committed heap toward out-of-memory conditions, and disconnecting additionally causes removePeer to scan all accumulated topic entries. This issue is fixed in version 17.0.0.
Condiciones y alcance
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
npm@libp2p/gossipsub |
Corregida | 17.0.0 | -95 d | 17.2.1 no afectada |
3.3.917.0.0Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/libp2p/js-libp2p/security/advisories/GHSA-x2vm-cf3p-m2w8https://github.com/libp2p/js-libp2p/pull/3593https://github.com/libp2p/js-libp2p/commit/d5534174d8b7d23ac1bd45a7e738664fbfb0cf4chttps://github.com/libp2p/js-libp2p/releases/tag/gossipsub-v17.0.0Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
