8.6
/ 10
HIGH
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N
Description
gnark is a zero-knowledge proof system framework. In versions prior to 0.14.0, the Verify function in eddsa.go and ecdsa.go used the S value from a signature without asserting that 0 β€ S < order, leading to a signature malleability vulnerability. Because gnarkβs native EdDSA and ECDSA circuits lack essential constraints, multiple distinct witnesses can satisfy the same public inputs. In protocols where nullifiers or anti-replay checks are derived from R and S, this enables signature malleability and may allow double spending. This issue has been addressed in version 0.14.0.
Basic Information
ID
CVE-2025-57801
Source
GitHub_M
Published
Aug 22, 2025 at 19:54
Modified
Aug 22, 2025 at 20:06
Affected Product
Vendor
Consensys
Product
gnark
Version
< 0.14.0
Affected Versions
Consensys gnark < 0.14.0