# zebrad has consensus divergence via P2SH sigop undercount in pure-Rust disabled-opcode parser

Advisory record · `GHSA-gf9r-m956-97qx`

- **Identifiers:** `GHSA-gf9r-m956-97qx` · `CVE-2026-52735`
- **State:** Confirmed
- **Severity:** CVSS 9.3 Critical
- **Critical:** Yes: CVSS 9+
- **Weakness (CWE):** [CWE-684](https://cwe.mitre.org/data/definitions/684.html)
- **Tags:** [CWE-684](https://agentprime.io/advisories/tag/cwe-684.md)
- **Published:** 2 Jul 2026
- **Updated:** 2 Jul 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 2 Jul 2026, 19:43 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Critical

Critical, because:

- CVSS score 9.3: 9.0 or more.

How we decide what’s critical: <https://agentprime.io/advisories/critical.md>

## Affected packages

- `zebra-script` (crates.io): affected `<7.0.0`; fixed in `7.0.0`
- `zebrad` (crates.io): affected `<4.5.0`; fixed in `4.5.0`

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 9.3 Critical, CVSS 4.0: `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`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0051, the 43rd percentile, on 6 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 15:18 UTC: First seen by agentprime
- 31 Oct 2026, 15:18 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-gf9r-m956-97qx)

## Sources

- [GitHub Advisory Database: GHSA-gf9r-m956-97qx](https://github.com/advisories/GHSA-gf9r-m956-97qx)
- [OSV: GHSA-gf9r-m956-97qx](https://osv.dev/vulnerability/GHSA-gf9r-m956-97qx)
- <https://github.com/ZcashFoundation/zebra/security/advisories/GHSA-gf9r-m956-97qx>
- <https://github.com/AlfredoG87/zcash_script/blob/v0.4.4/src/script/iter.rs#L104-L115>
- <https://github.com/ZcashFoundation/zebra>
- <https://github.com/ZcashFoundation/zebra/blob/d4cd662c716382f6397d2a730148025a1ca79fec/zebra-consensus/src/block.rs#L140>
- <https://github.com/ZcashFoundation/zebra/blob/d4cd662c716382f6397d2a730148025a1ca79fec/zebra-script/src/lib.rs#L383-L400>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-gf9r-m956-97qx>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-gf9r-m956-97qx/>. Everything for agents: <https://agentprime.io/llms.txt>.
