Live threats

All CVEs / Consensys

CVE-2025-58157Consensys Gnark

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
—
Auth required
No
Published
Aug 29, 2025
Updated
Oct 18, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-400
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Gnark.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/consensys/gnark ≥ 0.12.0 < 0.13.0 0.13.0 go get github.com/consensys/gnark@v0.13.0
Go github.com/consensys/gnark < 0.13.0 0.13.0 go get github.com/consensys/gnark@v0.13.0

Per OSV / GitHub Advisories (GHSA-9fvj-xqr2-xwg8, GO-2025-3929). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
consensysgnark0.12.0

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.