CVE-2023-39533

HIGH CVSS 3.1: 7.5 EPSS 1.51%
Updated Sep 02, 2026
Libp2P
Parameter Value
CVSS 7.5 (HIGH)
Affected Versions 0.28.0 — 0.28.2
Fixed In 0.27.8
Type CWE-770 (Allocation Without Limits)
Vendor Libp2P
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Vulnerable Products 3

Configuration From (including) Up to (excluding)
Libp2p Go-Libp2p
cpe:2.3:a:libp2p:go-libp2p:*:*:*:*:*:go:*:*
— 0.27.8
Libp2p Go-Libp2p
cpe:2.3:a:libp2p:go-libp2p:*:*:*:*:*:go:*:*
0.28.0 0.28.2
Libp2p Go-Libp2p
cpe:2.3:a:libp2p:go-libp2p:0.29.0:*:*:*:*:go:*:*
— —