{"id":"GHSA-ppjg-v974-84cm","revision":"85e04e5876a54c5491211d7234443887","records":[{"revision":"85e04e5876a54c5491211d7234443887","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-ppjg-v974-84cm","aliases":["CVE-2023-40591","GO-2023-2046"],"title":"Go-Ethereum vulnerable to denial of service via malicious p2p message","description":"### Impact\n\nA vulnerable node, can be made to consume unbounded amounts of memory when handling specially crafted p2p messages sent from an attacker node.\n\n### Details\n\nThe p2p handler spawned a new goroutine to respond to `ping` requests. By flooding a node with ping requests, an unbounded number of goroutines can be created, leading to resource exhaustion and potentially crash due to OOM.\n\n### Patches\n\nThe fix is included in geth version `1.12.1-stable`, i.e, `1.12.2-unstable` and onwards. \n\nFixed by https://github.com/ethereum/go-ethereum/pull/27887\n\n### Workarounds\n\nNo known workarounds. \n\n### Credits\n\nThis bug was reported by Patrick McHardy and reported via [bounty@ethereum.org](mailto:bounty@ethereum.org). \n\n### References\n\n","state":0,"publishedAt":"2023-09-06T19:49:46+00:00","modifiedAt":"2026-09-10T03:49:58.3857936+00:00","affected":[{"ecosystem":"Go","name":"github.com/ethereum/go-ethereum","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.12.1-stable"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/ethereum/go-ethereum/security/advisories/GHSA-ppjg-v974-84cm","https://nvd.nist.gov/vuln/detail/CVE-2023-40591","https://geth.ethereum.org/docs/developers/geth-developer/disclosures","https://github.com/ethereum/go-ethereum","https://github.com/ethereum/go-ethereum/releases/tag/v1.12.1"],"sourceUrl":"https://github.com/advisories/GHSA-ppjg-v974-84cm","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-ppjg-v974-84cm","identifiers":["GHSA-ppjg-v974-84cm","CVE-2023-40591","GO-2023-2046"]},"retained":false,"historicalAffected":[]}],"coverage":[]}