{"id":"CVE-2026-40880","published":"2026-04-21T19:18:22Z","modified":"2026-04-21T19:52:58Z","title":"Zebra: Cached Mempool Verification Bypasses Consensus Rules for Ahead-of-Tip Blocks","vendor":"ZcashFoundation","product":"zebrad","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.2,"severity":"HIGH","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00461,"percentile":0.31946,"provenance":"source"},"cwes":[{"id":"CWE-1025","name":"Comparison Using Wrong Factors"}],"references":[{"url":"https://github.com/ZcashFoundation/zebra/security/advisories/GHSA-xvj8-ph7x-65gf","tags":["x_refsource_CONFIRM"]}],"priority":{"score":11.4,"factors":[{"name":"EPSS percentile","points":6.39},{"name":"CVSS severity","points":5.04}]},"vendorSlug":"zcashfoundation","affectedVersions":[{"vendor":"ZcashFoundation","product":"zebrad","versions":["< 4.3.1"]},{"vendor":"ZcashFoundation","product":"zebra-consensus","versions":["< 5.0.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-21T19:52:38.860835Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"zebra-consensus","vulnerableRanges":["<5.0.2"],"patched":["5.0.2"],"from":["GHSA-xvj8-ph7x-65gf"],"provenance":"source"},{"ecosystem":"crates.io","package":"zebrad","vulnerableRanges":["<4.3.1"],"patched":["4.3.1"],"from":["GHSA-xvj8-ph7x-65gf"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-24266","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-34377","published":"2026-03-31","fixed":"5.0.1","kev":false,"link":{"from":"CVE-2026-34377","to":"CVE-2026-40880","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"crates.io:zebra-consensus","fromFixed":"5.0.1","toFixed":"5.0.2","daysApart":21},{"kind":"similar","provenance":"machine","score":0.85,"basis":"same package + description similarity"}]}},{"cve":"CVE-2026-40880","published":"2026-04-21","fixed":"5.0.2","kev":false},{"cve":"CVE-2026-52737","published":"2026-08-18","fixed":"7.0.0","kev":false}],"package":"crates.io:zebra-consensus"}}