CVE-2025-54427
published medium CVSS 4.0 · 6.9Polkadot Frontier contains missing `check_inherent` for `note_min_gas_price_target` inflates gas price
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| polkadot-evm | — | frontier< a754b3d | Affected | Not stated | GitHub_M |
Description
Polkadot Frontier is an Ethereum and EVM compatibility layer for Polkadot and Substrate. The extrinsic note_min_gas_price_target is an inherent extrinsic, meaning only the block producer can call it. To ensure correctness, the ProvideInherent trait should be implemented for each inherent, which includes the check_inherent call. This allows other nodes to verify if the input (in this case, the target value) is correct. However, prior to commit a754b3d, the check_inherent function has not been implemented for note_min_gas_price_target. This lets the block producer set the target value without verification. The target is then used to set the MinGasPrice, which has an upper and lower bound defined in the on_initialize hook. The block producer can set the target to the upper bound. Which also increases the upper and lower bounds for the next block. Over time, this could result in continuously raising the gas price, making contract execution too expensive and ineffective for users. An attacker could use this flaw to manipulate the gas price, potentially leading to significantly inflated transaction fees. Such manipulation could render contract execution prohibitively expensive for users, effectively resulting in a denial-of-service condition for the network. This is fixed in version a754b3d.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| polkadot-evm | frontier | < a754b3d (affected) | GitHub_M · cna |
Weaknesses
2- CWE-682 CWE-682: Incorrect Calculation
- CWE-754 CWE-754: Improper Check for Unusual or Exceptional Conditions
References
3Provider assertions
2GitHub_M · cna
Polkadot Frontier contains missing `check_inherent` for `note_min_gas_price_target` inflates gas price
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- b09dfaa1de2d4c7876207a1762987a8947b96cd4bbb75fa9b30e0c2c8d9efac0
- Ingested
- 23 Sep 2026, 08:53:04 UTC
- Source record
- Official CVE record