Arbitrary Code Injection Affecting risc0-zkvm package, versions <2.3.2>=3.0.0-rc.2 <3.0.3


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.09% (27th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUST-RISC0ZKVM-13428513
  • published8 Oct 2025
  • disclosed1 Oct 2025
  • creditUnknown

Introduced: 1 Oct 2025

NewCVE-2025-61588  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade risc0-zkvm to version 2.3.2, 3.0.3 or higher.

Overview

risc0-zkvm is a RISC-V virtual machine that produces zero-knowledge proofs of code it executes.

Affected versions of this package are vulnerable to Arbitrary Code Injection via the sys_read() function. An attacker can execute arbitrary code within the guest environment by crafting a malicious response that writes to arbitrary memory locations.

CVSS Base Scores

version 4.0
version 3.1