GHSA-8pfh-j44r-f654 Cosmos EVM Vulnerability
A vulnerability in the Cosmos EVM library requires upgrading to patched versions to mitigate potential security risks.
- Exploited in the wild
- Not known
- Login needed
- Not stated
- Attackable
- Over the internet
- Victim action needed
- Not stated
- Fix
- Available
What is GHSA-8pfh-j44r-f654?
GHSA-8pfh-j44r-f654 is a vulnerability in github.com/cosmos/evm, published on 21 Oct 2025. It can be exploited over the network.
Official description
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.
Which versions are affected by GHSA-8pfh-j44r-f654?
5 open source packages ship an affected version, including github.com/cosmos/evm.
| Package | Affected | Fixed in |
|---|---|---|
github.com/cosmos/evm Go | From 0.3.0 | 0.3.2, 0.4.2 |
github.com/cosmos/evm Go | From 0.3.0 | 0.3.2 |
github.com/cosmos/evm Go | From 0.3.0 | 0.3.2 |
github.com/cosmos/evm Go | From 0.4.0 | 0.4.2 |
github.com/cosmos/evm Go | From 0.4.0 | 0.4.2 |
How do I fix GHSA-8pfh-j44r-f654?
Upgrade github.com/cosmos/evm to a fixed version for your release line: 0.3.2 or 0.4.2.
Is GHSA-8pfh-j44r-f654 being exploited?
There is no known exploitation of GHSA-8pfh-j44r-f654 in the wild and no public exploit code.
Sources
Also known as GO-2025-4041.