CVE-2024-45039: gnark is a fast zk-SNARK library that offers a high-level API to design circuits
CVE-2024-45039 is a medium-severity flaw (CVSS 6.2) affecting gnark-crypto. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
gnark is a fast zk-SNARK library that offers a high-level API to design circuits. Versions prior to 0.11.0 have a soundness issue - in case of multiple commitments used inside the circuit the prover is able to choose all but the last commitment. As gnark uses the commitments for optimized non-native multiplication, lookup checks etc. as random challenges, then it could impact the soundness of the whole circuit. However, using multiple commitments
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.2 (Medium) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.2% (top 91%) |
| CISA exploited list | No |
| Weakness | CWE-200 |
| Published | 2024-09-06 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-45039?
gnark-crypto: upgrade to 0.11.0. Exact commands for each OS are on this page.
Is CVE-2024-45039 being exploited?
CVE-2024-45039 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-45039 affect?
CVE-2024-45039 affects gnark-crypto. Severity is medium (CVSS 6.2). gnark is a fast zk-SNARK library that offers a high-level API to design circuits. Versions prior to 0.11.0 have a soundness issue - in case of multiple commitments used inside the circuit the prover is able to choose all but the last commit
How urgent is CVE-2024-45039?
Priority 24/100. No elevated risk signals yet.
Related CVEs
- CVE-2024-45040 MEDIUM 5.9 UPGRADE gnark is a fast zk-SNARK library that offers a high-level API to design circuits