Skip to content

CVE-2026-40880 Zebra: Cached Mempool Verification Bypasses Consensus Rules for Ahead-of-Tip Blocks

HighCVSS 7.2 EPSS 0.27%
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 zebrad version 4.3.1 and zebra-consensus version 5.0.2, a logic error in Zebra's transaction verification cache could allow a malicious miner to induce a consensus split. By carefully submitting a transaction that is valid for height H+1 but invalid for H+2 and then mining that transaction in a block at height H+2, a miner could cause vulnerable Zebra nodes to accept an invalid block, leading to a consensus split from the rest of the Zcash network. This vulnerability is fixed in zebrad version 4.3.1 and zebra-consensus version 5.0.2.

Upgrade path

6 packages: 4 fixed.

PackageAffectedFixed inStatus
crates.io zebra-consensus(crates.io) < 5.0.2 5.0.2 Fixed
crates.io zebrad(crates.io) < 4.3.1 4.3.1 Fixed
zfnd zebra-consensus < 5.0.2 5.0.2 Fixed
zfnd zebrad < 4.3.1 4.3.1 Fixed
ZcashFoundation zebra-consensus = < 5.0.2 No fix listed Versions listed
ZcashFoundation zebrad = < 4.3.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
crates.io zebra-consensus(crates.io) < 5.0.2 5.0.2
crates.io zebrad(crates.io) < 4.3.1 4.3.1
ZcashFoundation zebrad = < 4.3.1 No fix listed
ZcashFoundation zebra-consensus = < 5.0.2 No fix listed
zfnd zebra-consensus < 5.0.2 5.0.2
zfnd zebrad < 4.3.1 4.3.1

References