GitHub Advisoryadvisory · crates.io

GHSA-3w94-vq2x-v5wr ethereum does not check transaction malleability for EIP-2930, EIP-1559 and EIP-7702 transactions

MEDIUM Published 2025-07-02 Modified 2025-07-02 Official page ↗
Aliases
CVE-2025-53359
Ecosystem
crates.io
Packages
ethereum
Severity
Moderate
CVSS vector
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
Weaknesses
CWE-754
Reviewed
2025-07-02

Affected packages

• crates.io ethereum: < 0.18.0 → fixed in 0.18.0

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 See PR: https://github.com/rust-ethereum/ethereum/pull/67

Related

Alias · CVE (1)

  • CVE-2025-53359 ethereum is a common ethereum structs for Rust. vulnerability

Weakness · CWE (1)

  • CWE-754 Improper Check for Unusual or Exceptional Conditions weakness

References