CVE-2026-46679
Received Received - Intake
Heap Exhaustion in libp2p Gossipsub Node.js

Publication date: 2026-06-10

Last updated on: 2026-06-10

Assigner: GitHub, Inc.

Description
libp2p is a JavaScript Implementation of libp2p networking stack. Prior to version 15.0.23, three cooperating omissions in @libp2p/gossipsub allow an unauthenticated single peer to exhaust the Node.js heap of any gossipsub node with default options. This issue has been patched in version 15.0.23.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-10
Last Modified
2026-06-10
Generated
2026-06-11
AI Q&A
2026-06-11
EPSS Evaluated
N/A
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
libp2p libp2p to 15.0.23 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-400 The product does not properly control the allocation and maintenance of a limited resource.
CWE-20 The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
CWE-401 The product does not sufficiently track and release allocated memory after it has been used, making the memory unavailable for reallocation and reuse.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

This vulnerability exists in the libp2p JavaScript implementation of the libp2p networking stack, specifically in the @libp2p/gossipsub module prior to version 15.0.23. It involves three cooperating omissions that allow an unauthenticated single peer to exhaust the Node.js heap memory of any gossipsub node running with default options.

Essentially, an attacker can cause a denial of service by consuming all available heap memory on a target node, potentially causing the node to crash or become unresponsive.

Impact Analysis

The primary impact of this vulnerability is a denial of service (DoS) condition. An unauthenticated attacker can exhaust the heap memory of a gossipsub node, leading to crashes or degraded performance.

This can disrupt network communications and services relying on libp2p, potentially causing downtime or loss of availability.

Mitigation Strategies

To mitigate this vulnerability, you should upgrade the @libp2p/gossipsub package to version 15.0.23 or later, where the issue has been patched.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-46679. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart