Unrated severityNVD Advisory· Published Dec 2, 2026
@libp2p/gossipsub through 17.2.3 Memory Exhaustion via Unbounded Metric Label Cardinality
CVE-2026-142215
Description
@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.
Patches
Vulnerability mechanics
References
4- www.vulncheck.com/advisories/libp2p-gossipsub-through-17.2.3-memory-exhaustion-via-unbounded-metric-label-cardinalitymitrethird-party-advisory
- github.com/libp2p/js-libp2p/blob/gossipsub-v17.2.3/packages/gossipsub/src/gossipsub.tsmitretechnical-description
- github.com/libp2p/js-libp2p/blob/gossipsub-v17.2.3/packages/gossipsub/src/metrics.tsmitretechnical-description
- github.com/libp2p/js-libp2p/blob/gossipsub-v17.2.3/packages/gossipsub/src/metrics.tsmitretechnical-description
News mentions
0No linked articles in our index yet.