{"answers":{"affected":"4 open source packages ship an affected version, including zebra-script and zebrad.","exploited":"There is no known exploitation of CVE-2026-52735 in the wild and no public exploit code.","fix":"Upgrade zebra-script to 7.0.0 or later.","what":"CVE-2026-52735 is a critical denial of service vulnerability in ZcashFoundation zebra, published on 18 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-52735 and fix it if it is affected.\n\nWhat it is: CVE-2026-52735 is a critical denial of service vulnerability in ZcashFoundation zebra, published on 18 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-52735 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- zebra-script (crates.io): affected all versions; fixed in 7.0.0\n- zebra-script (crates.io): affected all versions; fixed in 7.0.0\n- zebrad (crates.io): affected all versions; fixed in 4.5.0\n- zebrad (crates.io): affected all versions; fixed in 4.5.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-52735/ (Markdown: https://insights.sbomify.com/CVE-2026-52735/index.md)","id":"CVE-2026-52735","markdown":"https://insights.sbomify.com/CVE-2026-52735/index.md","name":"CVE-2026-52735","record":{"aliases":["GHSA-gf9r-m956-97qx"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Zcash node","requires_auth":"none","summary":"An attacker can cause a consensus chain split in Zebra nodes by exploiting a signature operation counting error, leading to network availability issues.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":9.3,"severity":"critical","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-684","name":"Incorrect Provision of Specified Functionality"}],"description":"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.","ecosystems":["crates.io"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"ZEBRA: Consensus divergence via P2SH sigop undercount in pure-Rust disabled-opcode parser","id":"CVE-2026-52735","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"crates.io","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":4,"n_references":3,"next":{"headline":"ZEBRA: Block suppression via NU5 same-header body poisoning of sent-hash cache","id":"CVE-2026-52736"},"packages":[{"ecosystem":"crates.io","fixed":["7.0.0"],"introduced":["0"],"last_affected":[],"package":"zebra-script","purl":null,"source":"GHSA-gf9r-m956-97qx"},{"ecosystem":"crates.io","fixed":["7.0.0"],"introduced":["0"],"last_affected":[],"package":"zebra-script","purl":"pkg:cargo/zebra-script","source":"GHSA-gf9r-m956-97qx"},{"ecosystem":"crates.io","fixed":["4.5.0"],"introduced":["0"],"last_affected":[],"package":"zebrad","purl":null,"source":"GHSA-gf9r-m956-97qx"},{"ecosystem":"crates.io","fixed":["4.5.0"],"introduced":["0"],"last_affected":[],"package":"zebrad","purl":"pkg:cargo/zebrad","source":"GHSA-gf9r-m956-97qx"}],"prev":{"headline":"ZEBRA: Unbounded memory leak in mempool download pipeline via timeout path cancel_handles retention","id":"CVE-2026-52734"},"products":["zebra"],"published":"2026-08-18","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-08-18","vendors":["ZcashFoundation"]},"summary":"An attacker can cause a consensus chain split in Zebra nodes by exploiting a signature operation counting error, leading to network availability issues.","url":"https://insights.sbomify.com/CVE-2026-52735/"}