GHSA-f6rc-24x4-ppxp

Suggest an improvement
Source
https://github.com/advisories/GHSA-f6rc-24x4-ppxp
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/08/GHSA-f6rc-24x4-ppxp/GHSA-f6rc-24x4-ppxp.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-f6rc-24x4-ppxp
Aliases
Published
2025-08-05T17:42:06Z
Modified
2025-08-07T04:57:19.742657Z
Severity
  • 2.7 (Low) CVSS_V4 - 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 CVSS Calculator
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.

Database specific
{
    "severity": "LOW",
    "github_reviewed": true,
    "github_reviewed_at": "2025-08-05T17:42:06Z",
    "nvd_published_at": "2025-08-06T00:15:31Z",
    "cwe_ids": [
        "CWE-369"
    ]
}
References

Affected packages

crates.io / risc0-zkvm

Package

Affected ranges

Type
SEMVER
Events
Introduced
2.0.0
Fixed
2.2.0

crates.io / risc0-circuit-rv32im

Package

Name
risc0-circuit-rv32im
View open source insights on deps.dev
Purl
pkg:cargo/risc0-circuit-rv32im

Affected ranges

Type
SEMVER
Events
Introduced
2.0.0
Fixed
3.0.0

crates.io / risc0-circuit-rv32im-sys

Package

Name
risc0-circuit-rv32im-sys
View open source insights on deps.dev
Purl
pkg:cargo/risc0-circuit-rv32im-sys

Affected ranges

Type
SEMVER
Events
Introduced
2.0.0
Fixed
3.0.0