CVE-2025-61588

Source
https://cve.org/CVERecord?id=CVE-2025-61588
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-61588.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-61588
Aliases
Published
2025-10-01T23:30:26.257Z
Modified
2026-04-10T05:32:38.284619Z
Severity
  • 9.3 (Critical) CVSS_V4 - 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 Calculator
Summary
risc0 vulnerable to arbitrary code execution in guest via memory safety failure in `sys_read`
Details

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 sysread, 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 sysread 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.

Database specific
{
    "cwe_ids": [
        "CWE-94"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/61xxx/CVE-2025-61588.json",
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/risc0/risc0

Affected ranges

Type
GIT
Repo
https://github.com/risc0/risc0
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v0.*
v0.10.0
v0.11.0
v0.11.1
v0.12.0
v0.12.0-rc.2
v0.13.0
v0.14.0
v0.14.0-rc.1
v0.15.0
v0.16.0
v0.16.1
v0.17.0
v0.18.0
v0.19.0
v0.19.0-alpha.1
v0.19.0-rc.1
v0.19.0-rc.2
v0.19.0-rc.3
v0.19.0-rc.4
v0.7.0
v0.7.1
v0.7.2
v0.8.0
v0.9.0
v1.*
v1.0.0
v1.0.0-rc.1
v1.0.0-rc.2
v1.0.0-rc.3
v1.0.0-rc.4
v1.0.0-rc.5
v1.0.0-rc.6
v1.0.0-rc.7
v2.*
v2.0.0
v2.0.0-rc.1
v2.0.0-rc.2
v2.0.0-rc.3
v2.0.1
v2.0.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-61588.json"