CVE-2024-50354
Linux openSUSE vulnerability analysis and mitigation

Overview

gnark, a fast zk-SNARK library that offers a high-level API to design circuits, was found to have a vulnerability in version 0.11.0 and earlier. The vulnerability was discovered on October 31, 2024, affecting the deserialization of Groth16 verification keys (GitHub Advisory).

Technical details

The vulnerability occurs during the deserialization of Groth16 verification keys, where the code allocates excessive memory based on untrusted input. When processing certain files representing a VerifyingKey, the deserialization process allocates a slice with a length directly extracted from the deserialized file. This can lead to memory allocations of approximately 1TB in some configurations, ultimately triggering a crash with the error 'fatal error: runtime: out of memory' (GitHub Advisory).

Impact

The vulnerability can lead to a denial of service (DoS) condition for both prover and verifier when processing maliciously crafted inputs such as public keys or verification keys. The issue results in excessive memory consumption and potential system crashes (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in PR #1307 and merged to gnark master at commit 47ae846. The fix will be included in the next minor release v0.11.1. For systems that cannot immediately update, it is recommended to run key verification as a separate service which halts the verification pipeline in case of OOM when verification keys come from untrusted sources (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Linux openSUSE vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-12840HIGH7.8
  • Linux DebianLinux Debian
  • libIex-3_2-31-x86-64-v3
NoYesDec 23, 2025
CVE-2025-12839HIGH7.8
  • Linux DebianLinux Debian
  • openexr-doc
NoYesDec 23, 2025
CVE-2025-12495HIGH7.8
  • Linux DebianLinux Debian
  • libIex-3_2-31-x86-64-v3
NoYesDec 23, 2025
CVE-2025-13699HIGH7
  • MariaDB ServerMariaDB Server
  • mariadb1011-connect-engine
NoYesDec 23, 2025
CVE-2025-11961LOW1.9
  • Linux DebianLinux Debian
  • libpcap1
NoYesDec 31, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management