CVEvulnerability
CVE-2024-50354
5.5 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2024-10-31
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-400
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.
Affected configurations
• consensys gnark (< 0.12.0)
Related
Weakness · CWE (1)
- CWE-400 Uncontrolled Resource Consumption weakness
References
- 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