High, CVSS 8.9crates.ioPublished
SP1 V6 Recursion Circuit Row-Count Binding Gap
CVE-2026-40323 · GHSA-63x8-x938-vx33
- Affected
- crates.io sp1_prover >= 6.0.0, <= 6.0.2
- Fixed in
- 6.1.0· Vendor fix available
- Issue
- A soundness vulnerability in the SP1 V6 recursive shard verifier allows a malicious prover to construct a recursive proof from a shard proof that the native verifier would reject. - Affected versions: = 6.0.0, <= 6.0.2 - Not affected: SP1 V5 (all versions) - Severity: High Details Background The recursive shard verifier circuit verifies shard proofs inside a recursive proof. Each shard proof includes a jagged PCS opening, which binds trace-shape metadata into a modified commitment and uses that same shape to evaluate the committed polynomials. These two operations must agree on the committed table heights. The Bug In the V6 recursion circuit's jagged verifier, the two checks above are served by separate witnesses: a vector of row counts hashed into the modified commitment (commitment side), and a separate witness of prefix sums derived from row and column counts that drives the jagged polynomial evaluator (evaluation side). The prefix sums are observed within the shard…
Recommended action: Upgrade to 6.1.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.