CVE-2024-50354

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:consensys:gnark:*:*:*:*:*:*:*:*

History

23 Sep 2025, 02:00

Type Values Removed Values Added
CPE cpe:2.3:a:consensys:gnark:*:*:*:*:*:*:*:*
First Time Consensys gnark
Consensys
Summary
  • (es) gnark es una librería zk-SNARK rápida que ofrece una API de alto nivel para diseñar circuitos. En gnark 0.11.0 y versiones anteriores, la deserialización de las claves de verificación Groth16 asigna una cantidad excesiva de memoria, lo que consume muchos recursos y provoca un bloqueo con el error fatal error: runtime: out of memory.
References () https://github.com/Consensys/gnark/commit/47ae846339add2bdf9983e499342bfdfe195191d - () https://github.com/Consensys/gnark/commit/47ae846339add2bdf9983e499342bfdfe195191d - Patch
References () https://github.com/Consensys/gnark/pull/1307 - () https://github.com/Consensys/gnark/pull/1307 - Issue Tracking, Patch
References () https://github.com/Consensys/gnark/security/advisories/GHSA-cph5-3pgr-c82g - () https://github.com/Consensys/gnark/security/advisories/GHSA-cph5-3pgr-c82g - Exploit, Vendor Advisory

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