Advisory

PYSEC-2026-806

Also known as: CVE-2022-1930, GHSA-v65g-f3cj-fjp4

Summary

Regular expression denial of service in eth-account

Details

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

Severity

Medium Basis: CVSS v3 score 5.9, vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2026-07-06 08:03 UTC
Modified
2026-07-07 11:45 UTC

Affected packages and fixes

eth-account

PyPI · All systems

Affected

  • introduced 0, fixed 0.5.9 (ecosystem)

Fixed versions

0.5.9

Fix

  • Fixed version 0.5.9
    pip install --upgrade eth-account==0.5.9

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences