CVE-2025-61588 Details
Description
RISC Zero is a zero-knowledge verifiable general computing platform based on zk-STARKs and the RISC-V microarchitecture. In versions 2.0.2 and below of risc0-zkvm-platform, when the zkVM guest calls sys_read, the host is able to use a crafted response to write to an arbitrary memory location in the guest. This capability can be leveraged to execute arbitrary code within the guest. As sys_read is the mechanism by which input is requested by the guest, all guest programs built with the affected versions are vulnerable. This critically compromises the soundness guarantees of the guest program. Other affected packages include risc0-aggregation versions below 0.9, risc0-zkos-v1compat below 2.1.0, risc0-zkvm versions between 3.0.0-rc.1 and 3.0.1. This issue has been fixed in the following versions: risc0-zkvm-platform 2.1.0, risc0-zkos-v1compat 2.1.0, risc0-aggregation 0.9, and risc0-zkvm 2.3.2 and 3.0.3.
A critical arbitrary code execution vulnerability has been identified in the RISC Zero general computing platform, specifically within the risc0-zkvm-platform package, versions 2.0.2 and below. The issue arises when the zkVM guest invokes the sys_read function. In this scenario, the host can craft a response that writes to an arbitrary memory location in the guest. This exploitation allows for the execution of arbitrary code within the guest environment. Since sys_read is used to request input from the guest, all programs developed with the affected version are vulnerable. This vulnerability undermines the soundness guarantees of the guest program. Additional affected packages include risc0-aggregation versions prior to 0.9, risc0-zkos-v1compat versions prior to 2.1.0, and risc0-zkvm versions between 3.0.0-rc.1 and 3.0.1.
Developers should update their zkVM applications to use risc0-zkvm versions 2.3.2 or 3.0.3. This can be done by modifying the Cargo.toml file to reference the new versions. Applications that use the image ID of the guest will need to be updated with the new image ID. For those using the risc0-aggregation crate or the RiscZeroSetVerifier smart contract, version 0.9 or later should be used.
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 Oct 2, 2025CISA-ADP
Assessed Oct 2, 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/3f00e1fa0159599c1601e788021f2169d1f0a4dc | [email protected] | Source CodeVendor |
| https://github.com/risc0/risc0/pull/3351 | [email protected] | Issue TrackingVendor |
| https://github.com/risc0/risc0/security/advisories/GHSA-jqq4-c7wq-36h7 | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| risc0-zkvm-platform | <= 2.0.2 (semver) |
CPE
Remediation
| |
| risc0-aggregation | < 0.9 |
CPE
Remediation
| |
| risc0-zkos-v1compat | < 2.1.0 (semver) |
CPE
Remediation
| |
| risc0-zkvm | < 2.3.2 (semver) < 3.0.3 (semver) |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 19, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 2, 2025 | New CVE Received | [email protected] |
Volerion