CVE-2025-54429CWE-704

Polkadot Frontier's constructing smart contract can bypass precompile address bounding

Medium · published July 28, 2025

CVSS v4.0
6.9
EPSS
1%
Percentile
42.2
In the wild
Unconfirmed
What it is

Polkadot Frontier is an Ethereum and EVM compatibility layer for Polkadot and Substrate. There are various account address types in Frontier, e.g. precompiled contracts, smart contracts, and externally owned accounts. Some EVM mechanisms should be unreachable by certain types of accounts for safety. For precompiles to be callable by smart contracts they must be explicitly configured as CallableByContract. If this configuration is absent, then the precompile should be unreachable via smart contract accounts. In commits prior to 0822030, the underlying implementation of CallableByContract which returned the AddressType was incorrect. It considered the contract address running under CREATE or CREATE2 to be AddressType::EOA rather than correctly as AddressType::Contract. The issue only affects users who use custom precompile implementations that utilize AddressType::EOA and AddressType::Contract. It's not directly exploitable in any of the predefined precompiles in Frontier. This is fixed in version 0822030.

The record
Technical detail
CVSS v4.0
6.9 · MEDIUM
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
EPSS
0.00505 · 42.2th percentile
Weakness
CWE-704 · Incorrect Type Conversion or Cast
Published
2025-07-28T20:34Z
EPSS history
Timeline
  • 28 JUL 20:34Z
    Polkadot Frontier's constructing smart contract can bypass precompile address bounding
    cvelistv5