Description
gnark is a fast zk-SNARK library that offers a high-level API to design circuits. In gnark 0.11.0 and earlier, deserialization of Groth16 verification keys allocate excessive memory, consuming a lot of resources and triggering a crash with the error fatal error: runtime: out of memory.
References (3)
Core 3
Core References
Exploit, Vendor Advisory x_refsource_confirm
https://github.com/Consensys/gnark/security/advisories/GHSA-cph5-3pgr-c82g
Issue Tracking, Patch x_refsource_misc
https://github.com/Consensys/gnark/pull/1307
Scores
CVSS v3
5.5
EPSS
0.0009
EPSS Percentile
25.4%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
partial
Details
CWE
CWE-400
Status
published
Products (2)
consensys/gnark
< 0.12.0
consensys/gnark
0 - 0.11.1Go
Published
Oct 31, 2024
Tracked Since
Feb 18, 2026