{"cve":"CVE-2024-50354","nvd":{"published":"2024-10-31T16:15:05.763","modified":"2026-06-17T08:04:17.623","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5},"cwes":["CWE-400"],"references":["https://github.com/Consensys/gnark/commit/47ae846339add2bdf9983e499342bfdfe195191d","https://github.com/Consensys/gnark/pull/1307","https://github.com/Consensys/gnark/security/advisories/GHSA-cph5-3pgr-c82g"],"products":["consensys:gnark"],"source":"nvd","synced_at":"2026-10-19T21:56:33.105311382+00:00"},"epss":{"cve":"CVE-2024-50354","score":0.00325,"percentile":0.25568,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-cph5-3pgr-c82g","url":"https://osv.dev/vulnerability/GHSA-cph5-3pgr-c82g","summary":"Gnark out-of-memory during deserialization with crafted inputs","modified":"2024-11-04T13:48:55Z","packages":[{"ecosystem":"Go","name":"github.com/consensys/gnark","purl":"pkg:golang/github.com/consensys/gnark","ranges":["<0.11.1"],"fixed":["0.11.1"]}]},{"id":"GO-2024-3244","url":"https://osv.dev/vulnerability/GO-2024-3244","summary":"Gnark out-of-memory during deserialization with crafted inputs in github.com/consensys/gnark","modified":"2025-02-06T17:50:03Z","packages":[{"ecosystem":"Go","name":"github.com/consensys/gnark","purl":"pkg:golang/github.com/consensys/gnark","ranges":["<0.12.0"],"fixed":["0.12.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}