cve.bz

CVE-2025-54873 risc0 risc0: Divide By Zero

2.7 lowEPSS 0.4%Fix available

Low (2.7) in risc0 risc0. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in risc0-zkvm 2.2.0.

On this page
RISC Zero is a zero-knowledge verifiable general computing platform based on zk-STARKs and the RISC-V microarchitecture. RISC packages risc0-zkvm versions 2.0.0 through 2.1.0 and risc0-circuit-rv32im and risc0-circuit-rv32im-sys versions 2.0.0 through 2.0.4 contain vulnerabilities where signed integer division allows multiple outputs for certain inputs with only one being valid, and division by zero results are underconstrained. This issue is fixed in risc0-zkvm version 2.2.0 and version 3.0.0 for the risc0-circuit-rv32im and risc0-circuit-rv32im-sys packages.

Severity

CVSS 4.0

2.7 low
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
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 39th percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2025-08-06. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-369 Divide By Zero
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • risc0-zkvm (crates.io): fixed in 2.2.0
  • risc0-circuit-rv32im (crates.io): fixed in 3.0.0
  • risc0-circuit-rv32im-sys (crates.io): fixed in 3.0.0

Ask an AI about this CVE

Show the promptExplain CVE-2025-54873 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-54873?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-54873?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-54873 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
risc0>= 2.0.0, < 2.2.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-f6rc-24x4-ppxpcrates.iorisc0-zkvm>=2.0.0 <2.2.02.2.0
GHSA-f6rc-24x4-ppxpcrates.iorisc0-circuit-rv32im>=2.0.0 <3.0.03.0.0
GHSA-f6rc-24x4-ppxpcrates.iorisc0-circuit-rv32im-sys>=2.0.0 <3.0.03.0.0

References

Check your stackJSON