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

Source: https://junglewise.ai/threats/cve-2025-61588-risc0-vulnerable-to-arbitrary-code-execution-in-guest-via-memory  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-10-01  
License: CC BY 4.0 with a link back

CVE-2025-61588 · Severity: medium · CVSS 4 · Published 2025-10-01

risc0 vulnerable to arbitrary code execution in guest via memory safety failure in `sys_read`

Technologies: [risc0-zkvm (crates.io)](https://junglewise.ai/threats/technologies/risc0-zkvm). Vendors: [crates.io](https://junglewise.ai/threats/vendors/crates-io).

## Quick answers

**Is CVE-2025-61588 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-61588 being exploited in the wild.

**How severe is CVE-2025-61588?** Medium severity, with a CVSS score of 4, published 1 October 2025.

**Which products and versions are affected?** risc0-aggregation (crates.io) ECOSYSTEM:introduced=0,fixed=0.9; risc0-zkos-v1compat (crates.io) SEMVER:introduced=0,fixed=2.1.0; risc0-zkvm (crates.io) SEMVER:introduced=0,fixed=2.3.2; risc0-zkvm-platform (crates.io) SEMVER:introduced=0,fixed=2.1.0.

**Is there a fix for CVE-2025-61588?** Yes. risc0-aggregation (crates.io): upgrade to 0.9 or later; risc0-zkos-v1compat (crates.io): upgrade to 2.1.0 or later; risc0-zkvm (crates.io): upgrade to 2.3.2 or later; risc0-zkvm-platform (crates.io): upgrade to 2.1.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2025-61588?** Check whether you run risc0-aggregation (crates.io), risc0-zkos-v1compat (crates.io), risc0-zkvm (crates.io) or one of the others listed at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- risc0-aggregation (crates.io): upgrade to 0.9 or later

  ```sh
  cargo update -p risc0-aggregation
  ```

- risc0-zkos-v1compat (crates.io): upgrade to 2.1.0 or later

  ```sh
  cargo update -p risc0-zkos-v1compat
  ```

- risc0-zkvm (crates.io): upgrade to 2.3.2 or later

  ```sh
  cargo update -p risc0-zkvm
  ```

- risc0-zkvm-platform (crates.io): upgrade to 2.1.0 or later

  ```sh
  cargo update -p risc0-zkvm-platform
  ```


## Affected products

- risc0-aggregation (crates.io) ECOSYSTEM:introduced=0,fixed=0.9
- risc0-zkos-v1compat (crates.io) SEMVER:introduced=0,fixed=2.1.0
- risc0-zkvm (crates.io) SEMVER:introduced=0,fixed=2.3.2
- risc0-zkvm-platform (crates.io) SEMVER:introduced=0,fixed=2.1.0

## Identifiers

- CVE-2025-61588
- GHSA-jqq4-c7wq-36h7

## Related threats

- [RISC Zero Underconstrained Vulnerability: Division](https://junglewise.ai/threats/cve-2025-54873-risc-zero-underconstrained-vulnerability-division)
- [zkVM Underconstrained Vulnerability](https://junglewise.ai/threats/cve-2025-52484-zkvm-underconstrained-vulnerability)
- [RISC Zero zkVM notes on zero-knowledge](https://junglewise.ai/threats/risc-zero-zkvm-notes-on-zero-knowledge-a5daa959)
