---
id: CVE-2026-52738
title: ZEBRA is a Zcash node written entirely in Rust
summary: >-
  ZEBRA is a Zcash node written entirely in Rust. Prior to 4.5.0, a
  consensus-valid block containing a long chain of transparent self-spends to
  one address can permanently halt Zebra nodes. In
  zebra-state/src/service/finalized_state/zebra_…
severity: medium
cwe:
  - CWE-248
vendor: zebra-state
product: zebra-state
affected:
  - zebra-state <= 6.0.0
  - zebrad <= 4.4.1
patched:
  - zebra-state 7.0.0
  - zebrad 4.5.0
published: '2026-08-18'
updated: '2026-09-09'
sourceUpdated: '2026-09-09T21:13:25.910'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-52738'
references:
  - url: >-
      https://github.com/ZcashFoundation/zebra/commit/1440b43ca7df59aca948090d45117557b217a6cd
    label: security-advisories@github.com
  - url: 'https://github.com/ZcashFoundation/zebra/releases/tag/v4.5.0'
    label: security-advisories@github.com
  - url: >-
      https://github.com/ZcashFoundation/zebra/security/advisories/GHSA-w834-cf6p-9m9w
    label: security-advisories@github.com
  - url: 'https://github.com/advisories/GHSA-w834-cf6p-9m9w'
tags:
  - nvd
  - ghsa
  - rust
epss: 0.00507
epssPercentile: 0.40704
ecosystem: rust
ingestedAt: '2026-07-02T20:42:45.865Z'
---

## Overview

ZEBRA is a Zcash node written entirely in Rust. Prior to 4.5.0, a consensus-valid block containing a long chain of transparent self-spends to one address can permanently halt Zebra nodes. In zebra-state/src/service/finalized_state/zebra_db/transparent.rs, the finalized-state writer originally applied every newly created output as a credit before applying any spent-output debit from the same block. That credit-first ordering can make the intermediate per-address balance exceed MAX_MONEY even though the final net balance is valid, causing an expect-based panic under the panic equals abort release profile. Because zcashd accepts the triggering block and Zebra encounters it again after every restart, the halt persists until patched software is deployed; exploitation requires mining the specially constructed block and temporarily committing sufficient ZEC to the self-spend chain. This issue is fixed in version 4.5.0.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-52738)

Affected packages:

- `zebra-state <= 6.0.0`
- `zebrad <= 4.4.1`

Patched in:

- `zebra-state 7.0.0`
- `zebrad 4.5.0`

Source: https://github.com/advisories/GHSA-w834-cf6p-9m9w
