RISC Zero zkVM CVE-2025-61588
CRITICALAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessMalicious host runs vulnerable guest
-
DeliveryGuest calls sys_read for input
-
ExploitReturn crafted response writing arbitrary guest memory
-
ExecutionExecute arbitrary code in guest
-
ImpactForge valid proof breaking soundness
Vulnerability Assessment
| Weakness |
CWE
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the guest be built with an affected package version (risc0-zkvm-platform < 2.1.0, risc0-zkos-v1compat < 2.1.0, risc0-aggregation < 0.9, or risc0-zkvm 3.0.0-rc.1 through 3.0.1 / < 2.3.2) and that the guest call sys_read to request input - which is the standard and universal input mechanism, so effectively all guest programs on affected versions are exposed. The attacker must be the party controlling the host side that services the guest's sys_read request (a malicious or compromised prover/host); there is no additional configuration, feature flag, or deployment mode needed. The practical limiting factor is this trust boundary: the vulnerability is only meaningful where guest soundness against an untrusted host matters (e.g. verifiable/zero-knowledge proving), not against an attacker who merely interacts with a trusted prover's output. |
| Impact | Signals conflict sharply, so prioritization depends on context. The vendor CVSS 4.0 base score is 9.3 (Critical) with AV:N/AC:L/PR:N/UI:N and full High impact to confidentiality, integrity and availability of the vulnerable system, reflecting that a host can freely craft sys_read responses with no authentication or user interaction. Against that, EPSS is only 0.08% (23rd percentile), there is no CISA KEV listing, and no public exploit was identified in the provided data - so exploitation status is 'no public exploit identified at time of analysis.' The low EPSS despite the critical score is consistent with the unusual threat model rather than a contradiction: the 'attacker' here is the untrusted host/prover that runs the guest, and the real damage is destruction of the guest program's zero-knowledge soundness guarantee (a malicious prover can forge proofs of false computation), not mass exploitation of internet-facing services. This is therefore a genuine, catastrophic-severity issue for anyone relying on RISC Zero guest soundness (e.g. blockchain proof verification), but it is not a broad, wormable internet threat, which explains the low real-world exploitation probability. Note the CVSS AV:N/PR:N encodes the soundness threat model where the host inherently controls the input channel; defenders should read it that way rather than as a classic unauthenticated remote network RCE. |
| Exploit ScenarioDerived | A malicious or compromised host (prover) runs a guest program built with an affected risc0-zkvm-platform version. When the guest calls sys_read to request its input, the host returns a crafted response that writes to an arbitrary memory location in the guest, hijacking control flow to execute arbitrary code and produce a valid-looking proof of a computation that never honestly ran. No public exploit code was identified at the time of analysis, but the vendor advisory confirms the mechanism and that all guest programs on affected versions are vulnerable. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Oct 19, 2026
Arbitrary code execution inside RISC Zero zkVM guest programs is achievable when the host servicing a guest's sys_read request returns a crafted response, causing an attacker-controlled write to arbitrary guest memory. All guests built with risc0-zkvm-platform before 2.1.0, risc0-zkos-v1compat before 2.1.0, risc0-aggregation before 0.9, or risc0-zkvm 3.0.0-rc.1 through 3.0.1 and below 2.3.2 are exposed because sys_read is the normal input path; the CVSS vector marks PR:N, but the attacker must control the host/prover side servicing the guest. Vendor fixes exist, and no public exploit identified at time of analysis; EPSS is 0.08%, so priority depends heavily on whether guest soundness is relied upon against an untrusted host.
Earlier versions of this analysis (1)
RemediationAI
Vendor-released patch: upgrade risc0-zkvm and risc0-build to 2.3.2 or 3.0.3, risc0-zkvm-platform to 2.1.0 or later, risc0-zkos-v1compat to 2.1.0, and risc0-aggregation to 0.9, then rebuild every guest and update any application that pins the guest image ID. Verify the transitive dependency with cargo tree --depth 0 -p risc0-zkvm-platform --manifest-path path/to/methods/guest/Cargo.toml; the advisory notes no prover or circuit changes, Verifier Router users only need updated guest programs, and risc0-aggregation or RiscZeroSetVerifier users must update that component. If rebuilding is delayed, do not accept proofs from affected guest image IDs and treat those images as unsound; this containment can break existing verifier integrations and is not a substitute for rebuilding. See GHSA-jqq4-c7wq-36h7, PR 3351, and commit 3f00e1fa0159599c1601e788021f2169d1f0a4dc.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 4 packages in cargo
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
RISC Zero is a zk-STARK and RISC-V-based zkVM where guest code runs inside a proven execution environment and requests external input through sys_read, with the host/prover supplying that data. CWE-94 code injection applies because faulty pointer arithmetic in the sys_read handling let a malicious host response perform an out-of-bounds write to an arbitrary guest address, potentially redirecting execution and running arbitrary guest code, which breaks guest soundness. The affected Rust ecosystem components are risc0-zkvm-platform, risc0-zkos-v1compat, risc0-aggregation, and risc0-zkvm; the source commit 3f00e1fa0159599c1601e788021f2169d1f0a4dc and PR 3351 remove the vulnerable pointer arithmetic and replace it with a simplified v1compat kernel implementation using Rust slice functions, adding num_enum and paste dependencies and bumping risc0-zkvm-platform from 2.0.5 to 2.1.0. The CVSS vector includes PR:N, but practical exploitation is gated by control of the host side that services the guest's sys_read call.
Know when Rust gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
The host controls the sys_read input channel with no authentication or user interaction, yielding arbitrary code execution in the guest and full C/I/A loss, so AV:N/AC:L/PR:N/UI:N and High impacts.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
4DescriptionCVE.org
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.
Executive ViewAI
RISC Zero's zkVM, which underpins zero-knowledge guest program execution, carries a critical flaw (CVE-2025-61588) in which a malicious host can force an attacker-controlled write into arbitrary guest memory, breaking the isolation that zero-knowledge deployments are built to guarantee. Organizations that rely on guest soundness against an untrusted host or prover - including those operating aggregation services or zkVM-based verification - face integrity risk to proofs and to any downstream on-chain or contractual decisions that depend on them. With no observed exploitation and a low EPSS, this is a patch-hygiene priority rather than an active incident, but the trust-model implications justify leadership visibility.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Command injection via Windows CreateProcess argument parsing affects multiple language runtimes and tooling (Node.js, PH
In the standard library in Rust before 1.52.0, a double free can occur in the Vec::from_iter function if freeing the ele
In the standard library in Rust before 1.52.0, the Zip implementation can report an incorrect size due to an integer ove
Stored cross-site scripting and open redirect in Warpgate's SSO endpoints (versions prior to 0.25.5) allow an unauthenti
library/std/src/net/parser.rs in Rust before 1.53.0 does not properly consider extraneous zero characters at the beginni
Denial of service in the Vector observability pipeline's `logstash` source (versions 0.15.0 through 0.56.x) allows a rem
The Rust Programming Language Standard Library 1.34.x before 1.34.2 contains a stabilized method which, if overridden, c
Use-after-free in librsvg during rendering of crafted SVG documents with nested XInclude directives and duplicate entity
In the standard library in Rust before 1.52.0, the Zip implementation calls __iterator_get_unchecked() more than once fo
In the standard library in Rust before 1.50.0, read_to_end() does not validate the return value from Read in an unsafe c
Cargo prior to Rust 1.26.0 may download the wrong dependency if your package.toml file uses the `package` configuration
A parser differential in the Rust `zip` crate (zip2) through 9.0.4 lets a crafted archive present different filenames to
GHSA-jqq4-c7wq-36h7
NVD
CVE.org
EPSS
Exploit-DB