CVE-2025-52484 Details
Description
RISC Zero is a general computing platform based on zk-STARKs and the RISC-V microarchitecture. Due to a missing constraint in the rv32im circuit, any 3-register RISC-V instruction (including remu and divu) in risc0-zkvm 2.0.0, 2.0.1, and 2.0.2 are vulnerable to an attack by a malicious prover. The main idea for the attack is to confuse the RISC-V virtual machine into treating the value of the rs1 register as the same as the rs2 register due to a lack of constraints in the rv32im circuit. Rust applications using the risc0-zkvm crate at versions 2.0.0, 2.0.1, and 2.0.2 should upgrade to version 2.1.0. Smart contract applications using the official RISC Zero Verifier Router do not need to take any action: zkVM version 2.1 is active on all official routers, and version 2.0 has been disabled. Smart contract applications not using the verifier router should update their contracts to send verification calls to the 2.1 version of the verifier.
A vulnerability exists in RISC Zero's general computing platform, specifically within the zk-STARKs implementation and the RISC-V microarchitecture. This issue affects versions 2.0.0, 2.0.1, and 2.0.2 of the risc0-zkvm crate. The vulnerability arises from a missing constraint in the rv32im circuit, allowing a malicious prover to manipulate the RISC-V virtual machine into misinterpreting the values of the rs1 and rs2 registers. This confusion can be exploited with any 3-register RISC-V instruction, including 'remu' and 'divu'.
Users should upgrade to RISC Zero zkVM version 2.1.0. For Rust applications using the official RISC Zero Verifier Router, no action is needed as version 2.1 is already active on all official routers and version 2.0 has been disabled. However, smart contract applications not using the verifier router should update their contracts to send verification calls to the 2.1 version of the verifier.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 20, 2025CISA-ADP
Assessed Jun 23, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/risc0/risc0/commit/006d86c363b16d2b2ac42d32d832a209ff8ab4c9 | [email protected] | Source CodeVendor |
| https://github.com/risc0/risc0/commit/1873bbb8a56793edd1f6195242d184cf6cc5175d | [email protected] | Source CodeVendor |
| https://github.com/risc0/risc0/commit/67f2d81c638bff5f4fcfe11a084ebb34799b7a89 | [email protected] | Source CodeVendor |
| https://github.com/risc0/risc0/pull/3181 | [email protected] | Issue TrackingVendor |
| https://github.com/risc0/risc0/security/advisories/GHSA-g3qg-6746-3mg9 | [email protected] | AdvisoryRemedyVendor |
| https://github.com/risc0/zirgen/commit/e0e2918302c93e956f73ca2e44aef2b861d8c3ae | [email protected] | Source CodeVendor |
| https://github.com/risc0/zirgen/pull/238 | [email protected] | Issue TrackingVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-345 | Insufficient Verification of Data Authenticity | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| risc0-circuit | All versions |
CPE
Remediation
| |
| risc0-zkvm | All versions |
CPE
Remediation
| |
| risc0 | >= 2.0.0, < 2.0.4 (semver) |
CPE
Remediation
| |
| risc0-zerigen | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 20, 2025 | New CVE Received | [email protected] |
Volerion