AploSec / Disclosures / CVE-2026-142215

High 8.2ReportedNo fix listedCWE-770npm

@libp2p/gossipsub through 17.2.3 Memory Exhaustion via Unbounded Metric Label Cardinality

CVE-2026-142215 · published 2026-12-02

In plain words: this type of bug lets someone slow down or crash the service with crafted input (denial of service). No fixed release is listed yet.

Summary

CVE-2026-142215 affects @libp2p/gossipsub (npm) <= 17.2.3: Memory Exhaustion via Unbounded Metric Label Cardinality (CWE-770). No fixed release is listed. CVSS 4.0 base score 8.2 (High), assigned by VulnCheck. Published 2026-12-02 by VulnCheck. Credit: Zachariah Mithani (AploSec).

@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.

Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

Remediation

No fixed release is listed in the advisory. Check the references for upstream status.

References

Severity
High 8.2CVSS 4.0, scored by VulnCheck in the CVE record
Package
@libp2p/gossipsub
Ecosystem
npm
Affected
<= 17.2.3
Fixed
None
Weakness
CWE-770
CNA
VulnCheck
Credit
Zachariah Mithani (AploSec)finder