Regular expression denial of service in eth-account
An exponential ReDoS (Regular Expression Denial of Service) can be triggered in the eth-account PyPI package, when an attacker is able to supply arbitrary input to the encode_structured_data method
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | eth-account | < 0.5.9 | 0.5.9 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-1930
- https://github.com/ethereum/eth-account/commit/70f89be700df0d5f08ef696252c88741f8414060
- https://github.com/ethereum/eth-account
- https://research.jfrog.com/vulnerabilities/eth-account-redos-xray-248681
- https://pypi.org/project/eth-account
- https://github.com/advisories/GHSA-v65g-f3cj-fjp4
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H- Weakness (CWE)
CWE-1333, CWE-697- Platform
- Python (PyPI)
- Package
eth-account- Disclosed
- 23.08.2022
- Updated
- 11.10.2026 13:18
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2026-806 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-v65g-f3cj-fjp4 - CC BY 4.0
Vulnerability history: eth-account
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.