Security mailing lists by PureSourceCode

CVE-2024-50354

MEDIUM 5.5CVSS 3.1

Gnark out-of-memory during deserialization with crafted inputs

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.

Published
31 Oct 2024
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-400
Also known as
GHSA-cph5-3pgr-c82gGO-2024-3244
Sources
NVDJSONOSV GHSA-cph5-3pgr-c82gJSONOSV GO-2024-3244JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 MEDIUM 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD consensys gnark
cpe:2.3:a:consensys:gnark:*:*:*:*:*:*:*:*
< 0.12.0 0.12.0
OSV Go github.com/consensys/gnark < 0.11.1 0.11.1
OSV Go github.com/consensys/gnark < 0.12.0 0.12.0

References

History

  • 25 Nov 2026 20:56 UTC · NVD: first stored (published 31 Oct 2024)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 1 Nov 2024)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 31 Oct 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.