CVE-2026-52733 ZEBRA: Persistent on-disk corruption of Sapling/Orchard subtree roots after chain fork via pop_tip
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
Description
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.
Upgrade path
4 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io zebra-state(crates.io) | < 7.0.0; <= 6.0.0 | 7.0.0 | Fixed |
| crates.io zebrad(crates.io) | < 4.5.0; <= 4.4.1 | 4.5.0 | Fixed |
| ZcashFoundation zebra | = < 4.5.0 | No fix listed | Versions listed |
| ZcashFoundation zebra-state | = < 7.0.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| ZcashFoundation zebra | = < 4.5.0 | No fix listed |
| ZcashFoundation zebra-state | = < 7.0.0 | No fix listed |
| crates.io zebra-state(crates.io) | < 7.0.0 | 7.0.0 |
| crates.io zebrad(crates.io) | < 4.5.0 | 4.5.0 |
| crates.io zebra-state(crates.io) | <= 6.0.0 | No fix listed |
| crates.io zebrad(crates.io) | <= 4.4.1 | No fix listed |
References
- https://github.com/ZcashFoundation/zebra/security/advisories/GHSA-2gf8-q9rr-jq3h vendor-advisory
- https://github.com/ZcashFoundation/zebra/commit/1440b43ca7df59aca948090d45117557b217a6cd
- https://github.com/ZcashFoundation/zebra/releases/tag/v4.5.0
- github.com product
- github.com
- ENISA EUVD EUVD-2026-61168 third-party-advisory