CVE-2024-50354

MEDIUM

gnark < 0.12.0 and 0.11.0 - Uncontrolled Resource Consumption via Groth16 Verification Key Deserialization

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 5.5
EPSS 0.0032
EPSS Percentile 24.0%
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