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
| Link | Resource |
|---|---|
| https://github.com/Consensys/gnark/commit/47ae846339add2bdf9983e499342bfdfe195191d | Patch |
| https://github.com/Consensys/gnark/pull/1307 | Issue Tracking Patch |
| https://github.com/Consensys/gnark/security/advisories/GHSA-cph5-3pgr-c82g | Exploit Vendor Advisory |
Configurations
History
23 Sep 2025, 02:00
| Type | Values Removed | Values Added |
|---|---|---|
| First Time |
Consensys gnark
Consensys |
|
| Summary |
|
|
| References | () https://github.com/Consensys/gnark/commit/47ae846339add2bdf9983e499342bfdfe195191d - Patch | |
| References | () https://github.com/Consensys/gnark/pull/1307 - Issue Tracking, Patch | |
| References | () https://github.com/Consensys/gnark/security/advisories/GHSA-cph5-3pgr-c82g - Exploit, Vendor Advisory | |
| CPE | cpe:2.3:a:consensys:gnark:*:*:*:*:*:*:*:* |
31 Oct 2024, 16:15
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2024-10-31 16:15
Updated : 2025-09-23 02:00
NVD link : CVE-2024-50354
Mitre link : CVE-2024-50354
CVE.ORG link : CVE-2024-50354
JSON object : View
Products Affected
consensys
- gnark
CWE
CWE-400
Uncontrolled Resource Consumption
