PRIMARY-SOURCE REVIEW · 2026-11-18T09:00:00+09:00

libp2p: Fixes for gossipsub topic map exhaustion DoS and ASN.1 DER decoder stall vulnerabilities.

In libp2p (js-libp2p), 2 severe DoS vulnerabilities have been fixed. In @libp2p/gossipsub, receiving subscription RPC messages without default topic limits or per-peer caps allows remote peers to grow a node's topics map without bound, causing memory exhaustion and DoS (CVE-2026-119793). In @libp2p/crypto, during Identify message public key ASN.1 DER decoding, an attacker-controlled length field triggers an unbounded synchronous loop, stalling the Node.js event loop for 4 to 5 seconds per connection and transiently allocating 2 GB of memory (CVE-2026-110789). These were fixed in gossipsub 17.0.0 and crypto 5.1.22 respectively.

What to check

Upgrade @libp2p/gossipsub to 17.0.0 or later and @libp2p/crypto to 5.1.22 or later. On public nodes, configure maximum topic subscription limits and verify pre-authentication input length validation.

A first fixed version is listed only when the advisory provides one. Advisory counts are not incident counts.

Primary sources

GHSA-x2vm-cf3p-m2w8 / GHSA-rvfr-cqwq-rc4j / libp2p gossipsub 17.0.0

Related topics

SimpleSAMLphp SAML2: Authentication bypass via HTTP-Artifact signature validation omission (incomplete fix of CVE-2026-49283). · EGroupware: Authentication redirection vulnerability via user-controlled external IdP parameter in SAML authentication. · Next.js 16.4.5: Cross-parameter cache leak in nested use cache functions via delayed inner stream metadata. · AWS Advanced JDBC Wrapper: Java deserialization RCE via cache poisoning. · Arize Phoenix: Format string injection in applyChatTemplate leaking server secrets. · Filament Curator: Stored XSS via inline SVG serving and multi-tenant picker search disclosure. · qbee-agent 2026.27: Local privilege escalation via symlink following in createFile helper. · CIRCUTOR SCADA WAVE and Rucio: Missing JWT signature validation and token verification bypass (CVSS 10.0). · 126 malicious npm packages: Typosquatting and developer credential harvesting.