CVE-2025-58157 gnark affected by denial of service when computing scalar multiplication using fake-GLV algorithm
HighCVSS 7.5
EPSS 0.57%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| consensys github.com/consensys/gnark(Go) | < 0.13.0; = 0.12.0; >= 0.12.0, < 0.13.0 | 0.13.0 | Fixed |
| consensys github.com/consensys/gnark | = 0.12.0; = = 0.12.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| consensys github.com/consensys/gnark(Go) | >= 0.12.0, < 0.13.0 | 0.13.0 |
| consensys github.com/consensys/gnark(Go) | = 0.12.0 | No fix listed |
| consensys github.com/consensys/gnark(Go) | < 0.13.0 | 0.13.0 |
| consensys github.com/consensys/gnark | = = 0.12.0 | No fix listed |
| consensys github.com/consensys/gnark | = 0.12.0 | No fix listed |
References
- https://github.com/Consensys/gnark/security/advisories/GHSA-9fvj-xqr2-xwg8 vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/Consensys/gnark/issues/1483 exploit issue-tracking
- https://github.com/Consensys/gnark-crypto/commit/56600883e0e9f9b159e9c7000b94e76185ec3d0d patch
- https://github.com/Consensys/gnark/commit/68be6cede36e387ab760725beabd3c96cc94e6dc patch
- github.com product
- github.com