CVE-2023-44378
published high CVSS 3.1 · 7.1gnark vulnerable to unsoundness in variable comparison/non-unique binary decomposition
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Consensys | — | gnark< 0.9.0 | Affected | Not stated | GitHub_M |
Description
gnark is a zk-SNARK library that offers a high-level API to design circuits. Prior to version 0.9.0, for some in-circuit values, it is possible to construct two valid decomposition to bits. In addition to the canonical decomposition of `a`, for small values there exists a second decomposition for `a+r` (where `r` is the modulus the values are being reduced by). The second decomposition was possible due to overflowing the field where the values are defined. Upgrading to version 0.9.0 should fix the issue without needing to change the calls to value comparison methods.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Consensys | gnark | < 0.9.0 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-191 CWE-191: Integer Underflow (Wrap or Wraparound)
- CWE-697 CWE-697: Incorrect Comparison
References
3Provider assertions
3GitHub_M · cna
gnark vulnerable to unsoundness in variable comparison/non-unique binary decomposition
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- ff8d957550f303e292ad3a281dad3482d1652676b0c3f2966cb8412aadafbf3e
- Ingested
- 23 Sep 2026, 08:12:20 UTC
- Source record
- Official CVE record