Read the docs
TI-2024-33789 Aliases CVE-2024-50354GHSA-cph5-3pgr-c82g

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

VendorProductAffected versionsFixed inStatusSource
Consensysgnarkup to 0.11.0—No fix listedCNA
—github.com/consensys/gnark (Go)before 0.11.10.11.1Patch availableGHSA-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

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:consensys:gnark:*:*:*:*:*:*:*:*before 0.12.0VulnerableConsensys
  • cpe:2.3:a:consensys:gnark:*:*:*:*:*:*:*:* Versions before 0.12.0 Vulnerable ·Consensys

Remediation

  • Fix · GHSA-cph5-3pgr-c82g github.com/consensys/gnark (Go) Fixed in 0.11.1 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-50354
  2. 2026-10-03 Alias added: GHSA-cph5-3pgr-c82g

References

  • 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