Skip to content
OpenAdvisories
High · 7.5 CVE-2025-58157 EUVD-2025-28663GHSA-9fvj-xqr2-xwg8GO-2025-3929

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

Published Aug 29, 2025 · Updated Sep 2, 2025 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
Consensys gnark = 0.12.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
SLES 15 SP6 govulncheck-vulndb 0.0.20250918T182144-150000.1.107.1 SUSE-SU-2025:03289-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed govulncheck-vulndb 0.0.20250917T170349-1.1 openSUSE-SU-2025:15564-1
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1
openSUSE Leap 15.6 govulncheck-vulndb 0.0.20250918T182144-150000.1.107.1 SUSE-SU-2025:03289-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/consensys/gnark >= 0.12.0, < 0.13.0 0.13.0 GHSA-9fvj-xqr2-xwg8
Go github.com/consensys/gnark < 0.13.0 0.13.0 GO-2025-3929

Advisories 3

References