{"id":"CVE-2025-54873","published":"2025-08-05T23:35:09Z","modified":"2025-08-06T13:53:46Z","title":"RISC Zero Underconstrained Vulnerability: Division","vendor":"risc0","product":"risc0","tier":"tail","description":{"text":"RISC Zero is a zero-knowledge verifiable general computing platform based on zk-STARKs and the RISC-V microarchitecture. RISC packages risc0-zkvm versions 2.0.0 through 2.1.0 and risc0-circuit-rv32im and risc0-circuit-rv32im-sys versions 2.0.0 through 2.0.4 contain vulnerabilities where signed integer division allows multiple outputs for certain inputs with only one being valid, and division by zero results are underconstrained. This issue is fixed in risc0-zkvm version 2.2.0 and version 3.0.0 for the  risc0-circuit-rv32im and risc0-circuit-rv32im-sys packages.","provenance":"source","from":"CVE.org"},"cvss":{"score":2.7,"severity":"LOW","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:U","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0044,"percentile":0.39143,"provenance":"source"},"cwes":[{"id":"CWE-369","name":"Divide By Zero"}],"references":[{"url":"https://github.com/risc0/risc0/security/advisories/GHSA-f6rc-24x4-ppxp","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/risc0/risc0/pull/3235","tags":["x_refsource_MISC"]},{"url":"https://github.com/risc0/zirgen/pull/249","tags":["x_refsource_MISC"]}],"priority":{"score":9.7,"factors":[{"name":"EPSS percentile","points":7.83},{"name":"CVSS severity","points":1.89}]},"vendorSlug":"risc0","affectedVersions":[{"vendor":"risc0","product":"risc0","versions":[">= 2.0.0, < 2.2.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-08-06T13:53:39.311739Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"risc0-zkvm","vulnerableRanges":[">=2.0.0, <2.2.0"],"patched":["2.2.0"],"from":["GHSA-f6rc-24x4-ppxp"],"provenance":"source"},{"ecosystem":"crates.io","package":"risc0-circuit-rv32im","vulnerableRanges":[">=2.0.0, <3.0.0"],"patched":["3.0.0"],"from":["GHSA-f6rc-24x4-ppxp"],"provenance":"source"},{"ecosystem":"crates.io","package":"risc0-circuit-rv32im-sys","vulnerableRanges":[">=2.0.0, <3.0.0"],"patched":["3.0.0"],"from":["GHSA-f6rc-24x4-ppxp"],"provenance":"source"}],"summary":{"text":"The RISC Zero zero-knowledge zkVM, specifically the risc0-zkvm, risc0-circuit-rv32im and risc0-circuit-rv32im-sys packages, contains an underconstrained flaw in its signed integer division and division-by-zero handling. For certain inputs, the circuit permits multiple outputs where only one is valid, and division-by-zero results are not fully constrained. An attacker can exploit this over the network with no privileges, authentication or user interaction, and with the default configuration, to produce integrity-affecting and availability-affecting effects on the proving system.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:14:06Z"},"euvd":{"id":"EUVD-2025-23666","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-52484","published":"2025-06-20","fixed":"2.1.0","kev":false,"link":{"from":"CVE-2025-52484","to":"CVE-2025-54873","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"crates.io:risc0-zkvm","fromFixed":"2.1.0","toFixed":"2.2.0","daysApart":46}]}},{"cve":"CVE-2025-54873","published":"2025-08-05","fixed":"2.2.0","kev":false},{"cve":"CVE-2025-61588","published":"2025-10-01","fixed":"3.0.3","kev":false,"link":{"from":"CVE-2025-54873","to":"CVE-2025-61588","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"crates.io:risc0-zkvm","fromFixed":"2.2.0","toFixed":"2.3.2","daysApart":57}]}}],"package":"crates.io:risc0-zkvm"}}