# CVE-2023-44378: GO-2023-2098 - Unsoundness in variable comparison / non-unique binary decomposition in github.com/consensys/gnark

Source: https://junglewise.ai/threats/cve-2023-44378-gnark-unsoundness-in-variable-comparison-non-unique-binary  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-10-09  
License: CC BY 4.0 with a link back

CVE-2023-44378 · Severity: low · CVSS 3.1 · Published 2023-10-09

Unsoundness in variable comparison / non-unique binary decomposition 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-2023-44378 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2023-44378 being exploited in the wild.

**How severe is CVE-2023-44378?** Low severity, with a CVSS score of 3.1, published 9 October 2023.

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

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

**Am I affected by CVE-2023-44378?** 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.9.0 or later

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


## Affected products

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

## Identifiers

- CVE-2023-44378
- GHSA-498w-5j49-vqjg
- GO-2023-2098

## 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-3122 - Groth16 commitment extension unsound for more than one commitment in github.com/consensys/gnark](https://junglewise.ai/threats/cve-2024-45039-gnark-s-groth16-commitment-extension-unsound-for-more-than-one)
- [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)
