{"id":"CVE-2025-58157","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.","aliases":["GHSA-9fvj-xqr2-xwg8","GO-2025-3929"],"modified":"2026-04-15T04:49:57.325739Z","published":"2025-08-29T21:21:35.677Z","related":["SUSE-SU-2025:03289-1","openSUSE-SU-2025:15564-1"],"database_specific":{"cwe_ids":["CWE-400"],"cna_assigner":"GitHub_M","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/58xxx/CVE-2025-58157.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/58xxx/CVE-2025-58157.json"},{"type":"ADVISORY","url":"https://github.com/Consensys/gnark/security/advisories/GHSA-9fvj-xqr2-xwg8"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-58157"},{"type":"REPORT","url":"https://github.com/Consensys/gnark/issues/1483"},{"type":"FIX","url":"https://github.com/Consensys/gnark-crypto/commit/56600883e0e9f9b159e9c7000b94e76185ec3d0d"},{"type":"FIX","url":"https://github.com/Consensys/gnark/commit/68be6cede36e387ab760725beabd3c96cc94e6dc"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/consensys/gnark","events":[{"introduced":"0"},{"fixed":"68be6cede36e387ab760725beabd3c96cc94e6dc"}]}],"versions":["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"}},{"ranges":[{"type":"GIT","repo":"https://github.com/consensys/gnark-crypto","events":[{"introduced":"0"},{"fixed":"56600883e0e9f9b159e9c7000b94e76185ec3d0d"}]}],"versions":["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"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}