CVE-2025-54873: RISC Zero Underconstrained Vulnerability: Division
Two issues were found: For some inputs to signed integer division, the circuit allowed two outputs, only one of which was valid. Additionally, the result of division by zero was underconstrained. This vulnerability was identified using the Picus tool from Veridise. Impacted on-chain verifiers have already been disabled via the estop mechanism outlined in the Verifier Management Design.
Published Aug 5, 2025 · Updated Aug 6, 2025
Affected packages
risc0-zkvm
- Ecosystem
- Rust (crates.io)
- Affected
- >= 2.0.0, < 2.2.0
- Fixed in
- 2.2.0
- Check
cargo tree -i risc0-zkvm
risc0-circuit-rv32im
- Ecosystem
- Rust (crates.io)
- Affected
- >= 2.0.0, < 3.0.0
- Fixed in
- 3.0.0
- Check
cargo tree -i risc0-circuit-rv32im
risc0-circuit-rv32im-sys
- Ecosystem
- Rust (crates.io)
- Affected
- >= 2.0.0, < 3.0.0
- Fixed in
- 3.0.0
- Check
cargo tree -i risc0-circuit-rv32im-sys
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Two issues were found: For some inputs to signed integer division, the circuit allowed two outputs, only one of which was valid. Additionally, the result of division by zero was underconstrained.
This vulnerability was identified using the Picus tool from Veridise.
Impacted on-chain verifiers have already been disabled via the estop mechanism outlined in the Verifier Management Design.
Mitigation
We recommend all impacted users upgrade as soon as possible.
Rust applications using the risc0-zkvm crate at versions < 2.2 should upgrade to version 2.2.0 or later.
Smart contract applications using the official RISC Zero Verifier Router do not need to take any action: zkVM version 2.2 is active on all official routers, and version 2.1 has been disabled.
Smart contract applications not using the verifier router should update their contracts to send verification calls to the 2.2 version of the verifier.
Credited to VeridiseAudits.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
