Skip to main content

zebrad EUVDEUVD-2026-61167

| CVE-2026-52738 MEDIUM
Uncaught Exception (CWE-248)
2026-07-02 https://github.com/ZcashFoundation/zebra GHSA-w834-cf6p-9m9w
6.9
CVSS 4.0 · Vendor: https://github.com/ZcashFoundation/zebra
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Acquire ~1,100-2,100 ZEC stake
  2. Delivery
    Construct transparent same-address self-spend transaction chain
  3. Exploit
    Mine consensus-valid Zcash block containing chain
  4. Install
    Broadcast block to Zcash P2P network
  5. C2
    Zebrad credits all outputs before debiting inputs
  6. Execute
    Intermediate address balance overflows MAX_MONEY cap
  7. Impact
    Panic-abort terminates all Zebra nodes permanently

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Exception handling completeness
Exploitation Conditions

Exploitation requires the attacker to possess mining capability sufficient to produce a valid Zcash block and approximately 1,100-2,100 ZEC, which is used in transparent self-spend transactions and recovered after the attack. The victim node must be running zebrad at version 4.4.1 or earlier and must be connected to the Zcash network in a block-processing role (any network: mainnet or testnet). No special configuration is required on the victim side - all default Zebra installations processing transparent blocks are vulnerable. Exploitation is limited by the attacker's need to control mining infrastructure capable of producing a valid block; this is the primary barrier reducing realistic attacker population. There is no user interaction requirement and no authentication barrier at the network protocol level. Once the malicious block is mined and propagated, all unpatched Zebra nodes on the network are affected simultaneously without any further attacker action.

Impact

No CVSS vector or score was provided by NVD or the vendor advisory, so all metric assessments are independently derived. No EPSS data is available. The vulnerability is not listed in the CISA KEV catalog and no public proof-of-concept exploit code has been identified, indicating no public exploit identified at time of analysis. Despite these mitigating signals, real-world risk is elevated for the Zcash ecosystem specifically: the attack is deterministic, requires no software exploit in the traditional sense (only a valid mined block), and produces a permanent, network-wide availability failure for every unpatched Zebra node simultaneously. The attacker recovers their ZEC capital through the self-spend mechanism, so the net economic cost is only the mining energy, making the attack economically viable for a motivated adversary. The primary limiting factor is the mining capability requirement, which introduces meaningful access complexity and limits the realistic attacker population to entities with access to Zcash mining infrastructure. The impact is strictly availability - no confidentiality or integrity compromise is possible via this vector. Downstream services depending on Zebra nodes (light wallets, exchanges, mining pools) inherit the availability loss for the duration of the halt.

Exploit ScenarioDerived

An attacker holding approximately 1,100-2,100 ZEC constructs a Zcash block containing a long chain of transparent self-spend transactions, all crediting the same address, and mines the block to satisfy Zcash consensus rules. The attacker broadcasts the block to the Zcash network; every zebrad node ≤4.4.1 processes the block's credits first, causing the intermediate per-address balance to overflow MAX_MONEY, triggering a panic-abort. All Zebra nodes halt permanently and continue to panic on restart, disrupting any service depending on the Zebra node stack until operators manually deploy Zebra 4.4.2. The attacker's ZEC capital is returned to them through the self-spend mechanism, so only mining cost is incurred.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 02, 2026

