SB2023082458 - Memory leak in go-libp2p



SB2023082458 - Memory leak in go-libp2p

Published: August 24, 2023 Updated: November 9, 2026

Security Bulletin ID SB2023082458
CSH Severity
Medium
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Remote access
Highest impact Denial of service

Breakdown by Severity

Medium 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 1 vulnerability.


1) Memory leak (CVE-ID: CVE-2023-40583)

CWE-ID: CWE-401 - Missing release of memory after effective lifetime

CVSSv4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]


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.


Remediation

Install update from vendor's website.