CVE-2025-53359: Ethereum Ethereum Does Not Check Transaction Vulnerability

MODERATE
Advisory Identifier: GHSA-3w94-vq2x-v5wr
CWE-754
Published
Advisory Summary

CVE-2025-53359 is a MODERATE ethereum does not check transaction vulnerability (CWE-754: Improper Check for Unusual or Exceptional Conditions) affecting Ethereum libraries in the crates.io ecosystem. The issue involves ethereum does not check transaction malleability for eip-2930, eip-1559 and eip-7702 transactions. Remediation is available by upgrading affected packages to version 0.18.0.

CVE-2025-53359 at a Glance

CVE Identifier CVE-2025-53359
GHSA Identifier GHSA-3w94-vq2x-v5wr
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-754: Improper Check for Unusual or Exceptional Conditions
Affected Product Ethereum
Package Ecosystem crates.io
Published Date
Last Updated

How to Fix CVE-2025-53359

To remediate this vulnerability, upgrade all affected Ethereum dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

ethereum fixed: 0.18.0
Upgrade ethereum to 0.18.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for ethereum

How to Check if You Are Affected

To determine whether your application is affected by CVE-2025-53359, inspect your project dependencies for Ethereum:

inspect dependencies for ethereum

Analyze the terminal output to locate any version of Ethereum in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.18.0), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-754: Improper Check for Unusual or Exceptional Conditions, where the product does not check or incorrectly checks for unusual or exceptional conditions that are not expected to occur frequently during day to day operation of the product. In Ethereum, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### 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

CVE-2025-53359 Affected Ethereum Versions

1 component(s)
Fixed Versions:
0.18.0
Product / Package Ecosystem Affected Versions Fixed Version
ethereum
crates.io
< 0.18.0
0.18.0

References

Frequently Asked Questions

What is CVE-2025-53359?
CVE-2025-53359 is a security vulnerability in Ethereum involving ethereum does not check transaction malleability for EIP-2930, EIP-1559 and EIP-7702 transactions under CWE-754: Improper Check for Unusual or Exceptional Conditions.
Which Ethereum versions are affected?
Affected versions include releases prior to 0.18.0 across affected packages: ethereum.
What version fixes CVE-2025-53359?
Upgrading to 0.18.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is ethereum affected?
Yes, ethereum is affected in releases prior to 0.18.0. Upgrade your dependency to 0.18.0 or later.
What CWE is associated with CVE-2025-53359?
CVE-2025-53359 is classified under CWE-754: Improper Check for Unusual or Exceptional Conditions (The product does not check or incorrectly checks for unusual or exceptional conditions that are not expected to occur frequently during day to day operation of the product.).
How can I check crates.io dependencies for CVE-2025-53359?
Run the dependency tree command: 'inspect dependencies for ethereum'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-3w94-vq2x-v5wr",
  "modified" : "2025-07-02T18:59:52Z",
  "published" : "2025-07-02T15:12:18Z",
  "aliases" : [ "CVE-2025-53359" ],
  "summary" : "ethereum does not check transaction malleability for EIP-2930, EIP-1559 and EIP-7702 transactions",
  "details" : "### Impact\n\nPrior 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.\n\nThis 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.\n\n### Patches\n\nThe issue is fixed in `ethereum` v0.18.0\n\n### Workarounds\n\nYou can also manually check transaction malleability outside of the crate. But it's recommended to simply upgrade the version.\n\n### References\n\nSee PR: https://github.com/rust-ethereum/ethereum/pull/67",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "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"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "crates.io",
      "name" : "ethereum"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.18.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/rust-ethereum/ethereum/security/advisories/GHSA-3w94-vq2x-v5wr"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-53359"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/rust-ethereum/ethereum/pull/67"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/rust-ethereum/ethereum/commit/2dd9d1d5d0936ec7350093ff3a5a7169a349db77"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/rust-ethereum/ethereum"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-754" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-07-02T15:12:18Z",
    "nvd_published_at" : "2025-07-02T16:15:29Z"
  }
}