What’s Vulnerable › Vulnerabilities
CVE-2025-58157: gnark affected by denial of service when computing scalar multiplication using fake-GLV algorithm
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2025-08-29 · updated 2026-10-18
- Weakness: CWE-400
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.
Affected products
- Consensys gnark: 0.12.0
References
- https://github.com/Consensys/gnark-crypto/commit/56600883e0e9f9b159e9c7000b94e76185ec3d0d
- https://github.com/Consensys/gnark/commit/68be6cede36e387ab760725beabd3c96cc94e6dc
- https://github.com/Consensys/gnark/issues/1483
- https://github.com/Consensys/gnark/security/advisories/GHSA-9fvj-xqr2-xwg8
Get alerted when CVE-2025-58157 or the next vulnerability affects your stack