# CVE-2023-40583: libp2p nodes vulnerable to OOM attack

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2023-08-25 · Modified: 2024-10-02
- Aliases: GHSA-gcq9-qqwx-rgj3, GO-2023-2024
- Record: https://cvemate.com/vulnerability/CVE-2023-40583 · JSON: https://cvemate.com/vulnerability/CVE-2023-40583/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.952%, percentile 62.516%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- github.com/libp2p go-libp2p (Go): \< 0.27.4
- libp2p go-libp2p: \< 0.27.4
- protocol libp2p: \< 0.27.4

## References

- <https://github.com/libp2p/go-libp2p/security/advisories/GHSA-gcq9-qqwx-rgj3>
- <https://github.com/libp2p/go-libp2p/commit/45d3c6fff662ddd6938982e7e9309ad5fa2ad8dd>
- <https://github.com/libp2p/go-libp2p/releases/tag/v0.27.4>
- <https://github.com/libp2p/go-libp2p/releases/tag/v0.27.7>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-40583>
- <https://github.com/libp2p/go-libp2p>

---

Data as of 2026-12-05T07:29:45.551Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
