CVE-2025-58157
HIGH 7.5CVSS 3.1gnark affected by denial of service when computing scalar multiplication using fake-GLV algorithm
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
- 29 Aug 2025
- Last modified
- 18 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-400
- Also known as
- GHSA-9fvj-xqr2-xwg8GO-2025-3929
- Sources
- NVDJSONOSV GHSA-9fvj-xqr2-xwg8JSONOSV GO-2025-3929JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | consensys | gnarkcpe:2.3:a:consensys:gnark:0.12.0:*:*:*:*:*:*:* |
= 0.12.0 | |
| OSV | Go | github.com/consensys/gnark | >= 0.12.0, < 0.13.0 | 0.13.0 |
| OSV | Go | github.com/consensys/gnark | < 0.13.0 | 0.13.0 |
References
- https://github.com/Consensys/gnark-crypto/commit/56600883e0e9f9b159e9c7000b94e76185ec3d0d · Patch, WEB
- https://github.com/Consensys/gnark/commit/68be6cede36e387ab760725beabd3c96cc94e6dc · Patch, WEB
- https://github.com/Consensys/gnark/issues/1483 · Exploit, Issue Tracking, WEB
- https://github.com/Consensys/gnark/security/advisories/GHSA-9fvj-xqr2-xwg8 · Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2025-58157 · ADVISORY
- https://github.com/Consensys/gnark · PACKAGE
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 29 Aug 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 17 Sep 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 29 Aug 2025)