Skip to content

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

HighCVSS 7.5 EPSS 0.57%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
consensys github.com/consensys/gnark(Go) < 0.13.0; = 0.12.0; >= 0.12.0, < 0.13.0 0.13.0 Fixed
consensys github.com/consensys/gnark = 0.12.0; = = 0.12.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
consensys github.com/consensys/gnark(Go) >= 0.12.0, < 0.13.0 0.13.0
consensys github.com/consensys/gnark(Go) = 0.12.0 No fix listed
consensys github.com/consensys/gnark(Go) < 0.13.0 0.13.0
consensys github.com/consensys/gnark = = 0.12.0 No fix listed
consensys github.com/consensys/gnark = 0.12.0 No fix listed

References