GHSA-8pfh-j44r-f654: Github.com/cosmos/evm Cosmos EVM Vulnerability Vulnerability

CRITICAL
Published
Advisory Summary

GHSA-8pfh-j44r-f654 is a CRITICAL cosmos evm vulnerability vulnerability (General Security Weakness) affecting Github.com/cosmos/evm libraries in the Go ecosystem. The issue involves cosmos evm vulnerability. Remediation is available by upgrading affected packages to version 0.3.2, 0.4.2.

GHSA-8pfh-j44r-f654 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-8pfh-j44r-f654
Severity CRITICAL
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Github.com/cosmos/evm
Package Ecosystem Go
Published Date
Last Updated

How to Fix GHSA-8pfh-j44r-f654

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

github.com/cosmos/evm fixed: 0.3.2
Upgrade github.com/cosmos/evm to 0.3.2
github.com/cosmos/evm fixed: 0.4.2
Upgrade github.com/cosmos/evm to 0.4.2
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 github.com/cosmos/evm

How to Check if You Are Affected

To determine whether your application is affected by GHSA-8pfh-j44r-f654, inspect your project dependencies for Github.com/cosmos/evm:

inspect dependencies for github.com/cosmos/evm

Analyze the terminal output to locate any version of Github.com/cosmos/evm in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.3.2), 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 General Security Weakness. In Github.com/cosmos/evm, 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

## Patches Patched in versions `v0.3.1`, `v0.4.2`, and in the `v0.5.0` release. More information will be disclosed at a later point to ensure chains have time to safely upgrade. ## Workarounds No workarounds for chains that make use of static or dynamic precompiles. Upgrading is strongly recommended. ## Testing Tests are introduced in every affected version. ## Credits Special thanks to @yihuang for the help on this issue.

GHSA-8pfh-j44r-f654 Affected Github.com/cosmos/evm Versions

2 component(s)
Fixed Versions:
0.3.20.4.2
Product / Package Ecosystem Affected Versions Fixed Version
github.com/cosmos/evm
Go
≥ 0.3.0
< 0.3.2
0.3.2
github.com/cosmos/evm
Go
≥ 0.4.0
< 0.4.2
0.4.2

References

Frequently Asked Questions

What is GHSA-8pfh-j44r-f654?
GHSA-8pfh-j44r-f654 is a security vulnerability in Github.com/cosmos/evm involving Cosmos EVM Vulnerability under General Security Weakness.
Which Github.com/cosmos/evm versions are affected?
Affected versions include releases prior to 0.3.2, 0.4.2 across affected packages: github.com/cosmos/evm.
What version fixes GHSA-8pfh-j44r-f654?
Upgrading to 0.3.2, 0.4.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/cosmos/evm affected?
Yes, github.com/cosmos/evm is affected in releases prior to 0.3.2, 0.4.2. Upgrade your dependency to 0.3.2, 0.4.2 or later.
What CWE is associated with GHSA-8pfh-j44r-f654?
GHSA-8pfh-j44r-f654 is classified under General Security Weakness.
How can I check Go dependencies for GHSA-8pfh-j44r-f654?
Run the dependency tree command: 'inspect dependencies for github.com/cosmos/evm'. 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-8pfh-j44r-f654",
  "modified" : "2025-10-21T18:04:34Z",
  "published" : "2025-10-21T18:04:34Z",
  "aliases" : [ ],
  "summary" : "Cosmos EVM Vulnerability",
  "details" : "## Patches\nPatched in versions `v0.3.1`, `v0.4.2`, and in the `v0.5.0` release. More information will be disclosed at a later point to ensure chains have time to safely upgrade.\n\n## Workarounds\nNo workarounds for chains that make use of static or dynamic precompiles. Upgrading is strongly recommended.\n\n## Testing\nTests are introduced in every affected version.\n\n## Credits\nSpecial thanks to @yihuang for the help on this issue.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/cosmos/evm"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.3.0"
      }, {
        "fixed" : "0.3.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/cosmos/evm"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.4.0"
      }, {
        "fixed" : "0.4.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/cosmos/evm/security/advisories/GHSA-8pfh-j44r-f654"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/cosmos/evm/commit/79089feebe79ce1f35250ba457cbd436e6bfff8b"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/cosmos/evm"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-10-21T18:04:34Z",
    "nvd_published_at" : null
  }
}