CVE-2025-57801: gnark is vulnerable to signature malleability in EdDSA and ECDSA due to missing scalar checks
In version before, sig.s
used without asserting 0 ≤ S < order
in Verify function
in eddsa.go and ecdsa.go, which will lead to signature malleability vulnerability.
References
Code Behaviors & Features
Detect and mitigate CVE-2025-57801 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →