Critical severity9.1NVD Advisory· Published Aug 22, 2025· Updated Jun 17, 2026
CVE-2025-57801
CVE-2025-57801
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/consensys/gnarkGo | < 0.14.0 | 0.14.0 |
Affected products
3Patches
Vulnerability mechanics
References
5- github.com/Consensys/gnark/commit/0ba6730f05537a351517998add89a61a0d82716envdPatchWEB
- github.com/Consensys/gnark/security/advisories/GHSA-95v9-hv42-pwrjnvdExploitVendor AdvisoryWEB
- github.com/advisories/GHSA-95v9-hv42-pwrjghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-57801ghsaADVISORY
- pkg.go.dev/vuln/GO-2025-3912ghsaWEB
News mentions
0No linked articles in our index yet.