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.
Published: 2026-04-21
Score: 7.2 High
EPSS: < 1% Very Low
KEV: No
Impact: Consensus split and potential invalid block acceptance
Action: Patch immediately
AI Analysis

Impact

The vulnerability arises from a logic error in Zebra’s transaction verification cache. A malicious miner can craft a transaction that passes verification at a given height but fails once the block is confirmed. If such a transaction is included in a block that reaches the accepted height, Zebra nodes may accept an invalid block. This leads to a consensus split, allowing the faulty block to propagate in a subset of nodes while the rest of the network follows the correct chain. The weakness corresponds to CWE-1025, representing a logic or algorithmic flaw.

Affected Systems

Zebra nodes built from the ZcashFoundation’s zebrad code base before version 4.3.1 and the zebra-consensus library before version 5.0.2 are vulnerable. These include ZcashFoundation:zebra-consensus and ZcashFoundation:zebrad products. Nodes running newer releases are not affected.

Risk and Exploitability

The CVSS score of 7.2 indicates medium to high severity. No EPSS score is populated, so current exploit probability is unknown, but the vulnerability requires a miner capable of submitting blocks on the network. It permits a malicious actor to induce a split in the blockchain, potentially creating a temporary fork until the issue is resolved. The fault is not listed in the CISA KEV catalog, and no publicly disclosed exploits have been reported. Because the condition to trigger the bug depends on transaction submission and mining, an attacker would need direct mining or controlling a mining pool. Nevertheless, the potential impact on consensus integrity makes it a significant risk for operators of full nodes.

Generated by OpenCVE AI on April 22, 2026 at 05:30 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade zebrad to version 4.3.1 or later
  • Upgrade zebra‑consensus to version 5.0.2 or later
  • Restart all Zebra nodes after the upgrade to enforce the updated consensus rules

Generated by OpenCVE AI on April 22, 2026 at 05:30 UTC.

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

Wed, 22 Apr 2026 12:15:00 +0000

Type Values Removed Values Added
First Time appeared Zcashfoundation
Zcashfoundation zebra-consensus
Zcashfoundation zebrad
Vendors & Products Zcashfoundation
Zcashfoundation zebra-consensus
Zcashfoundation zebrad

Wed, 22 Apr 2026 00:00:00 +0000

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'}


Subscriptions

Zcashfoundation Zebra-consensus Zebrad
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-04-21T19:52:58.880Z

Reserved: 2026-04-15T15:57:41.719Z

Link: CVE-2026-40880

cve-icon Vulnrichment

Updated: 2026-04-21T19:52:54.543Z

cve-icon NVD

Status : Received

Published: 2026-04-21T20:17:01.687

Modified: 2026-04-21T20:17:01.687

Link: CVE-2026-40880

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-22T11:45:46Z

Weaknesses