CVE-2026-40323
HIGHAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconDeploy malicious SP1 V6 prover
-
DeliveryGenerate shard proof with divergent trace shape witnesses
-
ExploitCraft recursive proof binding commitment to one geometry, evaluation to another
-
InstallSubmit recursive proof to victim verifier
-
C2Verifier accepts proof due to missing consistency constraint
-
ExecuteIntegrity violation: forged circuit structure or computation accepted as valid
-
ImpactCascading trust failure in dependent systems
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V15 - Secure Coding and Architecture Data authenticity verification
|
| Exploitation Conditions | Exploitation requires the target system to accept recursively-verified SP1 proofs generated by SP1 V6 recursive verifier circuit (versions 6.0.0 through 6.0.2). The vulnerability is in the prover-side recursion circuit, not the verifier runtime itself - a malicious actor must run their own SP1 V6 prover to craft the malformed recursive proof, then submit it to a victim verifier that processes SP1 recursive proofs. Does NOT require compromising the victim's infrastructure. Attack vector is network-based (AV:N) as proofs are submitted remotely to verifiers (e.g., blockchain nodes, verifiable computation services). No authentication required (PR:N) to submit proofs for verification. High attack complexity (AC:H) stems from needing deep understanding of STARK proof systems, constraint layout interdependencies, and ability to craft trace shape divergence that doesn't trigger incidental constraint failures from related tables. Not exploitable against SP1 V5 deployments or systems using only native (non-recursive) verification. Limits exploitation: interdependencies between trace tables make arbitrary statement forgery non-trivial; requires cryptographic expertise; vendor states full exploit not demonstrated despite bounty discovery. |
| Impact | Real-world risk is HIGH for SP1 zkVM deployments but narrowly scoped. CVSS 8.9 (AV:N/AC:H) accurately reflects the severity: network-reachable attack with high complexity due to requiring deep cryptographic protocol knowledge and constraint system manipulation. The 'high complexity' stems from interdependencies between trace tables - modifying one table incidentally constrains others, making full exploitation non-trivial (vendor states no full exploit proving arbitrary statements has been demonstrated). However, the CVSS vector's VI:H/SI:H (high integrity impact to both vulnerable and subsequent components) is well-justified: successful exploitation doesn't just forge data but can misrepresent circuit structure, breaking soundness guarantees fundamental to zero-knowledge proof systems. This has cascading trust implications in blockchain rollups, verifiable computation, or privacy systems relying on SP1 proofs. EPSS data not available. Not listed in CISA KEV. Publicly available exploit code exists (discovered via Code4rena bug bounty, though vendor emphasizes full exploit not demonstrated). The 'Denial Of Service' tag appears misclassified - this is primarily an integrity/soundness issue, not availability. Priority: IMMEDIATE patching for any production SP1 V6 deployment, as proof system soundness violations are categorically unacceptable regardless of current exploitability barriers. The vendor correctly states reliance on accidental constraint interactions is unsafe. Compare signals: high CVSS complexity suggests targeted exploitation, aligning with absence of KEV listing and lack of full exploit demo, but the fundamental nature of soundness bugs in cryptographic systems warrants treating this as critical. |
| Exploit ScenarioDerived | A malicious prover running SP1 V6.0.0-6.0.2 generates a shard proof with intentionally divergent trace shape metadata: one set of row counts is hashed into the modified commitment (commitment side), while different prefix sums derived from altered row/column counts drive the polynomial evaluator (evaluation side). The recursive proof verifier circuit, lacking consistency checks between these witnesses, accepts the proof. The resulting recursive proof binds to one circuit geometry while proving statements about a different trace layout, potentially forging validity of computations that never occurred or misrepresenting circuit selectors/permutations. While full arbitrary-statement exploits are undemonstrated due to inter-table constraint dependencies, targeted integrity violations are feasible. Discovered through SP1 bug bounty program. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Apr 18, 2026
Soundness violation in SP1 V6 recursive proof verifier enables malicious provers to construct recursive proofs from invalid shard proofs that native verifiers would reject. The vulnerability affects SP1 zkVM versions 6.0.0 through 6.0.2 (Rust crates sp1_sdk, sp1_recursion_circuit, sp1_prover) and allows forgery of zero-knowledge proofs by exploiting missing consistency checks between commitment-side and evaluation-side trace shape witnesses in the jagged PCS verifier circuit. This permits misrepresentation of circuit structure itself, not just data, undermining the fundamental soundness guarantees of the proof system. No public exploit exists at time of analysis, though the vulnerability was identified through SP1's bug bounty program on Code4rena. CVSS 8.9 reflects high integrity impact to both vulnerable and subsequent system components.
Earlier versions of this analysis (1)
Soundness vulnerability in SP1 zkVM V6 recursive shard verifier (versions 6.0.0-6.0.2) enables malicious provers to forge zero-knowledge proofs by supplying inconsistent trace geometry metadata during commitment and evaluation phases. Attackers with prover access can construct recursive proofs that pass verification despite violating circuit constraints, potentially allowing proof forgery of arbitrary statements. While full exploit demonstration remains theoretical due to incidental table-layout constraints, this represents a critical soundness violation in zero-knowledge proof systems. Discovered through Code4rena bug bounty. No active exploitation confirmed. Fixed in v6.1.0.
RemediationAI
Upgrade immediately to SP1 V6.1.0 or later, released by Succinct Labs at https://github.com/succinctlabs/sp1/releases/tag/v6.1.0. The patched version adds post-evaluation consistency constraints in the recursive jagged verifier: after jagged evaluation returns prefix sums from the evaluation layout, the circuit reconstructs expected prefix sums from commitment-side row counts (repeating each row count by its column count and accumulating), then asserts element-wise equality between reconstructed and returned prefix sums and verifies final accumulated area matches total area from evaluation parameters. This forces both witnesses to describe identical trace geometry, making any divergence a constraint failure. No workarounds exist - the fix requires circuit-level changes. If immediate upgrade is impossible, the only compensating control is to disable recursive proof generation in SP1 V6 deployments and revert to SP1 V5 (confirmed unaffected), though this sacrifices V6 performance improvements and recursive proof capabilities. Side effect: reverting to V5 may break applications depending on V6-specific features. Do not accept recursive proofs generated by V6.0.0-6.0.2 provers in production systems without re-verification using patched verifiers.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 3 packages in cargo
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
SP1 is a zero-knowledge virtual machine (zkVM) that generates recursive STARK proofs. The vulnerability lies in the V6 recursion circuit's implementation of jagged Polynomial Commitment Scheme (PCS) verification. In zkSNARK/STARK systems, PCS bindings ensure that committed polynomials match their evaluations. SP1's jagged PCS handles variable-height trace tables by binding trace shape metadata (row/column counts) into commitments and using those same dimensions during polynomial evaluation. The recursion circuit creates proofs-of-proofs by verifying shard proofs inside larger recursive proofs. The bug stems from CWE-345 (Insufficient Verification of Data Authenticity): the circuit uses separate witnesses for commitment binding (vector of row counts) and polynomial evaluation (prefix sums from row/column counts) without cross-validating them. The native verifier uses a unified object where both operations share the same underlying data, preventing the divergence. Because preprocessed traces encode circuit selectors, fixed columns, and permutation layouts, manipulating trace geometry can misrepresent the circuit's logic itself, not merely the witness data.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:H/SA:N
Primary rating from Vendor (https://github.com/succinctlabs/sp1) · only source for this CVE.
CVSS VectorVendor: https://github.com/succinctlabs/sp1
Lifecycle Timeline
4DescriptionCVE.org
Summary
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 verifier.
The consistency check between these two witnesses was missing in the recursion sub-circuit describing the jagged PCS verifier. A malicious prover can therefore supply one trace shape for commitment binding and a different shape for polynomial evaluation.
Potential Impact
The vulnerability applies to both main trace and preprocessed trace metadata. Because preprocessed traces encode circuit structure (selectors, fixed columns, permutation layout), the potential impact extends beyond data forgery to misrepresentation of the circuit itself.
While a demonstration of a full exploit proving arbitrary statements has not been created - since modifying one table's layout incidentally constrains changes to related tables - this barrier is not by design and should not be relied upon. This is considered a soundness violation that is unacceptable regardless of current exploitability.
Why the Native Verifier Is Not Affected
The native shard verifier uses a single jagged PCS verifier object where row counts and evaluation layout are derived from the same data, so the split-witness divergence cannot occur. The recursion circuit's shard-level checks (prefix-sum and total-area assertions) only constrain the evaluation-side parameters, not the commitment-side row counts, so they do not catch the gap.
Mitigation
The fix adds a post-evaluation consistency constraint in the recursive jagged verifier. After the jagged evaluation returns the prefix-sum values derived from the evaluation layout, the circuit reconstructs expected prefix sums from the commitment-side row counts (repeating each row count by its corresponding column count and accumulating). It then asserts element-wise equality between the reconstructed and returned prefix sums, and verifies that the final accumulated area matches the total area from the evaluation parameters.
This forces both witnesses to describe the same trace geometry. Any divergence is now a constraint failure.
Credit
This vulnerability was identified through the SP1 bug bounty program on Code4rena.
Executive ViewAI
SP1 zkVM versions 6.0.0-6.0.2 contain a critical soundness vulnerability that allows attackers to forge zero-knowledge proofs by bypassing proof verification checks, directly undermining the cryptographic integrity of any system relying on SP1 for proof validation. Organizations using SP1 for blockchain verification, trustless computation, or regulatory compliance face immediate risk of accepting fraudulent proofs as valid, with potential downstream impact to dependent systems and stakeholders.
Apply vendor patch. No interim mitigation available; the vulnerability is inherent to the proof verification logic. Organizations must immediately cease production use of vulnerable versions and isolate systems pending patching.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
GHSA-63x8-x938-vx33
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB