# CVE-2026-52734: ZEBRA: Unbounded memory leak in mempool download pipeline via timeout path cancel_handles retention

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.37%, higher than 33% of CVEs (2026-12-01)
- Published: 2026-07-02T20:12:35.000Z
- Modified: 2026-10-22T22:10:00.250Z
- Also known as: GHSA-65jj-fmw8-468q
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

ZEBRA is a Zcash node written entirely in Rust. Prior to 4.5.0, an unauthenticated P2P peer can cause the mempool download pipeline to retain transactions after verification reaches the outer RATE_LIMIT_DELAY timeout. In zebrad/src/components/mempool/downloads.rs, Downloads::poll_next removed cancel_handles entries after success and ordinary verification errors, but tokio::time::error::Elapsed did not carry the UnminedTxId needed to remove the timed-out entry. Each retained cancel_handles entry could hold a full Gossip::Tx(UnminedTx), while normal mined-transaction cleanup could not match attacker transactions and no periodic garbage collection or count cap existed. Sustained traffic therefore caused monotonic memory growth until swap pressure degraded the node or the operating system terminated the zebrad process for exhausting memory. This issue is fixed in version 4.5.0.

(As written by CVE List.)

## Affected

- ZcashFoundation zebra: < 4.5.0
- zebrad (crates.io): before 4.5.0

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`

## References

- <https://github.com/ZcashFoundation/zebra/security/advisories/GHSA-65jj-fmw8-468q> (web)
- <https://github.com/ZcashFoundation/zebra/commit/1440b43ca7df59aca948090d45117557b217a6cd>
- <https://github.com/ZcashFoundation/zebra/releases/tag/v4.5.0>
- <https://github.com/ZcashFoundation/zebra> (package)
- <https://github.com/ZcashFoundation/zebra/blob/d4cd662c716382f6397d2a730148025a1ca79fec/zebrad/src/components/mempool.rs#L663-L672> (web)
- <https://github.com/ZcashFoundation/zebra/blob/d4cd662c716382f6397d2a730148025a1ca79fec/zebrad/src/components/mempool/downloads.rs#L215-L228> (web)

## Sources

- CVE List: [CVE-2026-52734](https://www.cve.org/CVERecord?id=CVE-2026-52734), CVE Terms of Use, modified 2026-08-19
- GitHub Advisory Database: [GHSA-65jj-fmw8-468q](https://github.com/advisories/GHSA-65jj-fmw8-468q), CC-BY-4.0, modified 2026-07-02
- NVD: [CVE-2026-52734](https://nvd.nist.gov/vuln/detail/CVE-2026-52734), Public domain, modified 2026-10-22

---

Page: https://cve.day/CVE-2026-52734 · Whole record: https://cve.day/CVE-2026-52734.json · Rebuilt by cve.day 2026-11-25T22:59:33.564Z
