CVE-2026-142215: Vulnerability in @libp2p/gossipsub
Patch soon. @libp2p/gossipsub through 17.2.3 contains an uncontrolled resource consumption vulnerability that allows remote peers to grow the metrics registry by sending messages with arbitrary topics when metrics are enabled. Attackers can send messages with unbounded distinct topic strings, creating never-removed labelled time series before validation, to exhaust Node.js process memory.
CWE-770
- Exploitation
- None confirmed
- Severity
- 8.2 of 10
- Attack likelihood
- Unknown
- Fix
- None recorded
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-jrqr-9qgh-3w5p
- Vector
- CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- Weakness
- CWE-770
- Published
- 2 Dec 2026
- Last change
- 4 Dec 2026
Affected products
Affected versions and the first fixed release
- @libp2p/gossipsub Through 17.2.3; Version 0 ≤17.2.3. No fixed version recorded
Advisories
Vendor and security advisories
- github.com/libp2p/js-libp2p/blob/gossipsub-v17.2.3/packages/gossipsub/src/metrics.ts
- github.com/libp2p/js-libp2p/blob/gossipsub-v17.2.3/packages/gossipsub/src/metrics.ts
- github.com/libp2p/js-libp2p/blob/gossipsub-v17.2.3/packages/gossipsub/src/gossipsub.ts
- vulncheck.com/advisories/libp2p-gossipsub-through-17.2.3-memory-exhaustion-via-unbounde...
Related
- @libp2p/gossipsub vulnerabilities Recent advisories, watch this product