CVE-2025-58157
CVE-2025-58157 · gnark affected by denial of service when computing scalar multiplication using fake-GLV algorithm
CVSS 7.5 · High · EPSS 0.6%
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- gnarkNo fix published
Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Fixes in distributions
- openSUSE-SU-2026:21483-1 · openSUSE Leap 16.0 ·
- SUSE-SU-2025:03289-1 · openSUSE Leap 15.6, SUSE Linux Enterprise Module for Package Hub 15 SP6 ·
- openSUSE-SU-2025:15564-1 · openSUSE Tumbleweed ·
Affected products and versions
gnark
- Versions
- = 0.12.0: Affected
No fix published
Original sources
- https://github.com/Consensys/gnark/security/advisories/GHSA-9fvj-xqr2-xwg8
- https://github.com/Consensys/gnark/issues/1483
- https://github.com/Consensys/gnark-crypto/commit/56600883e0e9f9b159e9c7000b94e76185ec3d0d
- https://github.com/Consensys/gnark/commit/68be6cede36e387ab760725beabd3c96cc94e6dc
- https://nvd.nist.gov/vuln/detail/CVE-2025-58157