Approved changes feed: RSS · Atom

cpe:2.3:a:libp2p:go-libp2p:*:*:*:*:*:*:*:*

part: a version: * update: *

VendorLibp2P (5d6b9982-60cd-5153-8943-fee204985cfc)
ProductGo Libp2P (ab833325-fac6-57f6-ab91-e5069b5caf25)
Edition*
Language*
Software edition*
Target software*
Target hardware*
Other*
NotesImported from purl2cpe mapping

PURL mappings

PURLSourceLast updated
pkg:github/libp2p/go-libp2p purl2cpe 2026-06-01 10:15:24.461826
pkg:golang/github.com/libp2p/go-libp2p purl2cpe 2026-06-01 10:15:24.461830

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2023-40583 vulnerable 2026-06-08 06:11:03.689506 libp2p nodes vulnerable to OOM attack
HIGH (7.5)
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.
Published: 2023-08-25T20:25:28.297Z
Updated: 2024-10-02T14:45:16.702Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2023-39533 vulnerable 2026-06-08 06:09:37.662537 libp2p nodes vulnerable to attack using large RSA keys
HIGH (7.5)
go-libp2p is the Go implementation of the libp2p Networking Stack. Prior to versions 0.27.8, 0.28.2, and 0.29.1 malicious peer can use large RSA keys to run a resource exhaustion attack & force a node to spend time doing signature verification of the large key. This vulnerability is present in the core/crypto module of go-libp2p and can occur during the Noise handshake and the libp2p x509 extension verification step. To prevent this attack, go-libp2p versions 0.27.8, 0.28.2, and 0.29.1 restrict RSA keys to <= 8192 bits. To protect one's application, it is necessary to update to these patch releases and to use the updated Go compiler in 1.20.7 or 1.19.12. There are no known workarounds for this issue.
Published: 2023-08-08T18:50:05.418Z
Updated: 2024-10-10T17:41:36.824Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2022-23492 vulnerable 2026-06-08 05:40:57.636668 go-libp2p denial of service vulnerability from lack of resource management
HIGH (7.5)
go-libp2p is the offical libp2p implementation in the Go programming language. Version `0.18.0` and older of go-libp2p are vulnerable to targeted resource exhaustion attacks. These attacks target libp2p’s connection, stream, peer, and memory management. An attacker can cause the allocation of large amounts of memory, ultimately leading to the process getting killed by the host’s operating system. While a connection manager tasked with keeping the number of connections within manageable limits has been part of go-libp2p, this component was designed to handle the regular churn of peers, not a targeted resource exhaustion attack. Users are advised to upgrade their version of go-libp2p to version `0.18.1` or newer. Users unable to upgrade may consult the denial of service (dos) mitigation page for more information on how to incorporate mitigation strategies, monitor your application, and respond to attacks.
Published: 2022-12-08T00:08:11.210Z
Updated: 2025-04-23T16:31:24.219Z
Reference links
Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.