CVE-2025-58157

gnark affected by denial of service when computing scalar multiplication using fake-GLV algorithm

Published Aug 29, 2025 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-28663 gnark affected by denial of service when computing scalar multiplication using fake-GLV algorithm
Github GHSA Github GHSA GHSA-9fvj-xqr2-xwg8 gnark affected by denial of service when computing scalar multiplication using fake-GLV algorithm
History
Type Values Removed Values Added
CPEs cpe:2.3:a:consensys:gnark:0.12.0:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Consensys
Consensys gnark
Vendors & Products Consensys
Consensys gnark
Type Values Removed Values Added
Description 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.
Title gnark affected by denial of service when computing scalar multiplication using fake-GLV algorithm
Weaknesses CWE-400
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 2, 2025, 2:09 PM
Reserved
Aug 27, 2025, 1:34 PM
Status
Analyzed
Published
Aug 29, 2025, 10:15 PM
Modified
Oct 18, 2026, 9:10 PM