CVE-2025-52484

RISC Zero is a general computing platform based on zk-STARKs and the RISC-V microarchitecture. Due to a missing constraint in the rv32im circuit, any 3-register RISC-V instruction (including remu and divu) in risc0-zkvm 2.0.0, 2.0.1, and 2.0.2 are vulnerable to an attack by a malicious prover. The main idea for the attack is to confuse the RISC-V virtual machine into treating the value of the rs1 register as the same as the rs2 register due to a lack of constraints in the rv32im circuit. Rust applications using the risc0-zkvm crate at versions 2.0.0, 2.0.1, and 2.0.2 should upgrade to version 2.1.0. Smart contract applications using the official RISC Zero Verifier Router do not need to take any action: zkVM version 2.1 is active on all official routers, and version 2.0 has been disabled. Smart contract applications not using the verifier router should update their contracts to send verification calls to the 2.1 version of the verifier.
CVSS

No CVSS.

Configurations

No configuration.

History

23 Jun 2025, 20:16

Type Values Removed Values Added
Summary
  • (es) RISC Zero es una plataforma informática general basada en zk-STARKs y la microarquitectura RISC-V. Debido a la ausencia de una restricción en el circuito rv32im, cualquier instrucción RISC-V de 3 registros (incluyendo remu y divu) en risc0-zkvm 2.0.0, 2.0.1 y 2.0.2 es vulnerable a un ataque de un probador malicioso. El objetivo principal del ataque es confundir a la máquina virtual RISC-V para que trate el valor del registro rs1 como el del registro rs2 debido a la ausencia de restricciones en el circuito rv32im. Las aplicaciones Rust que utilizan el crate risc0-zkvm en las versiones 2.0.0, 2.0.1 y 2.0.2 deben actualizarse a la versión 2.1.0. Las aplicaciones de contratos inteligentes que utilizan el enrutador verificador RISC Zero no necesitan realizar ninguna acción: la versión 2.1 de zkVM está activa en todos los enrutadores oficiales y la versión 2.0 se ha deshabilitado. Las aplicaciones de contratos inteligentes que no utilizan el enrutador verificador deben actualizar sus contratos para enviar llamadas de verificación a la versión 2.1 del verificador.

20 Jun 2025, 18:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-06-20 18:15

Updated : 2025-06-23 20:16


NVD link : CVE-2025-52484

Mitre link : CVE-2025-52484

CVE.ORG link : CVE-2025-52484


JSON object : View

Products Affected

No product.

CWE
CWE-345

Insufficient Verification of Data Authenticity