CVE-2025-58157

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:consensys:gnark:0.12.0:*:*:*:*:*:*:*

History

24 Sep 2025, 18:25

Type Values Removed Values Added
First Time Consensys gnark
Consensys
CPE cpe:2.3:a:consensys:gnark:0.12.0:*:*:*:*:*:*:*
References () https://github.com/Consensys/gnark-crypto/commit/56600883e0e9f9b159e9c7000b94e76185ec3d0d - () https://github.com/Consensys/gnark-crypto/commit/56600883e0e9f9b159e9c7000b94e76185ec3d0d - Patch
References () https://github.com/Consensys/gnark/commit/68be6cede36e387ab760725beabd3c96cc94e6dc - () https://github.com/Consensys/gnark/commit/68be6cede36e387ab760725beabd3c96cc94e6dc - Patch
References () https://github.com/Consensys/gnark/issues/1483 - () https://github.com/Consensys/gnark/issues/1483 - Exploit, Issue Tracking
References () https://github.com/Consensys/gnark/security/advisories/GHSA-9fvj-xqr2-xwg8 - () https://github.com/Consensys/gnark/security/advisories/GHSA-9fvj-xqr2-xwg8 - Vendor Advisory

29 Aug 2025, 22:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-08-29 22:15

Updated : 2025-09-24 18:25


NVD link : CVE-2025-58157

Mitre link : CVE-2025-58157

CVE.ORG link : CVE-2025-58157


JSON object : View

Products Affected

consensys

  • gnark
CWE
CWE-400

Uncontrolled Resource Consumption