{"id":"CVE-2024-32972","aliases":["CVE-2024-32972","GHSA-4xc9-8hmq-j652","GO-2024-2819"],"related":[],"kind":"vulnerability","state":"published","title":"go-ethereum denial of service via malicious p2p message","summary":"go-ethereum (geth) is a golang execution layer implementation of the Ethereum protocol. Prior to 1.13.15, a vulnerable node can be made to consume very large amounts of memory when handling specially crafted p2p messages sent from an attacker node. The fix has been included in geth version `1.13.15` and onwards.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"go-ethereum (geth) is a golang execution layer implementation of the Ethereum protocol. Prior to 1.13.15, a vulnerable node can be made to consume very large amounts of memory when handling specially crafted p2p messages sent from an attacker node. The fix has been included in geth version `1.13.15` and onwards.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nA vulnerable node can be made to consume very large amounts of memory when handling specially crafted p2p messages sent from an attacker node.\n\nIn order to carry out the attack, the attacker establishes a peer connections to the victim, and sends a malicious `GetBlockHeadersRequest` message with a `count` of  `0`, using the `ETH` protocol. \n\nIn `descendants := chain.GetHeadersFrom(num+count-1, count-1)`, the value of `count-1` is passed to the function `GetHeadersFrom(number, count uint64)` as parameter `count`. Due to integer overflow, `UINT64_MAX` value is then passed as the `count` argument to function `GetHeadersFrom(number, count uint64)`. This allows an attacker to bypass `maxHeadersServe` and request all headers from the latest block back to the genesis block. \n\n### Patches\n\nThe fix has been included in geth version `1.13.15` and onwards. \n\nThe vulnerability was patched in: https://github.com/ethereum/go-ethereum/pull/29534\n\n### Workarounds\n\nNo workarounds have been made public. \n\n### References\n\nNo more information is released at this time.\n\n### Credit\n\nThis issue was disclosed responsibly by DongHan Kim via the Ethereum bug bounty program. Thank you for your cooperation.","format":"markdown","source":"ghsa"},{"lang":"en","text":"A vulnerable node can be made to consume very large amounts of memory when handling specially crafted p2p messages sent from an attacker node. This can result in a denial of service as the node runs out of memory.","format":"markdown","source":"go"},{"lang":"es","text":"go-ethereum (geth) es una implementación de la capa de ejecución golang del protocolo Ethereum. Antes de 13.01.15, se podía hacer que un nodo vulnerable consumiera cantidades muy grandes de memoria al manejar mensajes p2p especialmente manipulados enviados desde un nodo atacante. La solución se incluyó en la versión geth `1.13.15` y posteriores.","source":"nvd"}],"published":"2024-05-06T14:20:40.000Z","modified":"2026-06-17T07:30:47.887Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-400"],"affected":[{"ranges":[{"version":"< 1.13.15","status":"affected"}],"vendor":"ethereum","product":"go-ethereum","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"1.13.15","status":"affected"}],"vendor":"ethereum","product":"go_ethereum","cpe":"cpe:2.3:a:ethereum:go_ethereum:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.13.15"}],"ecosystem":"Go","package":"github.com/ethereum/go-ethereum","purl":"pkg:golang/github.com/ethereum/go-ethereum","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.13.15"}],"ecosystem":"Go","package":"github.com/ethereum/go-ethereum","purl":"pkg:golang/github.com/ethereum/go-ethereum","source":"go"}],"references":[{"url":"https://github.com/ethereum/go-ethereum/security/advisories/GHSA-4xc9-8hmq-j652","tags":["web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/ethereum/go-ethereum/compare/v1.13.14...v1.13.15","tags":["web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-32972","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-4xc9-8hmq-j652","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/ethereum/go-ethereum","tags":["package"],"sources":["ghsa"]}],"credits":["DongHan Kim"],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-05-09T19:07:59.118Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-32972","url":"https://www.cve.org/CVERecord?id=CVE-2024-32972","licence":"CVE Terms of Use","modified":"2024-08-02T02:27:53.323Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-4xc9-8hmq-j652","url":"https://github.com/advisories/GHSA-4xc9-8hmq-j652","licence":"CC-BY-4.0","modified":"2024-08-16T18:15:47.000Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2024-2819","url":"https://pkg.go.dev/vuln/GO-2024-2819","licence":"CC-BY-4.0","modified":"2026-03-03T04:55:20.016Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-32972","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-32972","licence":"Public domain","modified":"2026-06-17T07:30:47.887Z"}],"updatedAt":"2026-11-25T22:58:39.992Z","epss":{"score":0.00846,"percentile":0.59148,"date":"2026-12-01T12:00:22.000Z"}}