CVE-2026-119793: libp2p: gossipsub creates a permanent topics-map entry per distinct subscription with no cap in the default config
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 →