{"id":"CVE-2025-58157","state":"PUBLISHED","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.","publishedAt":"2025-08-29T21:21:35.677Z","updatedAt":"2025-09-02T14:09:48.386Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["Consensys gnark"],"affected":[{"vendor":"Consensys","product":"gnark","versions":[{"version":"= 0.12.0","status":"affected"}]}],"references":["https://github.com/Consensys/gnark/security/advisories/GHSA-9fvj-xqr2-xwg8","https://github.com/Consensys/gnark/issues/1483","https://github.com/Consensys/gnark-crypto/commit/56600883e0e9f9b159e9c7000b94e76185ec3d0d","https://github.com/Consensys/gnark/commit/68be6cede36e387ab760725beabd3c96cc94e6dc"],"weaknesses":["CWE-400"],"ingestedAt":"2026-10-29T20:09:39.787Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/58xxx/CVE-2025-58157.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-58157","state":"PUBLISHED","datePublished":"2025-08-29T21:21:35.677Z","dateUpdated":"2025-09-02T14:09:48.386Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2025-08-27T13:34:56.186Z"},"containers":{"cna":{"title":"gnark affected by denial of service when computing scalar multiplication using fake-GLV algorithm","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Consensys","product":"gnark","versions":[{"version":"= 0.12.0","status":"affected"}]}],"references":[{"url":"https://github.com/Consensys/gnark/security/advisories/GHSA-9fvj-xqr2-xwg8","name":"https://github.com/Consensys/gnark/security/advisories/GHSA-9fvj-xqr2-xwg8","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Consensys/gnark/issues/1483","name":"https://github.com/Consensys/gnark/issues/1483","tags":["x_refsource_MISC"]},{"url":"https://github.com/Consensys/gnark-crypto/commit/56600883e0e9f9b159e9c7000b94e76185ec3d0d","name":"https://github.com/Consensys/gnark-crypto/commit/56600883e0e9f9b159e9c7000b94e76185ec3d0d","tags":["x_refsource_MISC"]},{"url":"https://github.com/Consensys/gnark/commit/68be6cede36e387ab760725beabd3c96cc94e6dc","name":"https://github.com/Consensys/gnark/commit/68be6cede36e387ab760725beabd3c96cc94e6dc","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-400","lang":"en","description":"CWE-400: Uncontrolled Resource Consumption","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2025-08-29T21:21:35.677Z"},"source":{"advisory":"GHSA-9fvj-xqr2-xwg8","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-09-02T14:09:34.494455Z","id":"CVE-2025-58157","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-09-02T14:09:48.386Z"}}]}}}