PT-2025-40308 · Unknown · Risc0-Zkvm+4

Nategraf

·

Published

2025-10-01

·

Updated

2025-10-08

·

CVE-2025-61588

CVSS v4.0

9.3

Critical

VectorAV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions risc0-zkvm-platform versions 2.0.2 and below risc0-aggregation versions below 0.9 risc0-zkos-v1compat versions below 2.1.0 risc0-zkvm versions 3.0.0-rc.1 through 3.0.1
Description The software contains a flaw related to memory safety in the sys read function. When the zkVM guest calls sys read, the host can manipulate the response to write to arbitrary memory locations within the guest. This can lead to arbitrary code execution within the guest environment, compromising the soundness of the guest program. The sys read function is used by the guest to request input, making all guest programs built with affected versions potentially vulnerable. The issue stems from vulnerable pointer arithmetic in the sys read function.
Recommendations risc0-zkvm-platform versions prior to 2.1.0 risc0-aggregation versions prior to 0.9 risc0-zkos-v1compat versions prior to 2.1.0 risc0-zkvm versions 3.0.0-rc.1 through 3.0.1 should be updated to version 2.3.2 or 3.0.3. Update references to risc0-zkvm in Cargo.toml to version specifiers “2.3.2” or “3.0.3”. Update references to risc0-build in Cargo.toml to version specifiers “2.3.2” or “3.0.3”. Rebuild your application, including the guest. Update any applications using the image ID of this guest with the newly built image ID.

Exploit

Fix

Code Injection

Weakness Enumeration

Related Identifiers

CVE-2025-61588
GHSA-JQQ4-C7WQ-36H7

Affected Products

Risc0-Aggregation
Risc0-Build
Risc0-Zkos-V1Compat
Risc0-Zkvm
Risc0-Zkvm-Platform