CVE-2025-58157

Source
https://cve.org/CVERecord?id=CVE-2025-58157
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-58157.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-58157
Aliases
Downstream
Related
Published
2025-08-29T21:21:35.677Z
Modified
2026-04-15T04:49:57.325739Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
gnark affected by denial of service when computing scalar multiplication using fake-GLV algorithm
Details

gnark is a zero-knowledge proof system framework. In version 0.12.0, there is a potential denial of service vulnerability when computing scalar multiplication is using the fake-GLV algorithm. This is because the algorithm didn't converge quickly enough for some of the inputs. This issue has been patched in version 0.13.0.

Database specific
{
    "cwe_ids": [
        "CWE-400"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/58xxx/CVE-2025-58157.json",
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/consensys/gnark

Affected ranges

Type
GIT
Repo
https://github.com/consensys/gnark
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v0.*
v0.1.0-alpha
v0.10.0
v0.11.0
v0.12.0
v0.2.0-alpha
v0.3.0
v0.3.0-alpha
v0.3.3
v0.3.4
v0.3.5
v0.3.6
v0.3.7
v0.3.8
v0.4.0
v0.5.0
v0.5.1
v0.5.2
v0.6.0
v0.6.1
v0.6.2
v0.6.3
v0.6.4
v0.7.0
v0.7.1
v0.8.0
v0.8.1
v0.9.0
v0.9.0-alpha
v0.9.1

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-58157.json"

Git / github.com/consensys/gnark-crypto

Affected ranges

Type
GIT
Repo
https://github.com/consensys/gnark-crypto
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v0.*
v0.0.1
v0.1.0
v0.1.1
v0.10.0
v0.11.0
v0.11.1
v0.11.2
v0.12.0
v0.12.1
v0.13.0
v0.14.0
v0.15.0
v0.16.0
v0.17.0
v0.2.0
v0.3.0
v0.3.0-alpha
v0.3.3
v0.3.4
v0.3.5
v0.3.6
v0.3.7
v0.4.0
v0.5.0
v0.5.1
v0.5.2
v0.5.3
v0.6.0
v0.6.1
v0.7.0
v0.8.0
v0.9.0
v0.9.1

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-58157.json"