9.1

CVE-2025-57801: consensys gnark

CVSS: 9.1v3.1CriticalAnalyzed
AliasesGHSA-95v9-hv42-pwrjGO-2025-3912
Published 22-08-2025Last modified 22-08-2025

Vulnerability summary

CVE-2025-57801 is a critical (CVSS 9.1) vulnerability in consensys gnark. EPSS estimates a 0.21% chance of exploitation in the next 30 days, higher than 10.9% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
9.1/10
010
Critical · v3.1 (NVD)
EPSS score
0.21%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Timeline

  1. 22-08-2025
    PublishedVulnerability first disclosed.
  2. 22-08-2025
    Last modifiedVulnerability information updated.

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 metrics

5 scores · 3 sources · 2 versions

EPSS trend

Probability

0.21%

Chance of exploitation in the next 30 days

Percentile

11%

Versus all other CVEs

30-day change

0.00 pp

From 0.21% on 21-09-2026

21-09-202621-10-2026
EPSS score
0.21%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Gnark

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Consensys1 product
Github.com/consensys1 product
  • gnark< 0.14.0

2 vendors · 2 products

References

5 links