{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-50354","id":"CVE-2024-50354","title":"Out-of-memory during deserialization with crafted inputs","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.","descriptionLong":"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":"2024-10-31T15:59:30.063Z","updated":"2026-10-28T02:30:41.572463882Z","reserved":"2024-10-22T17:54:40.958Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"4.0","score":null,"vector":"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","rating":"medium","source":"GitHub"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"github.com"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"OSV"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"GitHub"}],"rating":"medium","products":["Consensys gnark"],"affectedProducts":[{"vendor":"Consensys","product":"gnark","defaultStatus":null,"versions":[{"version":"<= 0.11.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/consensys/gnark","purl":"pkg:golang/github.com/consensys/gnark","ranges":["<0.11.1","<0.12.0"],"fixed":["0.11.1","0.12.0"],"advisory":"GHSA-cph5-3pgr-c82g"}],"cwes":["CWE-400"],"aliases":["GHSA-cph5-3pgr-c82g","GO-2024-3244"],"references":[{"url":"https://github.com/Consensys/gnark/security/advisories/GHSA-cph5-3pgr-c82g","tags":["x_refsource_CONFIRM","Exploit","Vendor Advisory","advisory","web"]},{"url":"https://github.com/Consensys/gnark/pull/1307","tags":["x_refsource_MISC","Issue Tracking","Patch","fix","web"]},{"url":"https://github.com/Consensys/gnark/commit/47ae846339add2bdf9983e499342bfdfe195191d","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50354.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-50354","tags":["advisory"]},{"url":"https://github.com/Consensys/gnark","tags":["package"]},{"url":"https://github.com/advisories/GHSA-cph5-3pgr-c82g","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00325,"epssPercentile":0.26208,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-50354","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-50354","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-50354","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-cph5-3pgr-c82g","ok":true,"note":"GHSA-cph5-3pgr-c82g"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-50354","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}