CVE-2025-58157

HIGH CVSS 3.1: 7.5 EPSS 0.57%
Updated Oct 19, 2026
Consensys
Parameter Value
CVSS 7.5 (HIGH)
Fixed In 0.13.0
Type CWE-400 (Uncontrolled Resource Consumption)
Vendor Consensys
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Consensys Gnark
cpe:2.3:a:consensys:gnark:0.12.0:*:*:*:*:*:*:*
— —