gnark affected by denial of service when computing scalar multiplication using fake-GLV algorithm
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-400.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Consensys | gnark | = 0.12.0 | — | No fix listed | CNA |
| — | github.com/consensys/gnark (Go) | 0.12.0 to before 0.13.0 | 0.13.0 | Patch available | GHSA-9fvj-xqr2-xwg8 |
- gnark VendorConsensys Affected = 0.12.0 Fixed in — No fix listed CNA
- github.com/consensys/gnark (Go) Vendor— Affected 0.12.0 to before 0.13.0 Fixed in 0.13.0 Patch available GHSA-9fvj-xqr2-xwg8
Remediation
- Fix · GHSA-9fvj-xqr2-xwg8 github.com/consensys/gnark (Go) Fixed in 0.13.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-58157
- 2026-10-03 Alias added: GHSA-9fvj-xqr2-xwg8
References
Patch 2
Advisory 2
More Consensys Gnark vulnerabilities
- TI-2025-35684 gnark is vulnerable to signature malleability in EdDSA and ECDSA due to missing scalar checks CVSS 4.0HIGH 8.6
- TI-2024-33789 Out-of-memory during deserialization with crafted inputs CVSS 3.1MEDIUM 5.5
- TI-2023-23885 gnark vulnerable to unsoundness in variable comparison/non-unique binary decomposition CVSS 3.1HIGH 7.1
Sources
- CVE-2025-58157 · CVE Program
- CVE-2025-58157 · NVD
- FIRST EPSS
- GHSA-9fvj-xqr2-xwg8 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences