cve.bz

CVE-2025-61588 risc0 risc0: Code Injection

9.3 criticalEPSS 0.5%Fix available

Critical (9.3) in risc0 risc0. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in risc0-zkvm-platform 2.1.0.

On this page
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.

Severity

CVSS 4.0

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
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 41st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: total, assessed 2025-10-02. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-94 Improper Control of Generation of Code (Code Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • risc0-zkvm-platform (crates.io): fixed in 2.1.0
  • risc0-zkos-v1compat (crates.io): fixed in 2.1.0
  • risc0-aggregation (crates.io): fixed in 0.9
  • risc0-zkvm (crates.io): fixed in 2.3.2, 3.0.3

Ask an AI about this CVE

Show the promptExplain CVE-2025-61588 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-61588?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-61588?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-61588 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
risc0< 2.1.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-jqq4-c7wq-36h7crates.iorisc0-zkvm-platform<2.1.02.1.0
GHSA-jqq4-c7wq-36h7crates.iorisc0-zkos-v1compat<2.1.02.1.0
GHSA-jqq4-c7wq-36h7crates.iorisc0-aggregation<0.90.9
GHSA-jqq4-c7wq-36h7crates.iorisc0-zkvm<2.3.22.3.2
GHSA-jqq4-c7wq-36h7crates.iorisc0-zkvm>=3.0.0 <3.0.33.0.3

Attack patterns (CAPEC)

  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-77 Manipulating User-Controlled Variables Likelihood: High · Severity: Very High
  • CAPEC-242 Code Injection Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON