CVE-2025-61588
Rust vulnerability analysis and mitigation

Overview

CVE-2025-61588 affects RISC Zero, a zero-knowledge verifiable general computing platform based on zk-STARKs and RISC-V microarchitecture. The vulnerability was discovered in multiple components including risc0-zkvm-platform (versions ≤2.0.2), risc0-aggregation (versions <0.9), risc0-zkos-v1compat (versions <2.1.0), and risc0-zkvm (versions between 3.0.0-rc.1 and 3.0.1). The issue was disclosed on October 1, 2025, and has been assigned a CVSS v4.0 base score of 9.3 (CRITICAL) (GitHub Advisory).

Technical details

The vulnerability occurs when the zkVM guest calls sys_read, allowing the host to use a crafted response to write to an arbitrary memory location in the guest. This memory safety failure stems from vulnerable pointer arithmetic in the implementation. The issue has been classified as CWE-94 (Improper Control of Generation of Code) and received a CVSS v4.0 vector string of 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 (NVD).

Impact

The vulnerability critically compromises the soundness guarantees of the guest program by enabling arbitrary code execution within the guest. As sys_read is the primary mechanism for input requests by the guest, all guest programs built with the affected versions are vulnerable (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been fixed in risc0-zkvm-platform 2.1.0, risc0-zkos-v1compat 2.1.0, risc0-aggregation 0.9, and risc0-zkvm versions 2.3.2 and 3.0.3. The fix involves removing vulnerable pointer arithmetic and implementing a simplified version in the v1compat kernel using Rust's slice functions to guarantee memory safety. Developers should update their zkVM applications to use risc0-zkvm versions ^2.3.2 or ^3.0.3 and ensure risc0-zkvm-platform is at version 2.1.0 or later (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Rust vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-61588CRITICAL9.3
  • RustRust
  • risc0-aggregation
NoYesOct 02, 2025
CVE-2025-59825MEDIUM6.1
  • RustRust
  • uv-debuginfo
NoYesSep 23, 2025
CVE-2025-11060MEDIUM5.7
  • RustRust
  • surrealdb
NoYesSep 26, 2025
GHSA-qr9h-x63w-vqfmMEDIUM4.1
  • RustRust
  • openmls
NoYesSep 26, 2025
GHSA-mm7x-qfjj-5g2cLOW1.7
  • RustRust
  • ammonia
NoYesSep 22, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management