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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** LOW 2.7
- **CVSS:** 2.7 (v4.0, CNA) `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 metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: None; Confidentiality impact: None; Integrity impact: Low; Availability impact: Low; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None; Exploit maturity: Unreported
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.80% (percentile 53, 2026-11-26)
- **CWE:** CWE-369
- **Aliases:** GHSA-f6rc-24x4-ppxp
- **Published:** 2025-08-05T17:42:06.000Z
- **Modified:** 2026-06-17T09:40:50.630Z

## Who should check

- Projects that depend on crates.io package risc0-zkvm (\>= 2.0.0, \< 2.2.0)
- Projects that depend on crates.io package risc0-circuit-rv32im (\>= 2.0.0, \< 3.0.0)
- Projects that depend on crates.io package risc0-circuit-rv32im-sys (\>= 2.0.0, \< 3.0.0)
- Anyone running risc0 \>= 2.0.0, \< 2.2.0

## Description

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.

## Affected and fixed versions

- crates.io `risc0-zkvm`: affected \>= 2.0.0, \< 2.2.0; fixed 2.2.0 (osv)
- crates.io `risc0-circuit-rv32im`: affected \>= 2.0.0, \< 3.0.0; fixed 3.0.0 (osv)
- crates.io `risc0-circuit-rv32im-sys`: affected \>= 2.0.0, \< 3.0.0; fixed 3.0.0 (osv)
- risc0: \>= 2.0.0, \< 2.2.0 (cvelist)

## Mitigation

- Upgrade risc0-zkvm to 2.2.0 or later.
- Upgrade risc0-circuit-rv32im to 3.0.0 or later.
- Upgrade risc0-circuit-rv32im-sys to 3.0.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-54873. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-54873.md
Affected: risc0-zkvm >= 2.0.0, < 2.2.0; risc0-circuit-rv32im >= 2.0.0, < 3.0.0; risc0-circuit-rv32im-sys >= 2.0.0, < 3.0.0
Fixed in: 2.2.0, 3.0.0

Steps:
1. Search this machine and project for risc0-zkvm (crates.io), risc0-circuit-rv32im (crates.io), risc0-circuit-rv32im-sys (crates.io), risc0: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-54873 being exploited?

There is no confirmed exploitation: CVE-2025-54873 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.80% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-54873?

Low: CVSS 2.7 (v4.0, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2025-54873?

risc0-zkvm \>= 2.0.0, \< 2.2.0; risc0-circuit-rv32im \>= 2.0.0, \< 3.0.0; risc0-circuit-rv32im-sys \>= 2.0.0, \< 3.0.0.

### Is there a fix for CVE-2025-54873?

Yes. Fixed in 2.2.0, 3.0.0. Upgrade risc0-zkvm to 2.2.0 or later. Upgrade risc0-circuit-rv32im to 3.0.0 or later. Upgrade risc0-circuit-rv32im-sys to 3.0.0 or later.

### How do I check if I'm affected by CVE-2025-54873?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/risc0/risc0/security/advisories/GHSA-f6rc-24x4-ppxp>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2025-54873>
- patch: <https://github.com/risc0/risc0/pull/3235>
- patch: <https://github.com/risc0/zirgen/pull/249>
- other: <https://github.com/risc0/risc0>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-54873>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-f6rc-24x4-ppxp> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2025-54873> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-54873>
