CVE-2025-52484

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-52484
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-52484.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-52484
Aliases
Published
2025-06-20T18:15:28Z
Modified
2025-06-27T11:02:32.361736Z
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/risc0/risc0

Affected ranges

Type
GIT
Repo
https://github.com/risc0/risc0
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Fixed
Type
GIT
Repo
https://github.com/risc0/zirgen
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v0.*

v0.10.0
v0.11.0
v0.11.1
v0.12.0
v0.12.0-rc.2
v0.13.0
v0.14.0
v0.14.0-rc.1
v0.15.0
v0.16.0
v0.16.1
v0.17.0
v0.18.0
v0.19.0
v0.19.0-alpha.1
v0.19.0-rc.1
v0.19.0-rc.2
v0.19.0-rc.3
v0.19.0-rc.4
v0.7.0
v0.7.1
v0.7.2
v0.8.0
v0.9.0

v1.*

v1.0.0
v1.0.0-rc.1
v1.0.0-rc.2
v1.0.0-rc.3
v1.0.0-rc.4
v1.0.0-rc.5
v1.0.0-rc.6
v1.0.0-rc.7

v2.*

v2.0.0
v2.0.0-rc.1
v2.0.0-rc.2
v2.0.0-rc.3
v2.0.1
v2.0.2