Memory leak in go-libp2p - CVE-2023-40583
Published: August 24, 2023 / Updated: November 9, 2026
Vulnerability details
The vulnerability allows an unauthenticated remote attacker to exhaust a go-libp2p node’s memory and crash it, causing denial of service.
The vulnerability exists due to acceptance of validly signed peer records without verifying their association with the sender, leaving records for unconnected peers in memory without cleanup. An unauthenticated remote attacker can repeatedly send records for randomly generated peers, accumulating retained data over time until the target runs out of memory without requiring victim interaction.