# CVE-2024-45039: GO-2024-3122 - Groth16 commitment extension unsound for more than one commitment in github.com/consensys/gnark

Source: https://junglewise.ai/threats/cve-2024-45039-gnark-s-groth16-commitment-extension-unsound-for-more-than-one  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-11-20  
License: CC BY 4.0 with a link back

CVE-2024-45039 · Severity: low · CVSS 3.1 · Published 2024-11-20

Groth16 commitment extension unsound for more than one commitment in github.com/consensys/gnark

Technologies: [github.com/consensys/gnark (Go)](https://junglewise.ai/threats/technologies/github-com-consensys-gnark). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is CVE-2024-45039 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-45039 being exploited in the wild.

**How severe is CVE-2024-45039?** Low severity, with a CVSS score of 3.1, published 20 November 2024.

**Which products and versions are affected?** github.com/consensys/gnark (Go) SEMVER:introduced=0,fixed=0.11.0.

**Is there a fix for CVE-2024-45039?** Yes. github.com/consensys/gnark (Go): upgrade to 0.11.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2024-45039?** Check whether you run github.com/consensys/gnark (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/consensys/gnark (Go): upgrade to 0.11.0 or later

  ```sh
  go get github.com/consensys/gnark@v0.11.0
  ```


## Affected products

- github.com/consensys/gnark (Go) SEMVER:introduced=0,fixed=0.11.0

## Identifiers

- CVE-2024-45039
- GHSA-q3hw-3gm4-w5cr
- GO-2024-3122

## Related threats

- [GO-2025-3929 - Denial of service when computing scalar multiplication using fake-GLV algorithm in github.com/consensys/gnark](https://junglewise.ai/threats/cve-2025-58157-gnark-affected-by-denial-of-service-when-computing-scalar)
- [gnark is vulnerable to signature malleability in EdDSA and ECDSA due to missing scalar checks](https://junglewise.ai/threats/cve-2025-57801-gnark-is-vulnerable-to-signature-malleability-in-eddsa-and-ecdsa)
- [GO-2024-3244 - Gnark out-of-memory during deserialization with crafted inputs in github.com/consensys/gnark](https://junglewise.ai/threats/cve-2024-50354-gnark-out-of-memory-during-deserialization-with-crafted-inputs)
- [gnark commitments to private witnesses in Groth16 as implemented break zero-knowledge property](https://junglewise.ai/threats/cve-2024-45040-gnark-commitments-to-private-witnesses-in-groth16-as-implemented)
- [GO-2023-2333 - Range checker gadget allows wider inputs than allowed in github.com/consensys/gnark](https://junglewise.ai/threats/go-2023-2333-range-checker-gadget-allows-wider-inputs-than-allowed-in-ef7767c9)
