CVE-2025-57801
HIGH EPSS 9.8%
Published Aug 22, 202510mo ago · Modified Jun 17, 20262w ago
8.6 CVSS 4.0
Published Aug 22, 2025 10mo ago
Last Modified Jun 17, 2026 2w ago
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.
CVSS Details
Base Score
Exploitability
Impact
Vector string
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X Attack Vector Local
Attack Complexity Low
Privileges Required None
User Interaction None
Scope X
Threat Intelligence
EPSS Exploit Probability
9.8% percentile
Exploit & Patch Status
Public Exploit Known
Patch Available
Weaknesses 1
CWE-347
Affected Products 1
| Vendor | Product | Version | Range |
|---|---|---|---|
| consensys | gnark | * | <0.14.0 |
References 2
- github.com https://github.com/Consensys/gnark/commit/0ba6730f05537a351517998add89a61a0d82716e
- github.com https://github.com/Consensys/gnark/security/advisories/GHSA-95v9-hv42-pwrj
Remediation
- github.com https://github.com/Consensys/gnark/commit/0ba6730f05537a351517998add89a61a0d82716e