Advisory

GHSA-f6rc-24x4-ppxp

Also known as: CVE-2025-54873

Summary

RISC Zero Underconstrained Vulnerability: Division

Details

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.

Severity

Low Basis: The source's own band: LOW

Dates

Published
2025-08-05 17:42 UTC
Modified
2025-08-06 14:32 UTC

Affected packages and fixes

risc0-zkvm

crates.io · All systems

Affected

  • introduced 2.0.0, fixed 2.2.0 (semver)

Fixed versions

2.2.0

Fix

  • Fixed version 2.2.0
    cargo update -p risc0-zkvm --precise 2.2.0

risc0-circuit-rv32im

crates.io · All systems

Affected

  • introduced 2.0.0, fixed 3.0.0 (semver)

Fixed versions

3.0.0

Fix

  • Fixed version 3.0.0
    cargo update -p risc0-circuit-rv32im --precise 3.0.0

risc0-circuit-rv32im-sys

crates.io · All systems

Affected

  • introduced 2.0.0, fixed 3.0.0 (semver)

Fixed versions

3.0.0

Fix

  • Fixed version 3.0.0
    cargo update -p risc0-circuit-rv32im-sys --precise 3.0.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences