Out-of-memory during deserialization with crafted inputs
Priority MEDIUM 58CWE-400Published · Updated
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-400.
Summary
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.
Why it matters now
Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00325 25th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed github.com/consensys/gnark (Go): 0.11.1
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Consensys | gnark | up to 0.11.0 | — | No fix listed | CNA |
| — | github.com/consensys/gnark (Go) | before 0.11.1 | 0.11.1 | Patch available | GHSA-cph5-3pgr-c82g |
- gnark VendorConsensys Affected up to 0.11.0 Fixed in — No fix listed CNA
- github.com/consensys/gnark (Go) Vendor— Affected before 0.11.1 Fixed in 0.11.1 Patch available GHSA-cph5-3pgr-c82g
Remediation
- Fix · GHSA-cph5-3pgr-c82g github.com/consensys/gnark (Go) Fixed in 0.11.1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-50354
- 2026-10-03 Alias added: GHSA-cph5-3pgr-c82g
References
Patch 2
Advisory 2
More Consensys Gnark vulnerabilities
- TI-2025-35973 gnark affected by denial of service when computing scalar multiplication using fake-GLV algorithm CVSS 3.1HIGH 7.5
- TI-2025-35684 gnark is vulnerable to signature malleability in EdDSA and ECDSA due to missing scalar checks CVSS 4.0HIGH 8.6
- TI-2023-23885 gnark vulnerable to unsoundness in variable comparison/non-unique binary decomposition CVSS 3.1HIGH 7.1
Sources
- CVE-2024-50354 · CVE Program
- CVE-2024-50354 · NVD
- FIRST EPSS
- GHSA-cph5-3pgr-c82g · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences