Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-61588

CRITICAL 9.3EPSS 55%

risc0 vulnerable to arbitrary code execution in guest via memory safety failure in `sys_read`

Also known as GHSA-jqq4-c7wq-36h7

Mitigation

  • Upgrade risc0-zkvm-platform to 2.1.0 or later.
  • Upgrade risc0-zkos-v1compat to 2.1.0 or later.
  • Upgrade risc0-aggregation to 0.9 or later.
  • Upgrade risc0-zkvm to one of 2.3.2, 3.0.3 (or later in the same release line).

Who should check

  • Projects that depend on crates.io package risc0-zkvm-platform (< 2.1.0)
  • Projects that depend on crates.io package risc0-zkos-v1compat (< 2.1.0)
  • Projects that depend on crates.io package risc0-aggregation (< 0.9)
  • Projects that depend on crates.io package risc0-zkvm (< 2.3.2)
  • Anyone running risc0 < 2.1.0

Vulnerability facts

Affected
risc0-zkvm-platform < 2.1.0; risc0-zkos-v1compat < 2.1.0; risc0-aggregation < 0.9; risc0-zkvm < 2.3.2
Fixed in
2.1.0, 0.9, 2.3.2, 3.0.3
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
9.3 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Attack requirements: None
  • Privileges required: None
  • User interaction: None
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
  • Confidentiality impact on other systems: None
  • Integrity impact on other systems: None
  • Availability impact on other systems: None
EPSS
0.84% chance of exploitation in 30 days (percentile 55, 2026-11-26)
CWE
CWE-94
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
crates.io risc0-zkvm-platform< 2.1.02.1.0osv
crates.io risc0-zkos-v1compat< 2.1.02.1.0osv
crates.io risc0-aggregation< 0.90.9osv
crates.io risc0-zkvm< 2.3.22.3.2, 3.0.3osv
risc0< 2.1.0—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-61588. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-61588.md
Affected: risc0-zkvm-platform < 2.1.0; risc0-zkos-v1compat < 2.1.0; risc0-aggregation < 0.9; risc0-zkvm < 2.3.2
Fixed in: 2.1.0, 0.9, 2.3.2, 3.0.3

Steps:
1. Search this machine and project for risc0-zkvm-platform (crates.io), risc0-zkos-v1compat (crates.io), risc0-aggregation (crates.io), risc0-zkvm (crates.io), risc0: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-61588 being exploited?

There is no confirmed exploitation: CVE-2025-61588 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.84% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-61588?

Critical: CVSS 9.3 (v4.0, scored by CNA). Remote, no login needed.

Which versions are affected by CVE-2025-61588?

risc0-zkvm-platform < 2.1.0; risc0-zkos-v1compat < 2.1.0; risc0-aggregation < 0.9; risc0-zkvm < 2.3.2.

Is there a fix for CVE-2025-61588?

Yes. Fixed in 2.1.0, 0.9, 2.3.2, 3.0.3. Upgrade risc0-zkvm-platform to 2.1.0 or later. Upgrade risc0-zkos-v1compat to 2.1.0 or later. Upgrade risc0-aggregation to 0.9 or later. Upgrade risc0-zkvm to one of 2.3.2, 3.0.3 (or later in the same release line).

How do I check if I'm affected by CVE-2025-61588?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors