SecurityContext

CVE-2025-61588: RISC Zero risc0-zkvm-platform - Command Injection

  • Cve: CVE-2025-61588
  • Name: RISC Zero risc0-zkvm-platform - Command Injection
  • 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.
  • Impact: Attackers can execute arbitrary code within the guest, critically compromising guest program soundness.
  • Remediation: Update to risc0-zkvm-platform 2.1.0, risc0-zkos-v1compat 2.1.0, risc0-aggregation 0.9, or risc0-zkvm 2.3.2 / 3.0.3 or later.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution
  • Requirements: Attacker must control crafted response to sys_read calls from guest
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.3
  • Cvss vector: 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Epss score: 0.00463
  • Epss percentile: 0.40915
  • Assignee: [email protected]
  • Published at: 2025-10-02T00:15:49Z
  • Age in days: 418
  • Modified at: 2026-10-19T17:10:00Z
  • References total: 3
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-61588
  • Nvd status: deferred
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
  • Not known: requirement type, hackerone

Cwe

IdName
CWE-94Improper Control of Generation of Code

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://github.com/risc0/risc0/commit/3f00e1fa0159599c1601e788021f2169d1f0a4dc
https://github.com/risc0/risc0/pull/3351
https://github.com/risc0/risc0/security/advisories/GHSA-jqq4-c7wq-36h7

Projects

RepositoryLink kindsIndexedUrl
risc0/risc0commit, fix, package, pull, security_advisoryyes/v1/repositories/risc0/risc0

Index

  • Repositories: 2
  • Repositories high signal: 2
  • Packages: 1

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts