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

CVE-2026-41583: Zebra Vulnerable to Consensus Divergence in Transparent Sighash Hash-Type Handling

April 18, 2026 (updated May 12, 2026)

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.

References

  • github.com/ZcashFoundation/zebra/commit/1f605eca5c55e3b65229fa01a97d9aa84fd37447
  • github.com/ZcashFoundation/zebra/security/advisories/GHSA-8m29-fpq5-89jj
  • github.com/advisories/GHSA-8m29-fpq5-89jj
  • nvd.nist.gov/vuln/detail/CVE-2026-41583

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 5.0.2

Fixed versions

  • 5.0.2

Solution

Upgrade to version 5.0.2 or above.

Impact 9.1 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-573: Improper Following of Specification by Caller

Source file

cargo/zebra-script/CVE-2026-41583.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:16:42 +0000.