Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. zebra-consensus
  4. ›
  5. CVE-2026-40880

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

April 18, 2026

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.

References

  • github.com/ZcashFoundation/zebra
  • github.com/ZcashFoundation/zebra/security/advisories/GHSA-xvj8-ph7x-65gf
  • github.com/advisories/GHSA-xvj8-ph7x-65gf
  • nvd.nist.gov/vuln/detail/CVE-2026-40880

Code Behaviors & Features

Detect and mitigate CVE-2026-40880 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 5.0.2

Fixed versions

  • 5.0.2

Solution

Upgrade to version 5.0.2 or above.

Impact 9.6 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-1025: Comparison Using Wrong Factors

Source file

cargo/zebra-consensus/CVE-2026-40880.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 19 Apr 2026 00:18:34 +0000.