CVE-2025-57801
CWE-347Published: August 22, 2025· Updated: Jun 17, 2026
Official 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.
Risk Analysis
The gnark zero-knowledge proof framework is vulnerable to signature malleability because it fails to properly constrain S values in EdDSA and ECDSA signatures. This flaw could allow attackers to perform double-spending or bypass anti-replay checks in protocols relying on these signatures.
There is no known public exploit for this vulnerability, and it is not listed in the KEV catalog.
Update the gnark framework to version 0.14.0 or later to ensure proper signature constraints are enforced.
Technical Analysis
CVE-2025-57801 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.
The vulnerability requires no privileges and no user interaction, making it a prime target for automated exploitation campaigns and worm-like propagation.
A successful exploit results in full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 9.1.
CVSS v3.1 Vector Breakdown
Affected Vendors & Products
Exploit & PoC Resources
Official Patches & Advisories
All References (2)
Quick Facts
Related CVEs (CWE-347)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2025-57801 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts