CVE-2025-58157 Details
Description
gnark is a zero-knowledge proof system framework. In version 0.12.0, there is a potential denial of service vulnerability when computing scalar multiplication is using the fake-GLV algorithm. This is because the algorithm didn't converge quickly enough for some of the inputs. This issue has been patched in version 0.13.0.
A denial-of-service vulnerability has been identified in Consensys Gnark version 0.12.0, when computing scalar multiplication using the fake-GLV algorithm. The vulnerability arises because the algorithm can enter a very slowly converging loop for certain inputs, particularly scalars of the form 'order - k' where k is small. This issue can cause the prover to get stuck, potentially leading to a denial-of-service condition.
Users can update to Consensys Gnark version 0.13.0 or later, where this vulnerability has been patched. The update can be applied by changing the Gnark version in the project's go.mod file and then recompiling the project.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Sep 2, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-400 | Uncontrolled Resource Consumption | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| consensys gnark | 0.12.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 18, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Sep 24, 2025 | Initial Analysis | [email protected] |
| Aug 29, 2025 | New CVE Received | [email protected] |