Skip to content
OpenAdvisories
High · 7.2 CVE-2026-40880 EUVD-2026-24266GHSA-xvj8-ph7x-65gf

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

Published Apr 21, 2026 · Updated Apr 21, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
ZcashFoundation zebrad < 4.3.1 —
ZcashFoundation zebra-consensus < 5.0.2 —

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io zebra-consensus < 5.0.2 5.0.2 GHSA-xvj8-ph7x-65gf
crates.io zebrad < 4.3.1 4.3.1 GHSA-xvj8-ph7x-65gf

References