Skip to main content

RISC Zero zkVM CVE-2025-61588

CRITICAL
Code Injection (CWE-94)
2025-10-02 security-advisories@github.com GHSA-jqq4-c7wq-36h7
9.3
CVSS 4.0 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Malicious host runs vulnerable guest
  2. Delivery
    Guest calls sys_read for input
  3. Exploit
    Return crafted response writing arbitrary guest memory
  4. Execution
    Execute arbitrary code in guest
  5. Impact
    Forge 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – 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)
v1 Mar 13, 2026 - 19:12

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

cargo risc0-aggregation fix: 0.9
cargo risc0-zkos-v1compat fix: 2.1.0
cargo risc0-zkvm fix: 2.3.2, 3.0.3
cargo risc0-zkvm-platform fix: 2.1.0

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

Vendor (github) PRIMARY 9.3 CRITICAL
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
vuln.today AI 9.8 CRITICAL

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

4
CVSS changed
Oct 19, 2026 - 17:23 NVD
9.3 (CRITICAL)
Patch released
Mar 31, 2026 - 21:13 nvd
Patch available
CVE Published
Oct 02, 2025 - 00:15 cve.org
CRITICAL 9.3
CVE Published
Oct 02, 2025 - 00:15 nvd
N/A

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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.1%
Top 77% exploitable
Prevalence
Low
niche zero-knowledge proving framework for specialized blockchain/ZK developers
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

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.

More in Rust

View all
CVE-2024-3566 CRITICAL POC
9.8 Apr 10

Command injection via Windows CreateProcess argument parsing affects multiple language runtimes and tooling (Node.js, PH

CVE-2021-31162 CRITICAL POC
9.8 Apr 14

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

CVE-2021-28879 CRITICAL POC
9.8 Apr 11

In the standard library in Rust before 1.52.0, the Zip implementation can report an incorrect size due to an integer ove

CVE-2026-58491 CRITICAL POC
9.3 Sep 21

Stored cross-site scripting and open redirect in Warpgate's SSO endpoints (versions prior to 0.25.5) allow an unauthenti

CVE-2021-29922 CRITICAL POC
9.1 Aug 07

library/std/src/net/parser.rs in Rust before 1.53.0 does not properly consider extraneous zero characters at the beginni

CVE-2026-77620 HIGH POC
8.7 Sep 22

Denial of service in the Vector observability pipeline's `logstash` source (versions 0.15.0 through 0.56.x) allows a rem

CVE-2019-12083 HIGH POC
8.1 May 13

The Rust Programming Language Standard Library 1.34.x before 1.34.2 contains a stabilized method which, if overridden, c

CVE-2026-96889 HIGH POC
7.8 Sep 23

Use-after-free in librsvg during rendering of crafted SVG documents with nested XInclude directives and duplicate entity

CVE-2021-28878 HIGH POC
7.5 Apr 11

In the standard library in Rust before 1.52.0, the Zip implementation calls __iterator_get_unchecked() more than once fo

CVE-2021-28875 HIGH POC
7.5 Apr 11

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

CVE-2019-16760 HIGH POC
7.5 Sep 30

Cargo prior to Rust 1.26.0 may download the wrong dependency if your package.toml file uses the `package` configuration

CVE-2026-115905 CRITICAL
10.0 Oct 26

A parser differential in the Rust `zip` crate (zip2) through 9.0.4 lets a crafted archive present different filenames to

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy