CVE-2025-61588

CRITICAL

risc0-zkvm-platform < 2.1.0 - Arbitrary Code Execution via sys_read Response

Title source: llm
STIX 2.1

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.

Scores

CVSS v4 9.3
EPSS 0.0042
EPSS Percentile 33.6%
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

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact total

Details

CWE
CWE-94
Status published
Products (5)
crates.io/risc0-aggregation 0 - 0.9crates.io
crates.io/risc0-zkos-v1compat 0 - 2.1.0crates.io
crates.io/risc0-zkvm 0 - 2.3.2crates.io
crates.io/risc0-zkvm-platform 0 - 2.1.0crates.io
risc0/risc0 < 2.1.0
Published Oct 02, 2025
Tracked Since Feb 18, 2026