Skip to main content
CVE-2025-57801VulnerabilityPublished

CVE-2025-57801: Consensys gnark · Improper Verification of Cryptographic Signature

Affects Consensys gnarkSource CVE Database V5

0

Not known to be exploited · CVSS 8.6 High : upgrade to 0.14.0 soon.

Data as of 26 Oct 2026, 08:11 UTC

CVSS 4.0 base score
8.6High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 11% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 0.14.0
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 22 Aug 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade Consensys gnark to 0.14.0.

Affected software

ProductAffectedFixed in
Consensys gnarkAffected
  • <0.14.0
Fixed in
  • 0.14.0

AI-suggested

European organizations using gnark should immediately upgrade to version 0.14.0 or later, where the vulnerability is fixed. Beyond upgrading, organizations should audit their use of gnark’s EdDSA and ECDSA circuits to ensure that signature verification is correctly implemented and that no custom modifications reintroduce malleability risks. It is advisable to implement additional application-layer checks for signature uniqueness and replay protection, such as maintaining nonce or nullifier state independently of signature components. Security teams should conduct thorough code reviews and penetration testing focusing on signature handling and zero-knowledge proof validation. Monitoring for anomalous transaction patterns indicative of double spending or replay attacks should be enhanced. For critical systems, consider isolating gnark-based components and applying strict access controls to limit local exploitation opportunities. Finally, maintain awareness of updates from Consensys and the gnark project for any further patches or advisories.

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.

References

Community reviews

Loading reviews…