Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @libp2p/gossipsub
  4. ›
  5. CVE-2026-119793

CVE-2026-119793: libp2p: gossipsub creates a permanent topics-map entry per distinct subscription with no cap in the default config

November 17, 2026

A single gossipsub peer can grow a node’s topics map without bound by flooding subscription RPCs, because the default configuration has no global, per-peer, or topic-length cap and peer scoring does not penalise subscription volume. The peer is never greylisted, so the growth continues toward OOM.

References

  • github.com/advisories/GHSA-x2vm-cf3p-m2w8
  • github.com/libp2p/js-libp2p/commit/d5534174d8b7d23ac1bd45a7e738664fbfb0cf4c
  • github.com/libp2p/js-libp2p/pull/3593
  • github.com/libp2p/js-libp2p/releases/tag/gossipsub-v17.0.0
  • github.com/libp2p/js-libp2p/security/advisories/GHSA-x2vm-cf3p-m2w8
  • nvd.nist.gov/vuln/detail/CVE-2026-119793

Code Behaviors & Features

Detect and mitigate CVE-2026-119793 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 17.0.0

Fixed versions

  • 17.0.0

Solution

Upgrade to version 17.0.0 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption
  • CWE-770: Allocation of Resources Without Limits or Throttling

Source file

npm/@libp2p/gossipsub/CVE-2026-119793.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 18 Nov 2026 12:17:25 +0000.