CVE-2025-54426
Polkadot Frontier contains silent failure in Curve25519 arithmetic precompiles with malformed points
- State
- Published
- Severity
- 9.9 Critical
- Published
- Jul 28, 2025
- Updated
- Jul 28, 2025
- Reserved
- Jul 21, 2025
Description
Polkadot Frontier is an Ethereum and EVM compatibility layer for Polkadot and Substrate. In versions prior to commit 36f70d1, the Curve25519Add and Curve25519ScalarMul precompiles incorrectly handle invalid Ristretto point representations. Instead of returning an error, they silently treat invalid input bytes as the Ristretto identity element, leading to potentially incorrect cryptographic results. This is fixed in commit 36f70d1.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 9.9 Critical | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:H/SA:N | GitHub_M |
Weaknesses
- CWE-327 Use of a Broken or Risky Cryptographic Algorithm
Affected Products
| Product | Versions |
|---|---|
frontierpolkadot-evm |
|
References
- https://github.com/polkadot-evm/frontier/security/advisories/GHSA-v4q3-23rh-w5mw
- https://github.com/polkadot-evm/frontier/pull/1720/commits/8ed6053fb868495477ba2409f7e64f439df76f96
- https://github.com/polkadot-evm/frontier/commit/36f70d1defcaeaed5a453015f6c98c21bb5b121b
- https://dotpal.io/assets/files/frontier-srlabs-2505-718c3bfa5df9fed1862fed05de506859.pdf
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.