{"id":"CVE-2025-58157","published":"2025-08-29T21:21:35Z","modified":"2025-09-02T14:09:48Z","title":"gnark affected by denial of service when computing scalar multiplication using fake-GLV algorithm","vendor":"Consensys","product":"gnark","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00568,"percentile":0.48008,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://github.com/Consensys/gnark/security/advisories/GHSA-9fvj-xqr2-xwg8","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Consensys/gnark/issues/1483","tags":["x_refsource_MISC"]},{"url":"https://github.com/Consensys/gnark-crypto/commit/56600883e0e9f9b159e9c7000b94e76185ec3d0d","tags":["x_refsource_MISC"]},{"url":"https://github.com/Consensys/gnark/commit/68be6cede36e387ab760725beabd3c96cc94e6dc","tags":["x_refsource_MISC"]}],"priority":{"score":14.9,"factors":[{"name":"EPSS percentile","points":9.6},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"consensys","affectedVersions":[{"vendor":"Consensys","product":"gnark","versions":["= 0.12.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2025-09-02T14:09:34.494455Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/consensys/gnark","vulnerableRanges":[">=0.12.0, <0.13.0","<0.13.0"],"patched":["0.13.0"],"from":["GHSA-9fvj-xqr2-xwg8","GO-2025-3929"],"provenance":"source"}],"summary":{"text":"The gnark zero-knowledge proof framework, in affected versions, has a denial of service flaw in its scalar multiplication routine when it uses the fake-GLV algorithm, because the algorithm fails to converge quickly enough for some inputs. An attacker with network access and no authentication or user interaction can trigger the excessive resource consumption by supplying such inputs.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:36:25Z"},"euvd":{"id":"EUVD-2025-28663","exploited":false,"provenance":"source"}}