CVE-2025-58157Consensys Gnark
High 7.5 No auth needed
Follow: this CVE · Consensys · Consensys Gnark We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- Aug 29, 2025
- Updated
- Oct 18, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-400
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Gnark.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/consensys/gnark |
≥ 0.12.0 < 0.13.0 |
0.13.0 |
go get github.com/consensys/gnark@v0.13.0 |
| Go | github.com/consensys/gnark |
< 0.13.0 |
0.13.0 |
go get github.com/consensys/gnark@v0.13.0 |
Per OSV / GitHub Advisories (GHSA-9fvj-xqr2-xwg8, GO-2025-3929). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| consensys | gnark | 0.12.0 |
Official advisories
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21483-1 · Jul 30, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Patch
- github.com Exploit Issue Tracking
- github.com Vendor Advisory