# GO-2023-2101 - Incorrect exponentiation results in github.com/consensys/gnark-crypto

Source: https://junglewise.ai/threats/go-2023-2101-incorrect-exponentiation-results-in-github-com-consensys-439a60d2  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-10-09  
License: CC BY 4.0 with a link back

Severity: info · Published 2023-10-09

Incorrect exponentiation results in github.com/consensys/gnark-crypto

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

## Quick answers

**Is This vulnerability exploited in the wild?** No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.

**How severe is This vulnerability?** Informational severity, published 9 October 2023.

**Which products and versions are affected?** github.com/Consensys/gnark-crypto (Go) SEMVER:introduced=0,fixed=0.12.1.

**Is there a fix for This vulnerability?** Yes. github.com/Consensys/gnark-crypto (Go): upgrade to 0.12.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected?** Check whether you run github.com/Consensys/gnark-crypto (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-crypto (Go): upgrade to 0.12.1 or later

  ```sh
  go get github.com/Consensys/gnark-crypto@v0.12.1
  ```


## Affected products

- github.com/Consensys/gnark-crypto (Go) SEMVER:introduced=0,fixed=0.12.1

## Related threats

- [GO-2025-4087 - Unchecked memory allocation during vector deserialization in github.com/consensys/gnark-crypto](https://junglewise.ai/threats/go-2025-4087-unchecked-memory-allocation-during-vector-deserialization-980b0170)
- [gnark-crypto allows unchecked memory allocation during vector deserialization](https://junglewise.ai/threats/gnark-crypto-allows-unchecked-memory-allocation-during-vector-a494c11d)
- [GO-2023-2096 - Signature malleability in github.com/consensys/gnark-crypto](https://junglewise.ai/threats/cve-2023-44273-duplicate-advisory-consensys-gnark-crypto-allows-signature)
- [gnark-crypto's exponentiation in the pairing target group GT using GLV can give incorrect results](https://junglewise.ai/threats/gnark-crypto-s-exponentiation-in-the-pairing-target-group-gt-using-glv-6f1a4bb3)
