CVE-2026-52735: Vulnerability in zebra-script

Critical. ZEBRA is a Zcash node written entirely in Rust. Prior to 4.5.0, Zebra can accept a block that zcashd rejects because the P2SH signature-operation counter undercounts redeem scripts containing a disabled opcode followed by signature opcodes. In zebra-script/src/lib.rs, p2sh_input_sigop_count used the pure-Rust script::Code::sig_op_count path, whose try_fold parser stops at disabled opcodes such as OP_CODESEPARATOR...

crates.io, CWE-684

Exploitation
None confirmed
Severity
9.3 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-gf9r-m956-97qx
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness
CWE-684
Published
2 Jul 2026
Last change
22 Oct 2026
Ecosystem
crates.io

Affected packages

Vulnerable version ranges and fixed releases

  • zebra-script crates.io, Affected through 6.0.1. Fixed in 7.0.0
  • zebrad crates.io, Affected through 4.4.1. Fixed in 4.5.0

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes