{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-57801","published":"2025-08-22T20:15:33.080000Z","last_modified":"2026-06-17T09:43:27.693000Z","status":"Analyzed","cvss":{"version":"4.0","score":8.6,"severity":"HIGH","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"security-advisories@github.com","primary":false},"auth":true,"cwes":["CWE-347"],"cpes":[{"criteria":"cpe:2.3:a:consensys:gnark:*:*:*:*:*:*:*:*","part":"a","vendor":"consensys","product":"gnark","version_end_excluding":"0.14.0"}],"cpes_truncated":false,"vendors":["consensys"],"products":["consensys/gnark"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-95v9-hv42-pwrj","ecosystem":"Go","name":"github.com/consensys/gnark","purl":"pkg:golang/github.com/consensys/gnark","ranges":[{"introduced":"0","fixed":"0.14.0"}],"versions":[],"versions_truncated":false},{"advisory":"GO-2025-3912","ecosystem":"Go","name":"github.com/consensys/gnark","purl":"pkg:golang/github.com/consensys/gnark","ranges":[{"introduced":"0","fixed":"0.14.0"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":52,"links":{"html_es":"/es/cve/CVE-2025-57801/","html_en":"/en/cve/CVE-2025-57801/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-57801","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-57801"},"untrusted":{"vendor_name":"Consensys","product_name":"Gnark","desc_en":"gnark is a zero-knowledge proof system framework. In versions prior to 0.14.0, the Verify function in eddsa.go and ecdsa.go used the S value from a signature without asserting that 0 ≤ S < order, leading to a signature malleability vulnerability. Because gnark’s native EdDSA and ECDSA circuits lack essential constraints, multiple distinct witnesses can satisfy the same public inputs. In protocols where nullifiers or anti-replay checks are derived from R and S, this enables signature malleability and may allow double spending. This issue has been addressed in version 0.14.0.","affected":[{"untrusted_vendor":"Consensys","untrusted_product":"gnark","versions":[]}],"references":[{"url":"https://github.com/Consensys/gnark/commit/0ba6730f05537a351517998add89a61a0d82716e","tags":["Patch"]},{"url":"https://github.com/Consensys/gnark/security/advisories/GHSA-95v9-hv42-pwrj","tags":["Exploit","Vendor Advisory"]}]}}