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.
Problem types
CWE-327: Use of a Broken or Risky Cryptographic Algorithm
Product status
References
github.com/...ontier/security/advisories/GHSA-v4q3-23rh-w5mw
github.com/...mmits/8ed6053fb868495477ba2409f7e64f439df76f96
github.com/...ommit/36f70d1defcaeaed5a453015f6c98c21bb5b121b
dotpal.io/...rlabs-2505-718c3bfa5df9fed1862fed05de506859.pdf