HOMEVULNERABILITIESCVE-2025-57801
CRITICAL

CVE-2025-57801

CWE-347Published: August 22, 2025· Updated: Jun 17, 2026

9.1
CVSS v3.1

Official 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.

NVD Source

Risk Analysis

The gnark zero-knowledge proof framework is vulnerable to signature malleability because it fails to properly constrain S values in EdDSA and ECDSA signatures. This flaw could allow attackers to perform double-spending or bypass anti-replay checks in protocols relying on these signatures.

There is no known public exploit for this vulnerability, and it is not listed in the KEV catalog.

Recommended Action

Update the gnark framework to version 0.14.0 or later to ensure proper signature constraints are enforced.

Generated by the CTIWATCH analysis pipeline from this CVE's metadata (CVSS, EPSS, KEV status, exploit intelligence). Verify against vendor advisories before acting.

Technical Analysis

CVE-2025-57801 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.

The vulnerability requires no privileges and no user interaction, making it a prime target for automated exploitation campaigns and worm-like propagation.

A successful exploit results in full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 9.1.

CVSS v3.1 Vector Breakdown

Exploitability
Attack VectorNetwork
Attack ComplexityLow
Privileges Req.None
User InteractionNone
ScopeUnchanged
Impact
ConfidentialityNone
IntegrityHigh
AvailabilityHigh
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

Affected Vendors & Products

consensys1 product(s)
gnark
Source: NVD CPE · 1 total CPE entries

Exploit & PoC Resources

NO KNOWN EXPLOITNo public exploit confirmed at this time
External links open in a new tab. Always verify in a controlled environment before use.

Official Patches & Advisories

All References (2)

Quick Facts

CVE IDCVE-2025-57801
CVSS Score9.1 / 10
SeverityCRITICAL
WeaknessCWE-347
CISA KEVNo
Affected1 vendor(s)
PublishedAug 22, 2025

Related CVEs (CWE-347)

Recommended Actions

  • Apply vendor patches immediately
  • Monitor CVE-2025-57801 in threat intel feeds
  • Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWatch. CVE data is provided under the NVD usage policy.