Skip to content
Heist/ feed
Back to feed
Critical

ZEBRA: Consensus Divergence in Transparent Sighash Hash-Type Handling

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-41583
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 13:08 UTC · Revision 1

Source evidence

ZEBRA: Consensus Divergence in Transparent Sighash Hash-Type Handling

core-osv · Original source

Published 8 May 2026, 14:55 UTC

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.

osv:CVE-2026-41583
Complete source record
{
  "id": "6c85b86782e9c29927247b2422040e9cd956956542e8c29679ea9492ce70d4ea",
  "url": "https://osv.dev/vulnerability/CVE-2026-41583",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "ZEBRA: Consensus Divergence in Transparent Sighash Hash-Type Handling",
    "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.",
    "evidence": "osv:CVE-2026-41583",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2026-41583",
      "aliases": [
        "CVE-2026-41583",
        "GHSA-8m29-fpq5-89jj"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:H/SA:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/zcashfoundation/zebra",
              "type": "GIT",
              "events": [
                {
                  "introduced": "aba329d6dca884f6d42bb4d36bda0010a071c2fc"
                },
                {
                  "fixed": "aba329d6dca884f6d42bb4d36bda0010a071c2fc"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "zebrad < 4.3.1"
                      },
                      {
                        "last_affected": "zebrad < 4.3.1"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "cpe": "cpe:2.3:a:zfnd:zebrad:*:*:*:*:*:rust:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "4.3.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "zebrad < 4.3.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-41583.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:50.743929444Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41583.json",
        "https://github.com/ZcashFoundation/zebra/security/advisories/GHSA-8m29-fpq5-89jj",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-41583"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-573"
        ],
        "cna_assigner": "GitHub_M",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "zebra-script < 5.0.2"
                  },
                  {
                    "last_affected": "zebra-script < 5.0.2"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41583.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-41583",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 519396,
  "published_at": "2026-05-08T14:55:50.12+00:00"
}