Vulnerability in zebra-script
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
A vulnerability tracked as CVE-2026-52735 has been found in zebra-script.
Attackers can target a specific entry point like zebrad over the network to misuse the product.
Risk of unauthorized operations or information disclosure.
What to do: upgrade zebra-script to 7.0.0 or later.
If unsure, ask your IT team or search "zebra-script CVE-2026-52735" on the vendor's site.
CVE-2026-52735 (zebra-script) — CWE-684
Attack surface: zebrad / OP_CODESEPARATOR / OP_CAT / OP_SUBSTR
Patched: 7.0.0 — apply immediately
Workaround: There is no configuration-level workaround.
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (CWE-684) exists in zebra-script. Attackers reach the vulnerable code path via zebrad.
Check the vendor advisory for the affected versions of zebra-script. Attack surface: zebrad / OP_CODESEPARATOR / OP_CAT / OP_SUBSTR.
Severity: ?. Risk of unauthorized operations or information disclosure.
Update to 7.0.0.
Workaround: There is no configuration-level workaround.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'zebra-script' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
grep -r 'zebra-script' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
zebra-scriptを grep し、稼働しているサービス・バージョンを把握する。 -
2
Apply temporary workaroundmitigate
There is no configuration-level workaround.パッチが適用されるまでの応急処置として、There is no configuration-level workaround. を実施。回避策の副作用 (機能低下) を確認した上で。
-
3
Apply patchpatch
Upgrade zebra-script to 7.0.0ステージング環境で 7.0.0 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
4
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| rustzebra-script |
< 7.0.0→ 7.0.0 |
7.0.0 |
| rustzebrad |
< 4.5.0→ 4.5.0 |
4.5.0 |
| crates.iozebra-script |
< 7.0.0→ 7.0.0 |
7.0.0 |
| crates.iozebrad |
< 4.5.0→ 4.5.0 |
4.5.0 |
Original description The description as published by the source.
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.
Source: GitHub Security Advisories (Global) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com