Incorrect Type Conversion or Cast Affecting pallet-evm-precompile-dispatch package, versions >=0.0.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (17th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RUST-PALLETEVMPRECOMPILEDISPATCH-11431276
  • published4 Aug 2025
  • disclosed28 Jul 2025
  • creditUnknown

Introduced: 28 Jul 2025

NewCVE-2025-54429  (opens in a new tab)
CWE-704  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

Affected versions of this package are vulnerable to Incorrect Type Conversion or Cast via the incorrect implementation of the CallableByContract process. An attacker can access precompile addresses that should be unreachable by smart contract accounts by constructing a smart contract under CREATE or CREATE2, which is mistakenly identified as an externally owned account.

Note: This is exploitable if custom precompile implementations utilize both AddressType::EOA and AddressType::Contract.

CVSS Base Scores

version 4.0
version 3.1