# zebrad has unbounded memory leak in mempool download pipeline via timeout path cancel_handles retention

Advisory record · `GHSA-65jj-fmw8-468q`

- **Identifiers:** `GHSA-65jj-fmw8-468q` · `CVE-2026-52734`
- **State:** Confirmed
- **Severity:** CVSS 5.3 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-401](https://cwe.mitre.org/data/definitions/401.html)
- **Tags:** [Denial of service](https://agentprime.io/advisories/tag/dos.md)
- **Published:** 2 Jul 2026
- **Updated:** 2 Jul 2026
- **Reviewed by a person:** No

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

## Affected packages

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

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> GHSA-65jj-fmw8-468q: zebrad versions before 4.5.0 have an unbounded memory leak in the mempool download pipeline, where entries for transactions whose verification times out are never removed. A remote peer able to connect to a node that accepts inbound P2P connections, which is the default, can send transactions to cause gradual memory growth that may eventually exhaust memory and terminate the process. Upgrade to zebrad 4.5.0. No configuration workaround is listed; restarting the node clears the accumulated entries.

Written 8 Nov 2026.

## 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

- 5.3 Medium, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`, from CNA (GitHub_M)

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

## Timeline

- 2 Jul 2026, 20:12 UTC: [Confirmed by GitHub Advisory Database](https://github.com/advisories/GHSA-65jj-fmw8-468q)
- 31 Oct 2026, 15:18 UTC: First seen by agentprime
- 31 Oct 2026, 15:18 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-65jj-fmw8-468q)

## Sources

- [GitHub Advisory Database: GHSA-65jj-fmw8-468q](https://github.com/advisories/GHSA-65jj-fmw8-468q)
- [OSV: GHSA-65jj-fmw8-468q](https://osv.dev/vulnerability/GHSA-65jj-fmw8-468q)
- <https://github.com/ZcashFoundation/zebra/security/advisories/GHSA-65jj-fmw8-468q>
- <https://github.com/ZcashFoundation/zebra>
- <https://github.com/ZcashFoundation/zebra/blob/d4cd662c716382f6397d2a730148025a1ca79fec/zebrad/src/components/mempool.rs#L663-L672>
- <https://github.com/ZcashFoundation/zebra/blob/d4cd662c716382f6397d2a730148025a1ca79fec/zebrad/src/components/mempool/downloads.rs#L215-L228>

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-65jj-fmw8-468q>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-65jj-fmw8-468q/>. Everything for agents: <https://agentprime.io/llms.txt>.
