CVE-2026-40880

GHSA-xvj8-ph7x-65gf · published 18 Apr 2026 · updated 17 Nov 2026

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

7.2HighCVSS 7.2EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in zebra-consensus 5.0.2 and zebrad 4.3.1.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
ZcashFoundation<5.0.2, <4.3.1
cargo: zebra-consensus<5.0.25.0.2
cargo: zebrad<4.3.14.3.1

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-40880 severity on Zeptric[![CVE-2026-40880](https://zeptric.io/badge/cve/CVE-2026-40880.svg)](https://zeptric.io/cve/CVE-2026-40880)