CVE-2024-50354
CVE-2024-50354 is a medium-severity vulnerability in Consensys Gnark with a CVSS 3.x base score of 5.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-400.
Key facts
- Severity: Medium (CVSS 3.x base score 5.5)
- EPSS exploit prediction: 0% (24th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-3021
- Weakness: CWE-400
- Affected product: Consensys Gnark
- Published:
- Last modified:
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.
Frequently asked questions
- What is 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.
- How severe is CVE-2024-50354?
- CVE-2024-50354 has a CVSS 3.x base score of 5.5, rated medium severity. It is exploitable over local access with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability high.
- Is CVE-2024-50354 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (24th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-50354?
- CVE-2024-50354 affects Consensys Gnark. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2024-50354?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2024-50354 have an EU (EUVD) identifier?
- Yes. CVE-2024-50354 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-3021.
- When was CVE-2024-50354 published?
- CVE-2024-50354 was published on 2024-10-31 and last updated on 2026-06-17.
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
Affected products (1)
- cpe:2.3:a:consensys:gnark:*:*:*:*:*:*:*:*
More vulnerabilities in Consensys Gnark
- CVE-2025-57801 — Critical (CVSS 9.1): gnark is a zero-knowledge proof system framework. In versions prior to 0.14.0, the Verify function in eddsa.go and…
- CVE-2025-58157 — High (CVSS 7.5): gnark is a zero-knowledge proof system framework. In version 0.12.0, there is a potential denial of service…
- CVE-2023-44378 — High (CVSS 7.1): gnark is a zk-SNARK library that offers a high-level API to design circuits. Prior to version 0.9.0, for some…
All CVEs affecting Consensys Gnark →
Other CWE-400 (Uncontrolled Resource Consumption) vulnerabilities
- CVE-2026-46775 — Critical (CVSS 9.9): Vulnerability in Oracle REST Data Services (component: Core). Supported versions that are affected are 24.2.0-26.1.0.…
- CVE-2025-61303 — Critical (CVSS 9.8): Hatching Triage Sandbox Windows 10 build 2004 (2025-08-14) and Windows 10 LTSC 2021(2025-08-14) contains a…
- CVE-2025-43193 — Critical (CVSS 9.8): The issue was addressed with improved memory handling. This issue is fixed in macOS Sequoia 15.6, macOS Sonoma 14.7.7,…
- CVE-2025-24269 — Critical (CVSS 9.8): The issue was addressed with improved memory handling. This issue is fixed in macOS Sequoia 15.4. An app may be able to…
- CVE-2025-24264 — Critical (CVSS 9.8): The issue was addressed with improved memory handling. This issue is fixed in Safari 18.4, iOS 18.4 and iPadOS 18.4,…
- CVE-2025-24260 — Critical (CVSS 9.8): The issue was addressed with improved memory handling. This issue is fixed in macOS Sequoia 15.4, macOS Sonoma 14.7.5,…
Browse all CWE-400 (Uncontrolled Resource Consumption) vulnerabilities →