CVE-2024-50354
published medium CVSS 3.1 · 5.5Out-of-memory during deserialization with crafted inputs
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Consensys | — | gnark<= 0.11.0 | Affected | Not stated | GitHub_M |
| consensys | — | gnark0 through 0.11.0 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| SUSE / openSUSE | SLE-15-SP5 | govulncheck-vulndbnoarch | Advisory build | 0.0.20241104T154416-150000.1.12.1 | SUSE-SU-2024:3950-1 |
| SUSE / openSUSE | SLE-15-SP6 | govulncheck-vulndbnoarch | Advisory build | 0.0.20241104T154416-150000.1.12.1 | SUSE-SU-2024:3950-1 |
| SUSE / openSUSE | SLE-15-SP6 | govulncheck-vulndbnoarch | Advisory build | 0.0.20250207T224745-150000.1.32.1 | SUSE-SU-2025:0429-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | govulncheck-vulndbnoarch | Advisory build | 0.0.20241104T154416-150000.1.12.1 | SUSE-SU-2024:3950-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | govulncheck-vulndbnoarch | Advisory build | 0.0.20241104T154416-150000.1.12.1 | SUSE-SU-2024:3950-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | govulncheck-vulndbnoarch | Advisory build | 0.0.20250207T224745-150000.1.32.1 | SUSE-SU-2025:0429-1 |
Show 4 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | govulncheck-vulndbaarch64 | Advisory build | 0.0.20241101T215616-1.1 | OPENSUSE-SU-2024:14452-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | govulncheck-vulndbppc64le | Advisory build | 0.0.20241101T215616-1.1 | OPENSUSE-SU-2024:14452-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | govulncheck-vulndbs390x | Advisory build | 0.0.20241101T215616-1.1 | OPENSUSE-SU-2024:14452-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | govulncheck-vulndbx86_64 | Advisory build | 0.0.20241101T215616-1.1 | OPENSUSE-SU-2024:14452-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.5 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Consensys | gnark | <= 0.11.0 (affected) | GitHub_M · cna |
| consensys | gnark | 0 through 0.11.0 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-400 CWE-400: Uncontrolled Resource Consumption
References
3Provider assertions
2GitHub_M · cna
Out-of-memory during deserialization with crafted inputs
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- b7b4cb12f7f687316fb4124987055831e5faa49c40a99dc364efe137c19a7b74
- Ingested
- 23 Sep 2026, 08:29:53 UTC
- Source record
- Official CVE record