Persistent denial-of-service in zebrad (Zcash Foundation's Zcash node) up to and including v4.4.1 allows an attacker with mining capability and approximately 1,100-2,100 ZEC to permanently halt all Zebra nodes on the network by mining a single consensus-valid block. The block exploits a credit-before-debit processing order in the finalized transparent state writer, causing an intermediate per-address balance to overflow the MAX_MONEY cap and trigger a Rust panic-abort. Because the triggering block is consensus-valid, the panic recurs on every restart, creating an unrecoverable halt until the node is patched. No public exploit or KEV listing has been identified at time of analysis.

RemediationAI

Upgrade to Zebra 4.4.2, the vendor-confirmed patched release. The fix restructures the finalized state writer to process credits and debits together per transaction rather than iterating all credits then all debits block-wide, matching zcashd's approach and eliminating the transient balance overflow. No workaround is available per the vendor advisory - the panic cannot be suppressed through configuration or operational controls, and the restart loop cannot be escaped without a code change. All operators running zebrad ≤4.4.1, including exchanges, light-wallet providers, and mining infrastructure, should treat this upgrade as urgent given that a single malicious block would halt all unpatched nodes simultaneously and recovery requires redeployment of the patched binary. The advisory and patch details are available at https://github.com/ZcashFoundation/zebra/security/advisories/GHSA-w834-cf6p-9m9w.

Affected VersionsENISA

zebra-state < 7.0.0
zebra < 4.5.0

Affected Packages

cargo zebra-state fix: 7.0.0
cargo zebrad fix: 4.5.0
euvd zebra fix: 4.5.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 3 packages in cargo, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

zebrad is the Rust-based Zcash full-node implementation maintained by the Zcash Foundation (pkg:rust/zebrad, pkg:rust/zebra-state). The vulnerable code resides in the finalized state writer at zebra-state/src/service/finalized_state/zebra_db/transparent.rs. The root cause (CWE-248: Uncaught Exception) is a processing-order defect: all transaction outputs (credits) across an entire block are applied to per-address balances before any transaction inputs (debits) are processed. A block containing a long chain of transparent self-spends to the same address causes that address's intermediate credit-only balance to transiently exceed the protocol-defined MAX_MONEY supply cap. The balance addition uses Rust's .expect() combinator, which panics on overflow. Under Zebra's release profile (panic = 'abort'), this terminates the process rather than unwinding. Because the block is fully consensus-valid - zcashd processes it without issue - Zebra re-downloads and re-applies the same block on every restart, making the halt permanent until a patched binary is deployed. The tagged 'Buffer Overflow' classification is a loose approximation; the precise root cause is an arithmetic overflow of an internal accumulator that is never caught.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/ZcashFoundation/zebra) PRIMARY 6.9 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
vuln.today AI 5.9 MEDIUM

AV:N because the attack is delivered via a broadcast Zcash block; AC:H because exploitation requires both mining hardware and ~1,100-2,100 ZEC capital; PR:N at the network layer; availability-only impact with no confidentiality or integrity effect.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H

Primary rating from Vendor (https://github.com/ZcashFoundation/zebra).

CVSS VectorVendor: https://github.com/ZcashFoundation/zebra

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
CVSS changed
Aug 18, 2026 - 20:22 NVD
6.9 (MEDIUM)

DescriptionCVE.org

Am I affected

You are affected if:

  1. You run zebrad up to and including v4.4.1.
  2. Your node processes blocks on any Zcash network.

Summary

The finalized transparent address balance writer processes all newly-created outputs (credits) before processing spent outputs (debits) within the same block. A consensus-valid block containing a long chain of same-address transparent self-spends can cause the intermediate per-address balance during the credit pass to exceed MAX_MONEY, triggering a panic in the finalized state writer.

Because the triggering block is consensus-valid (zcashd accepts it), the panic recurs on restart when the node re-encounters the same block. This creates a persistent chain halt that can only be resolved by a software patch.

Details

The finalized state writer at zebra-state/src/service/finalized_state/zebra_db/transparent.rs iterates all transaction outputs in a block and credits them to per-address balances before iterating inputs and debiting spent outputs. When a block contains many transparent self-spends to the same address, the intermediate credit-only balance can exceed the MAX_MONEY supply cap even though the final net balance (credits minus debits) is valid.

The code panics on the intermediate overflow via .expect() on the balance addition. Under Zebra's panic = "abort" release profile, this terminates the process. On restart, the node re-downloads and re-processes the same consensus-valid block, triggering the same panic.

An attacker with approximately 1,100-2,100 ZEC and mining capability can construct a block that permanently halts all Zebra nodes. The attacker recovers their capital (the self-spends return funds to the same address), so the net cost is the mining effort only.

Patches

Patched in Zebra 4.4.2. The fix processes credits and debits together per transaction rather than all credits then all debits, matching zcashd's approach.

Workarounds

No workaround is available. Upgrade to Zebra 4.4.2.

Impact

A single consensus-valid mined block can permanently halt all Zebra nodes on the network. The halt persists across restarts. Recovery requires deploying a patched version. Downstream consumers (light wallets, exchanges, mining infrastructure) lose service for the duration of the halt.

Credit

Reported by @sangsoo-osec.

Threat Intelligence Overview

EPSS Score
0.4%
Top 70% exploitable
Prevalence
Low
niche Zcash-ecosystem node, small cryptocurrency network footprint
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy