Technical impact
The gossipsub implementation in libp2p creates a permanent topics‑map entry for each subscription request that is accepted. Because the default configuration accepts any number of distinct topic strings and does not impose a maximum, a single malicious peer can submit a large number of unique topics, causing the topics map to grow without bound. This growth consumes committed heap, which can lead to out‑of‑memory conditions and force the node to crash or become unresponsive. The vulnerability does not give the attacker code execution privileges; its primary impact is the denial of service caused by exhausting the peer’s memory resources.
Affected Systems
The affected components are the JavaScript libp2p networking stack, specifically the @libp2p/gossipsub module and the libp2p:js-libp2p package. All versions of these packages released before 17.0.0 are vulnerable. Any application that imports or uses js-libp2p with the default gossipsub configuration is at risk.
Risk and Exploitability
The CVSS score of 7.5 indicates a high severity. Exploitation requires that an attacker be able to connect as a peer to the target node, which is typical for P2P networks. Because the vulnerability is purely network‑based and does not rely on user interaction, a remote attacker can trigger it simply by establishing a connection that submits a large number of unique topic strings. EPSS is not available, but the nature of the flaw makes it likely that an attacker could craft a repeated subscription attack. The vulnerability is not listed in the CISA KEV catalog.