7.5

CVE-2025-58157: gnark affected by denial of service when computing scalar multiplication using fake-GLV algorithm

Analyzed
AliasesGHSA-9fvj-xqr2-xwg8GO-2025-3929
Published 29-08-2025Last modified 02-09-2025

Vulnerability summary

CVE-2025-58157 is a high (CVSS 7.5) Uncontrolled Resource Consumption vulnerability in consensys gnark. EPSS estimates a 0.54% chance of exploitation in the next 30 days, higher than 45.2% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (GitHub, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
0.54%
0%100%
Low · +0.02 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 3 · Related 3

Timeline

  1. 29-08-2025
    PublishedVulnerability first disclosed.
  2. 02-09-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.54%

Chance of exploitation in the next 30 days

Percentile

45%

Versus all other CVEs

30-day change

Increase +0.02 pp

From 0.52% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Gnark

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Consensys1 product
Github.com/consensys1 product
  • gnark≥ 0.12.0, < 0.13.0 | < 0.13.0

2 vendors · 2 products

References

6 links