Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-45039

published medium CVSS 3.1 · 6.2

gnark's Groth16 commitment extension unsound for more than one commitment

Published
06 Sep 2024, 12:56:15 UTC
Updated
06 Sep 2024, 13:59:16 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Consensys — gnark< 0.11.0 Affected Not stated GitHub_M
consensys — gnark0 to < 0.11.0 · Other versions: unknown Affected Not stated CISA-ADP
SUSE / openSUSE openSUSE-Tumbleweed govulncheck-vulndbaarch64 Advisory build 0.0.20241213T205935-1.1 OPENSUSE-SU-2024:14599-1
SUSE / openSUSE openSUSE-Tumbleweed govulncheck-vulndbppc64le Advisory build 0.0.20241213T205935-1.1 OPENSUSE-SU-2024:14599-1
SUSE / openSUSE openSUSE-Tumbleweed govulncheck-vulndbs390x Advisory build 0.0.20241213T205935-1.1 OPENSUSE-SU-2024:14599-1
SUSE / openSUSE openSUSE-Tumbleweed govulncheck-vulndbx86_64 Advisory build 0.0.20241213T205935-1.1 OPENSUSE-SU-2024:14599-1

Description

gnark is a fast zk-SNARK library that offers a high-level API to design circuits. Versions prior to 0.11.0 have a soundness issue - in case of multiple commitments used inside the circuit the prover is able to choose all but the last commitment. As gnark uses the commitments for optimized non-native multiplication, lookup checks etc. as random challenges, then it could impact the soundness of the whole circuit. However, using multiple commitments has been discouraged due to the additional cost to the verifier and it has not been supported in the recursive in-circuit Groth16 verifier and Solidity verifier. gnark's maintainers expect the impact of the issue be very small - only for the users who have implemented the native Groth16 verifier or are using it with multiple commitments. We do not have information of such users. The issue has been patched in version 0.11.0. As a workaround, users should follow gnark maintainers' recommendation to use only a single commitment and then derive in-circuit commitments as needed using the `std/multicommit` package.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

1

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
6.2 / 10
Severity
medium
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Consensys gnark < 0.11.0 (affected) GitHub_M · cna
consensys gnark 0 to < 0.11.0 (affected · custom)Default: unknown CISA-ADP · adp

Weaknesses

1
  • CWE-200 CWE-200: Exposure of Sensitive Information to an Unauthorized Actor (GitHub_M · cna)

References

2

Provider assertions

2

GitHub_M · cna

gnark's Groth16 commitment extension unsound for more than one commitment

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.1
Searchable
yes
Content hash
1e2b3d47df6f0e88ed3e03591490e9bbae096ba4f009db1caf9766562ba086a7
Ingested
23 Sep 2026, 08:27:32 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected