CVE-2025-57801
CRITICALgnark < 0.14.0 - Signature Malleability via Improper S Value Verification
Title source: llmDescription
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.
References (2)
Core 2
Core References
Exploit, Vendor Advisory x_refsource_confirm
https://github.com/Consensys/gnark/security/advisories/GHSA-95v9-hv42-pwrj
Scores
CVSS v3
9.1
EPSS
0.0020
EPSS Percentile
9.7%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
partial
Details
CWE
CWE-347
Status
published
Products (2)
consensys/gnark
< 0.14.0
consensys/gnark
0 - 0.14.0Go
Published
Aug 22, 2025
Tracked Since
Feb 18, 2026