Skip to main content
← All vulnerabilities
CVE-2026-41583GHSA-8M29-FPQ5-89JJ

ZEBRA: Consensus Divergence in Transparent Sighash Hash-Type Handling

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.3.1, 5.0.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: total

Summary

ZEBRA is a Zcash node written entirely in Rust. Prior to zebrad version 4.3.1 and prior to zebra-script version 5.0.2, after a refactoring, Zebra failed to validate a consensus rule that restricted the possible values of sighash hash types for V5 transactions which were enabled in the NU5 network upgrade. Zebra nodes could thus accept and eventually mine a block that would be considered invalid by zcashd nodes, creating a consensus split between Zebra and zcashd nodes. In a similar vein, for V4 transactions, Zebra mistakenly used the "canonical" hash type when computing the sighash while zcashd (correctly per the spec) uses the raw value, which could also crate a consensus split. This issue has been patched in zebrad version 4.3.1 and zebra-script version 5.0.2.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • ZcashFoundation zebra

    zebrad < 4.3.1, zebra-script < 5.0.2

  • zebradcrates.io

    fixed in 4.3.1

  • zebra-scriptcrates.io

    fixed in 5.0.2

References 1

GitHub · ZcashFoundation/zebra