Insufficient Verification of Data Authenticity Affecting risc0-circuit-rv32im package, versions >=2.0.0-rc.1 <2.0.4


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.03% (7th 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 IDSNYK-RUST-RISC0CIRCUITRV32IM-10848123
  • published21 Jul 2025
  • disclosed20 Jun 2025
  • creditUnknown

Introduced: 20 Jun 2025

CVE-2025-52484  (opens in a new tab)
CWE-345  (opens in a new tab)

How to fix?

Upgrade risc0-circuit-rv32im to version 2.0.4 or higher.

Overview

risc0-circuit-rv32im is a RISC Zero is a zero-knowledge verifiable general computing platform based on zk-STARKs and the RISC-V microarchitecture.

Affected versions of this package are vulnerable to Insufficient Verification of Data Authenticity via a missing constraint in the rv32im circuit. An attacker can manipulate the RISC-V virtual machine to treat the value of the rs1 register as the same as the rs2 register by submitting malicious proofs.

CVSS Base Scores

version 4.0
version 3.1