NewsCryptoRISC Zero Patches Critical Proof-Forgery Flaw, Urges Receipt Regeneration

RISC Zero Patches Critical Proof-Forgery Flaw, Urges Receipt Regeneration

Author: CryptoNewsNet·

Key Takeaways

  • •RISC Zero shipped fixes on Nov. 10 for a critical flaw that let an attacker holding one valid Groth16 receipt have an arbitrary claim accepted, and urged users to upgrade to zkVM version 3.1.0 and regenerate receipts.
  • •The defect originated from insufficient constraints in the recursion and Groth16 wrapper circuits, and every receipt format—composite, succinct, Groth16, and onchain—was affected by at least one issue, with no workaround available.
  • •The patch replaces the proving circuits and Groth16 verifying key, meaning old receipts will not verify under version 3.1.0 and new receipts fail under older versions, requiring developers to also update the r0vm runtime to 3.1.0.
  • •Onchain migration remains incomplete in places: the replacement verifier is deploying through routers except on Katana mainnet, set aggregation is deprecated with no set verifier for zkVM 3.1, and direct callers of RiscZeroSetVerifier 0.9.0 must stop accepting proofs against previously cached roots.
  • •No exploitation has been reported, but Anoma halted its RISC Zero verifiers on Nov. 11, temporarily making AnomaPay deposits inaccessible until full access was restored on Nov. 25, and Kaspa merged an SDK update on Nov. 23 while retaining an 'unsound' native STARK circuit for consensus compatibility.
RISC Zero Patches Critical Proof-Forgery Flaw, Urges Receipt Regeneration

RISC Zero Patches Critical Proof-Forgery Flaw, Urges Receipt Regeneration

RISC Zero has patched a critical vulnerability that could allow attackers to forge zero-knowledge proofs, shipping the fix in its Nov. 10 release. The company is urging users of its zero-knowledge computing software to upgrade to version 3.1.0 and regenerate the proofs their applications depend on. The stakes are unusually direct: receipts are the artifacts verifiers rely on to confirm a program ran as claimed, so any path to a forged receipt undermines the guarantee the system is built to provide.

How the Flaw Works

RISC Zero's zkVM allows developers to demonstrate that a program executed correctly without exposing its private inputs. These proofs are packaged as receipts. According to the release notes, the most severe flaw "lets an attacker who holds one valid Groth16 receipt have an arbitrary claim accepted." In practice, that could mean substituting the program identifier, output, or exit code accepted by a verifier.

The main zkVM advisory, dated Nov. 11, rates the flaw Critical. The Ethereum verifier advisory carries the same date, while the related Zirgen circuit-generation advisory is dated Nov. 10. RISC Zero characterizes the remaining issues fixed in the release as ranging from high to minor severity.

Scope of the Exposure

The underlying defect stemmed from insufficient constraints in the recursion and Groth16 wrapper circuits. Notably, the Ethereum advisory states that the verifier contract itself was correct for the circuit it was designed to check. That distinction shows where the risk lived: a verifier contract can be logically sound yet still accept false claims if the circuits feeding it are under-constrained.

The exposure extended beyond onchain verification. Per the release notes, every receipt format—composite, succinct, Groth16, and onchain—was affected by at least one issue.

In addition to claim substitution, the release addresses a defective hashing step, a flaw that could combine two program executions to bypass checks such as signature validation, and missing constraints on data supplied by the proving host. A separate randomness defect weakened the privacy guarantee of succinct and Groth16 receipts, though it did not affect soundness—the protection against accepting false claims.

Upgrade and Regenerate

The advisories identify the affected versions as risc0-zkvm below 3.1.0, risc0-circuit-recursion below 4.1.0, risc0-groth16 below 3.0.6, and Zirgen below 3.1.0. RISC Zero's onchain Groth16 verifiers before 3.1.0 are also affected.

The patch replaces the proving circuits and the Groth16 verifying key. As a result, old receipts will not verify under version 3.1.0, and new receipts will not verify under older versions. Developers must also update the r0vm proving runtime to 3.1.0, since an older runtime continues producing proofs with the old circuits. RISC Zero says no workaround exists.

For onchain users, the replacement verifier is being deployed through RISC Zero's routers on supported networks—with the exception of Katana mainnet, where the router lacks a working Groth16 verifier. Earlier verifiers have been emergency-stopped, but those stops apply to calls routed through the routers or emergency-stop contracts, not to every direct call.

Where the replacement is deployed, applications that use the router for Groth16 verification require no contract changes, while direct Groth16 callers must switch to the new verifier. Set aggregation has been deprecated, with no set verifier available for zkVM 3.1. Applications calling RiscZeroSetVerifier 0.9.0 directly must stop accepting proofs against previously cached roots, since those roots are not re-verified and a forged root could remain trusted. How deployments on Katana mainnet and applications that relied on set aggregation or cached roots complete their migration is the main follow-through to watch as the ecosystem moves to 3.1.0.

Downstream Impact

No exploitation has been reported in the release notes or the three linked advisories. The defensive response nonetheless disrupted a downstream application: Anoma said on Nov. 11 that its RISC Zero verifiers had been halted and that AnomaPay deposits were secure but temporarily inaccessible. On Nov. 25, it confirmed that full account access had been restored.

Kaspa merged an SDK change on Nov. 23 that updates its Groth16 SDK to the patched release while retaining the older native STARK circuit for consensus compatibility. The change describes the retained circuit as "unsound" and notes that native STARK is deprecated for new deployments. Kaspa's generic BN254 Groth16 verifier, which is independent of RISC Zero, is unaffected, according to the change. Taken together, the two responses show how dependency risk propagates in the zk ecosystem: a patch to one proving library translated into halted verifiers at one downstream project and an SDK-level update at another within two weeks.