CVE-2025-58157

Source
https://cve.org/CVERecord?id=CVE-2025-58157
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-58157.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-58157
Aliases
Downstream
Related
Published
2025-08-29T21:21:35Z
Modified
2026-09-07T03:45:30Z
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
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-400"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/58xxx/CVE-2025-58157.json"
}
References

Affected packages

Git / github.com/consensys-incorporated/gnark

Affected ranges

Type
GIT
Repo
https://github.com/consensys-incorporated/gnark
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "source": "REFERENCES"
}
Type
GIT
Repo
https://github.com/Consensys-Incorporated/gnark-crypto
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "introduced": "= 0.12.0"
        },
        {
            "last_affected": "= 0.12.0"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ]
}

Affected versions

0.*
0.12.0
= 0.*
= 0.12.0
v0.*
v0.1.0-alpha
v0.10.0
v0.11.0
v0.12.0
v0.12.1
v0.13.0
v0.14.0
v0.15.0
v0.16.0
v0.17.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/cve-osv-conversion/osv-output/CVE-2025-58157.json"