Home / Consensys / gnark / CVE-2024-45039
CVE-2024-45039: is it exploited, and which versions of Consensys gnark are affected and fixed?
CVE-2024-45039 is an information disclosure vulnerability in Consensys gnark. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:39 UTC). Affected: github.com/consensys/gnark before 0.11.0 (GitHub advisory GHSA-q3hw-3gm4-w5cr). Fixed in 0.11.0 (GitHub advisory GHSA-q3hw-3gm4-w5cr). Severity: Medium (6.2, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:39 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:26 UTC.
What is CVE-2024-45039?
gnark's Groth16 commitment extension unsound for more than one commitment
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 has been discouraged due to the additional cost to the verifier and it has not been supported in the recursive in-circuit Groth16 verifier and Solidity verifier. gnark's maintainers expect the impact of the issue be very small - only for the users who have implemented the native Groth16 verifier or are using it with multiple commitments. We do not have information of such users. The issue has been patched in version 0.11.0. As a workaround, users should follow gnark maintainers' recommendation to use only a single commitment and then derive in-circuit commitments as needed using the `std/multicommit` package.
From the CVE record by GitHub_M, last updated September 6, 2024, 13:59 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Consensys | gnark | < 0.11.0 |
As the CVE record by GitHub_M states it, last updated September 6, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Go | github.com/consensys/gnark | < 0.11.0 | 0.11.0 | GHSA-q3hw-3gm4-w5cr |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated November 20, 2024. Summary: gnark's Groth16 commitment extension unsound for more than one commitment.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| consensys | gnark-crypto | before 0.11.0 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 07:53 UTC.
How severe is CVE-2024-45039?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.2 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N | GitHub_M |
| Medium 6.2 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-45039 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, September 6, 2024)
- EPSS
- 0.19% probability of exploitation activity in the next 30 days, percentile 9.0 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
Where are the vendor advisories and references?
- https://github.com/Consensys/gnark/security/advisories/GHSA-q3hw-3gm4-w5cr x_refsource_CONFIRM
- https://github.com/Consensys/gnark/commit/e7c66b000454f4d2a4ae48c005c34154d4cfc2a2 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- August 21, 2024
- Published
- September 6, 2024, 12:56 UTC
- CVE record updated
- September 6, 2024, 13:59 UTC by GitHub_M
- NVD
- Analyzed, last modified June 17, 2026, 07:53 UTC
- Last checked
- CVE list November 19, 2026, 07:11 UTC; NVD November 19, 2026, 07:26 UTC; KEV December 3, 2026, 17:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect gnark?
- Aug 29, 2025CVE-2025-58157 Consensys gnark: denial of service (uncontrolled resource consumption)
- Aug 22, 2025CVE-2025-57801 Consensys gnark: cryptographic signature not verified
- Oct 31, 2024CVE-2024-50354 Consensys gnark: denial of service (uncontrolled resource consumption)
- Sep 6, 2024CVE-2024-45040 Consensys gnark: information disclosure
- Oct 9, 2023CVE-2023-44378 Consensys gnark: integer underflow
Questions about CVE-2024-45039
Is CVE-2024-45039 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:39 UTC. FIRST's EPSS gives it a 0.19% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Consensys gnark are affected by CVE-2024-45039?
github.com/consensys/gnark before 0.11.0, per the GitHub advisory GHSA-q3hw-3gm4-w5cr. The tables above give every range the sources list.
Which version fixes CVE-2024-45039?
0.11.0, per the GitHub advisory GHSA-q3hw-3gm4-w5cr. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-45039?
Medium (6.2, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2024-45039?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.