Skip to main content
← All vulnerabilities
CVE-2026-52733GHSA-2GF8-Q9RR-JQ3H

ZEBRA: Persistent on-disk corruption of Sapling/Orchard subtree roots after chain fork via pop_tip

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.5.0, 7.0.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

ZEBRA is a Zcash node written entirely in Rust. Prior to 4.5.0, a natural or attacker-influenced chain fork can leave stale Sapling and Orchard note-commitment subtree roots in Zebra state. In zebra-state/src/service/non_finalized_state/chain.rs, Chain::pop_tip removed a reverted tip block but did not remove subtree entries whose end_height belonged to that block, unlike the cleanup performed by pop_root. When the winning fork later finalized, the abandoned branch's stale subtree data could be written to RocksDB and survive node restarts. The corrupted history can cause z_getsubtreesbyindex consumers such as lightwalletd and light wallets to receive incorrect subtree roots, producing wallet synchronization failures or incorrect wallet state and requiring a full state rebuild for recovery. This issue is fixed in version 4.5.0.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • ZcashFoundation zebra

    fixed in 4.5.0

  • ZcashFoundation zebra-state

    fixed in 7.0.0

  • zebra-statecrates.io

    fixed in 7.0.0

  • zebradcrates.io

    fixed in 4.5.0

References 3

GitHub · ZcashFoundation/zebra