CVE 8.6 HIGH

gnark is vulnerable to signature malleability in EdDSA and ECDSA due to missing scalar checks_CVE-2025-57801

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

CWE Classification

References

πŸ’­ 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.