ADVISORIES

Vulnerability

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.

6 advisories report this vulnerability, across 3 ecosystems.

Medium severity All SUSE 3openSUSE 3Go 2

Advisories in Go

  • GHSA-cph5-3pgr-c82g

    Gnark out-of-memory during deserialization with crafted inputs

    Moderate CVE-2024-50354 Go Updated 4 November 2024
  • GO-2024-3244

    Gnark out-of-memory during deserialization with crafted inputs in github.com/consensys/gnark

    CVE-2024-50354 Go Updated 6 February 2025

References