CVE-2026-40880

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

Published Apr 21, 2026 CVSS 4.0 · 7.2 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-xvj8-ph7x-65gf Zebra: Cached Mempool Verification Bypasses Consensus Rules for Ahead-of-Tip Blocks
History
Type Values Removed Values Added
First Time appeared Zfnd
Zfnd zebra-consensus
Zfnd zebrad
CPEs cpe:2.3:a:zfnd:zebra-consensus:*:*:*:*:*:rust:*:*
cpe:2.3:a:zfnd:zebrad:*:*:*:*:*:rust:*:*
Vendors & Products Zfnd
Zfnd zebra-consensus
Zfnd zebrad
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H'}

Type Values Removed Values Added
First Time appeared Zcashfoundation
Zcashfoundation zebra-consensus
Zcashfoundation zebrad
Vendors & Products Zcashfoundation
Zcashfoundation zebra-consensus
Zcashfoundation zebrad
Type Values Removed Values Added
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.
Title Zebra: Cached Mempool Verification Bypasses Consensus Rules for Ahead-of-Tip Blocks
Weaknesses CWE-1025
References
Metrics cvssV4_0

{'score': 7.2, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:H/SA:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Apr 21, 2026, 7:52 PM
Reserved
Apr 15, 2026, 3:57 PM
Status
Analyzed
Published
Apr 21, 2026, 8:17 PM
Modified
Oct 26, 2026, 9:10 PM