# CVE-2022-1930: ReDoS in eth-account encode\_structured\_data function

- Priority: **Routine**
- Reason: Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-08-22 · Modified: 2024-08-03
- Aliases: GHSA-v65g-f3cj-fjp4, PYSEC-2026-806
- Record: https://cvemate.com/vulnerability/CVE-2022-1930 · JSON: https://cvemate.com/vulnerability/CVE-2022-1930/json

## Description

```text
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
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.957%, percentile 62.637%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- eth-account eth-account: \< 0.5.9
- ethereum eth-account: \< 0.5.9
- PyPI eth-account (PyPI): \< 0.5.9

## References

- <https://research.jfrog.com/vulnerabilities/eth-account-redos-xray-248681/>
- <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>

---

Data as of 2026-12-05T08:28:25.028Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
