CVE-2025-57801
CVE-2025-57801 is a critical-severity vulnerability in Consensys Gnark with a CVSS 3.x base score of 9.1. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-347.
Key facts
- Severity: Critical (CVSS 3.x base score 9.1)
- CVSS v4: 8.6
- EPSS exploit prediction: 0% (10th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-25624
- Weakness: CWE-347
- Affected product: Consensys Gnark
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2025-57801?
- 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.
- How severe is CVE-2025-57801?
- CVE-2025-57801 has a CVSS 3.x base score of 9.1, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity high, and availability high.
- Is CVE-2025-57801 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (10th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2025-57801?
- CVE-2025-57801 affects Consensys Gnark. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2025-57801?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- Does CVE-2025-57801 have an EU (EUVD) identifier?
- Yes. CVE-2025-57801 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-25624.
- When was CVE-2025-57801 published?
- CVE-2025-57801 was published on 2025-08-22 and last updated on 2026-06-17.
References
- https://github.com/Consensys/gnark/commit/0ba6730f05537a351517998add89a61a0d82716e
- https://github.com/Consensys/gnark/security/advisories/GHSA-95v9-hv42-pwrj
Affected products (1)
- cpe:2.3:a:consensys:gnark:*:*:*:*:*:*:*:*
More vulnerabilities in Consensys Gnark
- CVE-2025-58157 — High (CVSS 7.5): gnark is a zero-knowledge proof system framework. In version 0.12.0, there is a potential denial of service…
- CVE-2023-44378 — High (CVSS 7.1): gnark is a zk-SNARK library that offers a high-level API to design circuits. Prior to version 0.9.0, for some…
- CVE-2024-50354 — Medium (CVSS 5.5): gnark is a fast zk-SNARK library that offers a high-level API to design circuits. In gnark 0.11.0 and earlier,…
All CVEs affecting Consensys Gnark →
Other CWE-347 (Improper Verification of Cryptographic Signature) vulnerabilities
- CVE-2026-48558 — Critical (CVSS 10.0): SimpleHelp versions 5.5.15 and prior and 6.0 pre-release versions contain an authentication bypass vulnerability in the…
- CVE-2023-25574 — Critical (CVSS 10.0): `jupyterhub-ltiauthenticator` is a JupyterHub authenticator for learning tools interoperability (LTI).…
- CVE-2024-45409 — Critical (CVSS 10.0): The Ruby SAML library is for implementing the client side of a SAML authorization. Ruby-SAML in <= 12.2 and 1.13.0 <=…
- CVE-2024-32962 — Critical (CVSS 10.0): xml-crypto is an xml digital signature and encryption library for Node.js. In affected versions the default…
- CVE-2022-24884 — Critical (CVSS 10.0): ecdsautils is a tiny collection of programs used for ECDSA (keygen, sign, verify). `ecdsa_verify_[prepare_]legacy()`…
- CVE-2021-33885 — Critical (CVSS 10.0): An Insufficient Verification of Data Authenticity vulnerability in B. Braun SpaceCom2 prior to 012U000062 allows a…
Browse all CWE-347 (Improper Verification of Cryptographic Signature) vulnerabilities →