Skip to content
OpenAdvisories
Low · 2.7 CVE-2025-54873 EUVD-2025-23666GHSA-f6rc-24x4-ppxp

RISC Zero Underconstrained Vulnerability: Division

Published Aug 5, 2025 · Updated Aug 6, 2025 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
risc0 risc0 >= 2.0.0, < 2.2.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io risc0-circuit-rv32im >= 2.0.0, < 3.0.0 3.0.0 GHSA-f6rc-24x4-ppxp
crates.io risc0-circuit-rv32im-sys >= 2.0.0, < 3.0.0 3.0.0 GHSA-f6rc-24x4-ppxp
crates.io risc0-zkvm >= 2.0.0, < 2.2.0 2.2.0 GHSA-f6rc-24x4-ppxp

References