Skip to main content

CVE-2026-40323

HIGH
Insufficient Verification of Data Authenticity (CWE-345)
2026-04-14 https://github.com/succinctlabs/sp1 GHSA-63x8-x938-vx33
8.9
CVSS 4.0 · Vendor: https://github.com/succinctlabs/sp1
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Deploy malicious SP1 V6 prover
  2. Delivery
    Generate shard proof with divergent trace shape witnesses
  3. Exploit
    Craft recursive proof binding commitment to one geometry, evaluation to another
  4. Install
    Submit recursive proof to victim verifier
  5. C2
    Verifier accepts proof due to missing consistency constraint
  6. Execute
    Integrity violation: forged circuit structure or computation accepted as valid
  7. Impact
    Cascading 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – 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)
v1 Apr 14, 2026 - 00:37

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

cargo sp1_prover fix: 6.1.0
cargo sp1_recursion_circuit fix: 6.1.0
cargo sp1_sdk fix: 6.1.0

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

Vendor (https://github.com/succinctlabs/sp1) PRIMARY 8.9 HIGH
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

Attack Vector
Network
Attack Complexity
High
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
High
Subsequent system: Availability
None

Lifecycle Timeline

4
Analysis Updated
Apr 18, 2026 - 00:29 vuln.today
v2 - CVSS changed
CVSS changed
Apr 18, 2026 - 00:22 NVD
8.9 (HIGH)
Patch released
Apr 14, 2026 - 02:30 nvd
Patch available
CVE Published
Apr 14, 2026 - 00:05 nvd
HIGH 8.9

DescriptionCVE.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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.0%
Top 91% exploitable
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
NVD CVE.org EPSS Vulnrichment GHSA GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Partial

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Affected Products (CPE)CVE.org

pkg:rust/sp1_sdk
pkg:rust/sp1_recursion_circuit
pkg:rust/sp1_prover

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy