{"cve":"CVE-2025-58157","nvd":{"published":"2025-08-29T22:15:32.700","modified":"2026-10-18T21:10:00.120","status":"Analyzed","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-400"],"references":["https://github.com/Consensys/gnark-crypto/commit/56600883e0e9f9b159e9c7000b94e76185ec3d0d","https://github.com/Consensys/gnark/commit/68be6cede36e387ab760725beabd3c96cc94e6dc","https://github.com/Consensys/gnark/issues/1483","https://github.com/Consensys/gnark/security/advisories/GHSA-9fvj-xqr2-xwg8"],"products":["consensys:gnark"],"source":"nvd","synced_at":"2026-10-19T22:07:46.309729541+00:00"},"epss":{"cve":"CVE-2025-58157","score":0.00515,"percentile":0.43562,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-9fvj-xqr2-xwg8","url":"https://osv.dev/vulnerability/GHSA-9fvj-xqr2-xwg8","summary":"gnark affected by denial of service when computing scalar multiplication using fake-GLV algorithm","modified":"2025-09-17T17:42:12.997037Z","packages":[{"ecosystem":"Go","name":"github.com/consensys/gnark","purl":"pkg:golang/github.com/consensys/gnark","ranges":[">=0.12.0 <0.13.0"],"fixed":["0.13.0"]}]},{"id":"GO-2025-3929","url":"https://osv.dev/vulnerability/GO-2025-3929","summary":"Denial of service when computing scalar multiplication using fake-GLV algorithm in github.com/consensys/gnark","modified":"2026-03-03T04:57:27.659807Z","packages":[{"ecosystem":"Go","name":"github.com/consensys/gnark","purl":"pkg:golang/github.com/consensys/gnark","ranges":["<0.13.0"],"fixed":["0.13.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}