Polkadot Frontier contains silent failure in Curve25519 arithmetic precompiles with malformed points

CVE Details

Basic Information

Title Polkadot Frontier contains silent failure in Curve25519 arithmetic precompiles with malformed points
Type cve
Published 2025-07-28T20:08:22.886Z
Modified 2025-07-28T20:26:18.866Z

Product Information

Vendor polkadot-evm
Product frontier
Version < 36f70d1

CVSS Information

Base Score 9.9 (CRITICAL)
Attack Vector 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

Affected Products

  • polkadot-evm frontier < 36f70d1

Additional Information

CWE List CWE-327
Source GitHub_M

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.

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.