{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-58157","id":"CVE-2025-58157","title":"gnark affected by denial of service when computing scalar multiplication using fake-GLV algorithm","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.","descriptionLong":"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.","published":"2025-08-29T21:21:35.677Z","updated":"2026-10-28T02:30:30.363830539Z","reserved":"2025-08-27T13:34:56.186Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"github.com"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":["Consensys gnark"],"affectedProducts":[{"vendor":"Consensys","product":"gnark","defaultStatus":null,"versions":[{"version":"= 0.12.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/consensys/gnark","purl":"pkg:golang/github.com/consensys/gnark","ranges":[">=0.12.0 <0.13.0","<0.13.0"],"fixed":["0.13.0"],"advisory":"GHSA-9fvj-xqr2-xwg8"}],"cwes":["CWE-400"],"aliases":["GHSA-9fvj-xqr2-xwg8","GO-2025-3929"],"references":[{"url":"https://github.com/Consensys/gnark/security/advisories/GHSA-9fvj-xqr2-xwg8","tags":["x_refsource_CONFIRM","Vendor Advisory","advisory","web"]},{"url":"https://github.com/Consensys/gnark/issues/1483","tags":["x_refsource_MISC","Exploit","Issue Tracking","report","web"]},{"url":"https://github.com/Consensys/gnark-crypto/commit/56600883e0e9f9b159e9c7000b94e76185ec3d0d","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/Consensys/gnark/commit/68be6cede36e387ab760725beabd3c96cc94e6dc","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/58xxx/CVE-2025-58157.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-58157","tags":["advisory"]},{"url":"https://github.com/Consensys/gnark","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial"},"epss":0.00568,"epssPercentile":0.47881,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-58157","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-58157","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-58157","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-9fvj-xqr2-xwg8","ok":true,"note":"GHSA-9fvj-xqr2-xwg8"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-58157","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}