High severity · published Aug 25, 2023
CVE-2023-40583
libp2p is a networking stack and library modularized out of The IPFS Project, and bundled separately for other tools to use
7.5
CVSS
1%
EPSS
No
On KEV
Description
libp2p is a networking stack and library modularized out of The IPFS Project, and bundled separately for other tools to use. In go-libp2p, by using signed peer records a malicious actor can store an arbitrary amount of data in a remote node’s memory. This memory does not get garbage collected and so the victim can run out of memory and crash. If users of go-libp2p in production are not monitoring memory consumption over time, it could be a silent attack i.e. the attacker could bring down nodes over a period of time (how long depends on the node resources i.e. a go-libp2p node on a virtual server with 4 gb of memory takes about 90 sec to bring down; on a larger server, it might take a bit longer.) This issue was patched in version 0.27.4.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.0% · higher than 61% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
LI
Libp2p · Protocol
before 0.27.4 · source: NVD
Affected product
LI
Libp2p
Protocol
More from Libp2p
8.2
CVE-2026-35457
libp2p-rust has unbounded rendezvous DISCOVER cookies enable remote memory exhaustion
7.5
CVE-2026-35405
libp2p-rendezvous: Unlimited namespace registrations per peer enables OOM DoS on rendezvous servers
7.5
CVE-2022-23492
go-libp2p is the offical libp2p implementation in the Go programming language
7.5
CVE-2022-23487
js-libp2p is the official javascript Implementation of libp2p networking stack
7.5
CVE-2022-23486
libp2p-rust is the official rust language Implementation of the libp2p networking stack