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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.3
- **CVSS:** 9.3 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: None; Confidentiality impact: High; Integrity impact: High; Availability impact: High; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.84% (percentile 55, 2026-11-26)
- **CWE:** CWE-94
- **Aliases:** GHSA-jqq4-c7wq-36h7
- **Published:** 2025-10-01T21:04:59.000Z
- **Modified:** 2026-10-19T17:10:00.173Z

## Who should check

- Projects that depend on crates.io package risc0-zkvm-platform (\< 2.1.0)
- Projects that depend on crates.io package risc0-zkos-v1compat (\< 2.1.0)
- Projects that depend on crates.io package risc0-aggregation (\< 0.9)
- Projects that depend on crates.io package risc0-zkvm (\< 2.3.2)
- Anyone running risc0 \< 2.1.0

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

## Affected and fixed versions

- crates.io `risc0-zkvm-platform`: affected \< 2.1.0; fixed 2.1.0 (osv)
- crates.io `risc0-zkos-v1compat`: affected \< 2.1.0; fixed 2.1.0 (osv)
- crates.io `risc0-aggregation`: affected \< 0.9; fixed 0.9 (osv)
- crates.io `risc0-zkvm`: affected \< 2.3.2; fixed 2.3.2, 3.0.3 (osv)
- risc0: \< 2.1.0 (cvelist)

## Mitigation

- Upgrade risc0-zkvm-platform to 2.1.0 or later.
- Upgrade risc0-zkos-v1compat to 2.1.0 or later.
- Upgrade risc0-aggregation to 0.9 or later.
- Upgrade risc0-zkvm to one of 2.3.2, 3.0.3 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-61588. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-61588.md
Affected: risc0-zkvm-platform < 2.1.0; risc0-zkos-v1compat < 2.1.0; risc0-aggregation < 0.9; risc0-zkvm < 2.3.2
Fixed in: 2.1.0, 0.9, 2.3.2, 3.0.3

Steps:
1. Search this machine and project for risc0-zkvm-platform (crates.io), risc0-zkos-v1compat (crates.io), risc0-aggregation (crates.io), risc0-zkvm (crates.io), risc0: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-61588 being exploited?

There is no confirmed exploitation: CVE-2025-61588 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.84% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-61588?

Critical: CVSS 9.3 (v4.0, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2025-61588?

risc0-zkvm-platform \< 2.1.0; risc0-zkos-v1compat \< 2.1.0; risc0-aggregation \< 0.9; risc0-zkvm \< 2.3.2.

### Is there a fix for CVE-2025-61588?

Yes. Fixed in 2.1.0, 0.9, 2.3.2, 3.0.3. Upgrade risc0-zkvm-platform to 2.1.0 or later. Upgrade risc0-zkos-v1compat to 2.1.0 or later. Upgrade risc0-aggregation to 0.9 or later. Upgrade risc0-zkvm to one of 2.3.2, 3.0.3 (or later in the same release line).

### How do I check if I'm affected by CVE-2025-61588?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/risc0/risc0/security/advisories/GHSA-jqq4-c7wq-36h7>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2025-61588>
- patch: <https://github.com/risc0/risc0/pull/3351>
- patch: <https://github.com/risc0/risc0/commit/3f00e1fa0159599c1601e788021f2169d1f0a4dc>
- other: <https://github.com/risc0/risc0>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-61588>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-jqq4-c7wq-36h7> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2025-61588> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-61588>
