7.1

CVE-2023-44378: consensys gnark Integer Underflow (Wrap or Wraparound)

CVSS: 7.1v3.1HighModified
AliasesGHSA-498w-5j49-vqjgGO-2023-2098
Published 09-10-2023Last modified 19-09-2024

Vulnerability summary

CVE-2023-44378 is a high (CVSS 7.1) Integer Underflow (Wrap or Wraparound) vulnerability in consensys gnark. EPSS estimates a 0.23% chance of exploitation in the next 30 days, higher than 13.4% of scored vulnerabilities.

Overall risk
28/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.1/10
010
High · v3.1 (CVE.org)
EPSS score
0.23%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 09-10-2023
    PublishedVulnerability first disclosed.
  2. 19-09-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.23%

Chance of exploitation in the next 30 days

Percentile

13%

Versus all other CVEs

30-day change

+0.01 pp

From 0.22% on 21-09-2026

21-09-202621-10-2026
EPSS score
0.23%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Consensys1 product
Github.com/consensys1 product
  • gnark< 0.9.0

2 vendors · 2 products

References

7 links