{"id":"CVE-2026-41583","summary":"ZEBRA: Consensus Divergence in Transparent Sighash Hash-Type Handling","details":"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.","aliases":["GHSA-8m29-fpq5-89jj"],"modified":"2026-07-15T01:49:04.789222165Z","published":"2026-05-08T14:55:50.120Z","database_specific":{"cwe_ids":["CWE-573"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41583.json","unresolved_ranges":[{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"zebra-script \u003c 5.0.2"},{"last_affected":"zebra-script \u003c 5.0.2"}]}],"cna_assigner":"GitHub_M"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41583.json"},{"type":"ADVISORY","url":"https://github.com/ZcashFoundation/zebra/security/advisories/GHSA-8m29-fpq5-89jj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41583"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/zcashfoundation/zebra","events":[{"introduced":"aba329d6dca884f6d42bb4d36bda0010a071c2fc"},{"last_affected":"aba329d6dca884f6d42bb4d36bda0010a071c2fc"}],"database_specific":{"extracted_events":[{"introduced":"zebrad \u003c 4.3.1"},{"last_affected":"zebrad \u003c 4.3.1"}],"source":"AFFECTED_FIELD"}}],"versions":["zebrad \u003c 4.3.1","v4.3.1","4.3.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-41583.json"}}],"schema_version":"1.7.5","severity":[{"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"}]}