rust-ethereum/ethereum · Security
ethereum does not check transaction malleability for EIP-2930, EIP-1559 and EIP-7702 transactions
- GHSA ID
- GHSA-3w94-vq2x-v5wr
- CVE ID
- CVE-2025-53359
- Severity
- medium
- Published
- Updated
- CVSS v4
- 6.9 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Description
Impact
Prior to ethereum crate v0.18.0, signature malleability (according to EIP-2) was only checked for "legacy" transactions, but not for EIP-2930, EIP-1559 and EIP-7702 transactions.
This is a specification deviation and therefore a high severity advisory if the ethereum crate is used for Ethereum mainnet. Note that signature malleability itself is not a security issue, and therefore if the ethereum crate is used on a single-implementation blockchain, it's a low/informational severity advisory.
Patches
The issue is fixed in ethereum v0.18.0
Workarounds
You can also manually check transaction malleability outside of the crate. But it's recommended to simply upgrade the version.
References
CWEs
- CWE-754 · Improper Check for Unusual or Exceptional Conditions
References
- https://github.com/rust-ethereum/ethereum/security/advisories/GHSA-3w94-vq2x-v5wr ↗
- https://github.com/rust-ethereum/ethereum/pull/67 ↗
- https://nvd.nist.gov/vuln/detail/CVE-2025-53359 ↗
- https://github.com/rust-ethereum/ethereum/commit/2dd9d1d5d0936ec7350093ff3a5a7169a349db77 ↗
- https://github.com/advisories/GHSA-3w94-vq2x-v5wr ↗