Missing Release of Memory after Effective Lifetime Affecting @libp2p/floodsub package, versions <11.0.26


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.67% (50th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Missing Release of Memory after Effective Lifetime vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-LIBP2PFLOODSUB-20045055
  • published22 Sept 2026
  • disclosed17 Sept 2026
  • creditJace

Introduced: 17 Sep 2026

NewCVE-2026-86040  (opens in a new tab)
CWE-401  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade @libp2p/floodsub to version 11.0.26 or higher.

Overview

@libp2p/floodsub is a libp2p-floodsub, also known as pubsub-flood or just dumbsub, this implementation of pubsub focused on delivering an API for Publish/Subscribe, but with no CastTree Forming (it just floods the network).

Affected versions of this package are vulnerable to Missing Release of Memory after Effective Lifetime via the PeerStreams.attachInboundStream process. An attacker can exhaust CPU resources, cause memory exhaustion, and render the node unavailable by sending specially crafted unauthenticated RPC frames that decode into a large number of empty or unique-topic subscription entries, leading to event loop blocking and persistent memory growth.

CVSS Base Scores

version 4.0
version 3.1