CVE-2025-57801CRITICAL 9.1EPSS p9.7%

CVE-2025-57801CVE-2025-57801

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.

Scoring

CVSS 3.19.1 (CRITICAL)
VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
EPSS0.20% probability of exploitation · percentile 9.7% · 2026-06-18T12:00:27Z
Published2025-08-22
Last modified2025-09-12

Underlying weaknesses· 1

CWE-347

References

  1. https://github.com/Consensys/gnark/commit/0ba6730f05537a351517998add89a61a0d82716e
  2. https://github.com/Consensys/gnark/security/advisories/GHSA-95v9-hv42-pwrj

1

TypeTargetConfidenceTier
WeaknessImproper Verification of Cryptographic Signaturecwe-3470%live

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CVE
CVE-2025-3757
CVE
CVE-2025-24802
CVE
CVE-2026-46654
CVE
CVE-2026-41583
CVE
CVE-2026-40880
CVE
CVE-2026-4600
Sourced from NVD + FIRST.org EPSS. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.