CVE-2025-61588
RISC Zero is a zero-knowledge verifiable general computing platform …
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/risc0/risc0/commit/3f00e1fa0159599c1601e788021f2169d1f0a4dc
- github.com/risc0/risc0/pull/3351
- github.com/risc0/risc0/security/advisories/GHSA-jqq4-c7wq-36h7
- nvd.nist.gov/vuln/detail/CVE-2025-61588
- github.com/advisories/GHSA-jqq4-c7wq-36h7
- nvd.nist.gov/vuln/detail/CVE-2025-61588
- cve.org/CVERecord?id=CVE-2025-61588
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.