Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. risc0-circuit-rv32im-sys
  4. ›
  5. CVE-2025-54873

CVE-2025-54873: RISC Zero Underconstrained Vulnerability: Division

August 5, 2025 (updated August 6, 2025)

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.

References

  • github.com/advisories/GHSA-f6rc-24x4-ppxp
  • github.com/risc0/risc0
  • github.com/risc0/risc0/pull/3235
  • github.com/risc0/risc0/security/advisories/GHSA-f6rc-24x4-ppxp
  • github.com/risc0/zirgen/pull/249
  • nvd.nist.gov/vuln/detail/CVE-2025-54873

Code Behaviors & Features

Detect and mitigate CVE-2025-54873 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.0.0 before 3.0.0

Fixed versions

  • 3.0.0

Solution

Upgrade to version 3.0.0 or above.

Weakness

  • CWE-369: Divide By Zero

Source file

cargo/risc0-circuit-rv32im-sys/CVE-2025-54873.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 19 Aug 2025 12:18:22 +0000.