CVE-2025-57801 - CVE House
Back to Database
Status published High CVE-2025-57801

gnark is vulnerable to signature malleability in EdDSA and ECDSA due to missing scalar checks

Vulnerability 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2025-57801

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

gnark
Vulnerable Versions:
< 0.14.0

Timeline

Official Publish: August 22nd, 2025
Last Modified: August 22nd, 2025
Added to House: July 22nd, 2026

CVSS Vectors

Weaknesses (CWE)