CVE-2025-57801
published high CVSS 4.0 · 8.6gnark is vulnerable to signature malleability in EdDSA and ECDSA due to missing scalar checks
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Consensys | — | gnark< 0.14.0 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.6 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Consensys | gnark | < 0.14.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-347 CWE-347: Improper Verification of Cryptographic Signature
References
2Provider assertions
2GitHub_M · cna
gnark is vulnerable to signature malleability in EdDSA and ECDSA due to missing scalar checks
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- d732e85070dbfa474e35c5578bcc1883133e35ab5fc03cdd2c8b9ff2cabf6ebf
- Ingested
- 23 Sep 2026, 08:53:41 UTC
- Source record
- Official CVE record