PT-2025-34495 · Gnark · Gnark

A7Um

+3

·

Published

2025-08-22

·

Updated

2025-11-17

·

CVE-2025-57801

CVSS v3.1

9.1

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Name of the Vulnerable Software and Affected Versions: gnark versions prior to 0.14.0
Description: gnark is a zero-knowledge proof system framework. 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 issue. This is due to a lack of essential constraints in gnark’s native EdDSA and ECDSA circuits, allowing multiple distinct witnesses to 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.
Recommendations: Update to version 0.14.0 to resolve this issue.

Exploit

Fix

Improper Verification of Cryptographic Signature

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2025-57801
GHSA-95V9-HV42-PWRJ
GO-2025-3912

Affected Products

Gnark