GitHub Advisoryadvisory · crates.io

GHSA-f6rc-24x4-ppxp RISC Zero Underconstrained Vulnerability: Division

LOW Published 2025-08-05 Modified 2025-08-06 Official page ↗
Aliases
CVE-2025-54873
Ecosystem
crates.io
Packages
risc0-zkvm, risc0-circuit-rv32im, risc0-circuit-rv32im-sys
Severity
Low
CVSS 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
Weaknesses
CWE-369
Reviewed
2025-08-05

Affected packages

• crates.io risc0-zkvm: >= 2.0.0, < 2.2.0 → fixed in 2.2.0 • crates.io risc0-circuit-rv32im: >= 2.0.0, < 3.0.0 → fixed in 3.0.0 • crates.io risc0-circuit-rv32im-sys: >= 2.0.0, < 3.0.0 → fixed in 3.0.0

Description

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.

Related

Alias · CVE (1)

  • CVE-2025-54873 RISC Zero is a zero-knowledge verifiable general computing platform based on zk-STARKs and the RISC-V microarchitecture. vulnerability

Weakness · CWE (1)

References