Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Consensys | Gnark | 0.12.0 |
Related Weaknesses (CWE)
References
- https://github.com/Consensys/gnark-crypto/commit/56600883e0e9f9b159e9c7000b94e76Patch
- https://github.com/Consensys/gnark/commit/68be6cede36e387ab760725beabd3c96cc94e6Patch
- https://github.com/Consensys/gnark/issues/1483ExploitIssue Tracking
- https://github.com/Consensys/gnark/security/advisories/GHSA-9fvj-xqr2-xwg8Vendor Advisory
FAQ
What is CVE-2025-58157?
CVE-2025-58157 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 ...
How severe is CVE-2025-58157?
CVE-2025-58157 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-58157?
Check the references section above for vendor advisories and patch information. Affected products include: Consensys Gnark.