CVE-2026-52735
ZEBRA: Consensus divergence via P2SH sigop undercount in pure-Rust disabled-opcode parser
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
Fuente: CNA
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Remediación | Parche 7.0.0 | zebra-script · -81 d desde divulgación | |
| Remediación | Parche 4.5.0 | zebrad · -81 d desde divulgación | |
| Divulgación | Publicada | CVE-2026-52735 divulgada · CVSS 9.3 (CNA) | |
| Divulgación | Evaluación SSVC | CISA-ADP · explotación ninguna | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Detectada | Ingresó al índice |
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 and returns only the partial count accumulated before the error. The zcashd reference implementation continues static signature-operation counting through disabled opcodes, so an attacker can broadcast P2SH spends that Zebra counts below MAX_BLOCK_SIGOPS while zcashd counts above the 20,000-operation limit. If a Zebra miner includes those transactions, Zebra validators accept the block while zcashd validators reject it, creating a consensus chain split that affects network integrity and availability without requiring the attacker to produce a block. This issue is fixed in version 4.5.0.
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
crates.iozebra-script |
Corregida | 7.0.0 | -81 d | 14.0.0 no afectada |
crates.iozebrad |
Corregida | 4.5.0 | -81 d | 7.0.0 no afectada |
4.5.07.0.0Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/ZcashFoundation/zebra/security/advisories/GHSA-gf9r-m956-97qxhttps://github.com/ZcashFoundation/zebra/commit/1440b43ca7df59aca948090d45117557b217a6cdhttps://github.com/ZcashFoundation/zebra/releases/tag/v4.5.0Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
