# CVE-2025-61588: risc0 vulnerable to arbitrary code execution in guest via memory safety failure in `sys_read`

- Severity: Critical 9.3 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.48%, higher than 43% of CVEs (2026-12-01)
- Published: 2025-10-01T21:04:59.000Z
- Modified: 2026-10-19T17:10:00.173Z
- Also known as: GHSA-jqq4-c7wq-36h7
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- risc0 risc0: < 2.1.0
- risc0-zkvm-platform (crates.io): before 2.1.0
- risc0-zkos-v1compat (crates.io): before 2.1.0
- risc0-aggregation (crates.io): before 0.9
- risc0-zkvm (crates.io): before 2.3.2; from 3.0.0 before 3.0.3

## Every score

- GitHub_M: CVSS:4.0 9.3 Critical `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- GitHub: CVSS:4.0 Critical `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X`

## References

- <https://github.com/risc0/risc0/security/advisories/GHSA-jqq4-c7wq-36h7> (web)
- <https://github.com/risc0/risc0/pull/3351> (web)
- <https://github.com/risc0/risc0/commit/3f00e1fa0159599c1601e788021f2169d1f0a4dc> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-61588> (advisory)
- <https://github.com/risc0/risc0> (package)

## Sources

- CVE List: [CVE-2025-61588](https://www.cve.org/CVERecord?id=CVE-2025-61588), CVE Terms of Use, modified 2025-10-02
- GitHub Advisory Database: [GHSA-jqq4-c7wq-36h7](https://github.com/advisories/GHSA-jqq4-c7wq-36h7), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-61588](https://nvd.nist.gov/vuln/detail/CVE-2025-61588), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-61588 · Whole record: https://cve.day/CVE-2025-61588.json · Rebuilt by cve.day 2026-11-25T22:59:05.420Z
