CVE-2024-50354

Severity CVSS v4.0:
Pending analysis
Type:
CWE-400 Uncontrolled Resource Consumption ('Resource Exhaustion')
Publication date:
31/10/2024
Last modified:
23/09/2025

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:consensys:gnark:*:*:*:*:*:*:*:* 0.12.0 (excluding)