Live threats

All CVEs / Consensys

CVE-2025-57801Consensys Gnark

High 8.6

Priority
52
CVSS 4.0
8.6
EPSS
—
Auth required
Yes
Published
Aug 22, 2025
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-347
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
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

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Gnark.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/consensys/gnark < 0.14.0 0.14.0 go get github.com/consensys/gnark@v0.14.0
Go github.com/consensys/gnark < 0.14.0 0.14.0 go get github.com/consensys/gnark@v0.14.0

Per OSV / GitHub Advisories (GHSA-95v9-hv42-pwrj, GO-2025-3912). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
consensysgnark< 0.14.0

Official sources

References

Links published by the sources. Open them with care.