{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2023-40583","published":"2023-08-25T21:15:09Z","last_modified":"2026-06-17T06:18:34.563000Z","status":"Modified","cvss":{"version":"3.1","score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-400"],"cpes":[{"criteria":"cpe:2.3:a:protocol:libp2p:*:*:*:*:*:go:*:*","part":"a","vendor":"protocol","product":"libp2p","version_end_excluding":"0.27.4"}],"cpes_truncated":false,"vendors":["protocol"],"products":["protocol/libp2p"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"partial"},"epss":{"score":0.01143,"percentile":0.66502,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-gcq9-qqwx-rgj3","ecosystem":"Go","name":"github.com/libp2p/go-libp2p","purl":"pkg:golang/github.com/libp2p/go-libp2p","ranges":[{"introduced":"0","fixed":"0.27.4"}],"versions":[],"versions_truncated":false},{"advisory":"GO-2023-2024","ecosystem":"Go","name":"github.com/libp2p/go-libp2p","purl":"pkg:golang/github.com/libp2p/go-libp2p","ranges":[{"introduced":"0","fixed":"0.27.4"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":60,"links":{"html_es":"/es/cve/CVE-2023-40583/","html_en":"/en/cve/CVE-2023-40583/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-40583","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-40583"},"untrusted":{"vendor_name":"Protocol","product_name":"Libp2p","desc_en":"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.","affected":[{"untrusted_vendor":"libp2p","untrusted_product":"go-libp2p","versions":[]}],"references":[{"url":"https://github.com/libp2p/go-libp2p/commit/45d3c6fff662ddd6938982e7e9309ad5fa2ad8dd","tags":["Patch"]},{"url":"https://github.com/libp2p/go-libp2p/releases/tag/v0.27.4","tags":["Release Notes"]},{"url":"https://github.com/libp2p/go-libp2p/releases/tag/v0.27.7","tags":["Release Notes"]},{"url":"https://github.com/libp2p/go-libp2p/security/advisories/GHSA-gcq9-qqwx-rgj3","tags":["Vendor Advisory"]}]}}