llamaCVEVulnerability Intelligence
/
js-libp2p

CVE-2026-110789

js-libp2p denial of service in ASN.1 DER decoder

A remote peer can send a crafted key that stalls the event loop and exhausts memory before authentication.

Default setupsParche disponiblelength check flaw
Descargar PNG JSON
CVSS 3.1
7.5
Alta
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Fuente: CNA
ExplotaciónPoC públicaSSVC: poc · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche2 versiones3.3.8 · 5.1.22
Exposición2 dDesde la divulgación, 17 nov 2026, 2:14 p. m.
Detección49 minDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir de cerca
Monitorear y programar la remediación
Existe PoC pública, 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
Monitoreo
Detectada +1
Fuente: OSV
Verificada
02:14 p. m.
03:03 p. m.
05:48 p. m.
11:02 p. m.
12:36 a. m.
02:14 p. m.
04:50 a. m.
07:25 p. m.
10:01 a. m.
12:36 a. m.
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-110789 divulgada · CVSS 7.5 (CNA)
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: NIST NVD Registro visto por primera vez en NIST NVD
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
Resumen

libp2p is a JavaScript implementation of the libp2p networking stack. Prior to 5.1.22, the @libp2p/crypto code reached by the default Identify service accepts a remote peer’s crafted publicKey before peer-id or signature verification and passes it through publicKeyFromProtobuf to the ASN.1 DER decoder. readLength in packages/crypto/src/keys/rsa/der.ts accepts long-form element lengths larger than the remaining buffer, causing readInteger and related readers to loop synchronously over an attacker-claimed length from a very small key blob. Because decoding occurs in one event-loop tick before the remotePeer equality check in packages/protocol-identify/src/identify.ts, the Identify timeout cannot interrupt it, allowing repeated unauthenticated connections to stall all timers and peers and transiently exhaust memory. This issue is fixed in version 5.1.22.

Affects js-libp2p nodes running the default Identify service, and @libp2p/crypto 5.1.21 or earlier. Fixed in js-libp2p 3.3.8 and @libp2p/crypto 5.1.22.

¿Qué significa?The ASN.1 DER decoder keeps looping on length fields supplied by a remote peer, which blocks the Node event loop for several seconds per connection before authentication. While it is blocked, the node cannot respond to any of its peers. Under memory limits, this can end in an out-of-memory kill.
¿Quién está afectado?The advisory says any node running the default Identify service is affected, and the verified package version is @libp2p/crypto 5.1.21 or earlier. To check, run npm ls @libp2p/crypto for the installed @libp2p/crypto version and look at the js-libp2p version in package.json.
¿Qué hacer?Upgrade js-libp2p to 3.3.8 or later and @libp2p/crypto to 5.1.22 or later.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Runs the default Identify service“Any node running the default Identify service is affected.”
02
@libp2p/crypto version 5.1.21 or earlier“Verified on js-libp2p commit a04f5e0 , where @libp2p/crypto reads 5.1.21”
¿Quién debe revisar?Teams running js-libp2p or @libp2p/crypto at 5.1.21 or earlier with the default Identify service enabled, including any node accepting inbound peer connections
Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:N
AltoBajoNinguno
IntegridadI:N
AltoBajoNinguno
DisponibilidadA:H
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida
js-libp2p< 3.3.8
crypto · @libp2p/crypto< 5.1.22
3.3.8
5.1.22
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
js-libp2p
Corregida 3.3.8 — —
crypto
Corregida 5.1.22 — —
Versiones corregidas3.3.85.1.22
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/js-libp2p/security/advisories/GHSA-rvfr-cqwq-rc4j
Otrahttps://github.com/libp2p/js-libp2p/pull/3587
Otrahttps://github.com/libp2p/js-libp2p/commit/ef6e1851cb00511a4793a5e68948e0cdad385332
Otrahttps://github.com/libp2p/js-libp2p/releases/tag/crypto-v5.1.22

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