Division by zero Affecting risc0-circuit-rv32im-sys package, versions >=2.0.0 <3.0.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RUST-RISC0CIRCUITRV32IMSYS-11520810
  • published8 Aug 2025
  • disclosed5 Aug 2025
  • creditVeridise Audits

Introduced: 5 Aug 2025

NewCVE-2025-54873  (opens in a new tab)
CWE-369  (opens in a new tab)

How to fix?

Upgrade risc0-circuit-rv32im-sys to version 3.0.0 or higher.

Overview

risc0-circuit-rv32im-sys is a generated HAL code for rv32im cicuit.

Affected versions of this package are vulnerable to Division by zero. An attacker can cause incorrect or unpredictable computation results by providing crafted input values, including division by zero or specific signed integer division cases.

References

CVSS Base Scores

version 4.0
version 3.1