Skip to main content
Vulnerability Database/CVE-2026-104422

CVE-2026-104422: Zebra Block Sync DOS Vulnerability

CVE-2026-104422 is a denial of service flaw in Zebra blockchain node software that allows malicious peers to delay block discovery by exploiting the block sync mechanism. This article covers technical details, affected versions, and mitigation strategies.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-104422 Overview

CVE-2026-104422 is a denial-of-service vulnerability affecting the Zcash Zebra node (zebrad) before version 6.3.0. The block sync download path reads a block's height from its unvalidated coinbase scriptSig and drops blocks that appear too far behind the tip before consensus validation. The code does not penalize the supplying peer. Because V5 transaction IDs exclude the scriptSig, a malicious peer can repeatedly serve a canonical block whose coinbase claims height 1 while keeping the requested hash. This delays the node's discovery of the newest block and degrades chain synchronization. The weakness is classified under [CWE-345: Insufficient Verification of Data Authenticity].

Critical Impact

A single malicious peer can stall block synchronization on a Zebra node, delaying tip discovery and impairing availability of the node's view of the Zcash chain.

Affected Products

  • Zcash Foundation Zebra (zebrad) versions prior to 6.3.0
  • Nodes participating in Zcash mainnet block sync
  • Downstream services relying on zebrad for chain tip tracking

Discovery Timeline

  • 2026-10-02 - CVE-2026-104422 published to NVD
  • 2026-10-02 - Last updated in NVD database

Technical Details for CVE-2026-104422

Vulnerability Analysis

The vulnerability resides in the block synchronization download path of zebrad. When the node receives a block from a peer, it extracts the claimed height from the coinbase transaction's scriptSig field before performing consensus validation. If the extracted height falls too far behind the current chain tip, the node discards the block. The supplying peer receives no penalty for sending stale data.

In Zcash V5 transactions, the transaction ID (txid) commitment excludes the coinbase scriptSig. An attacker can take a legitimate block, rewrite its coinbase scriptSig to claim height 1, and preserve the original block hash requested by the node. The receiving node sees the manipulated height, concludes the block is far behind the tip, and drops it. Repeated delivery of this rewritten block forces the node to re-request the same hash. See the GitHub Security Advisory and the VulnCheck Denial of Service Advisory for details.

Root Cause

The sync path trusts unauthenticated data in the coinbase scriptSig to make a drop decision. V5 txid construction omits the scriptSig, so attackers can mutate height without breaking the block hash match. The missing peer penalty removes any natural throttle on repeated abuse.

Attack Vector

The attack is network-based and requires no authentication or user interaction. A malicious peer connects to a target zebrad instance and serves rewritten canonical blocks in response to sync requests. Each delivery causes the node to drop the block and retry, extending the time to reach the current tip. No code execution or data exposure occurs; availability of the node's chain view is the sole impact.

Detection Methods for CVE-2026-104422

Indicators of Compromise

  • Repeated receipt of blocks whose coinbase scriptSig-encoded height is 1 while the block hash matches a recently requested hash.
  • Elevated rate of discarded blocks in zebrad sync logs tied to a small number of peers.
  • Sustained lag between the node's best height and the public Zcash chain tip.

Detection Strategies

  • Monitor zebrad logs for block-drop events referencing coinbase height anomalies during active sync.
  • Correlate repeated drops of the same requested block hash from a single peer address.
  • Alert on persistent chain tip divergence between zebrad and a trusted reference node.

Monitoring Recommendations

  • Track per-peer counts of blocks served versus blocks accepted and flag outliers.
  • Instrument sync latency metrics and alert when time-to-tip exceeds expected thresholds.
  • Capture peer connection metadata to support attribution and manual banning.

How to Mitigate CVE-2026-104422

Immediate Actions Required

  • Upgrade zebrad to version 6.3.0 or later on all production and validation nodes.
  • Review inbound peer lists and disconnect peers exhibiting repeated block-drop behavior.
  • Validate chain tip against a trusted secondary source during and after upgrade.

Patch Information

The Zcash Foundation addressed CVE-2026-104422 in Zebra 6.3.0. The fix removes reliance on the unvalidated coinbase scriptSig height for the drop decision and ensures peers supplying inconsistent data are penalized. Refer to the GitHub Security Advisory GHSA-g95h-hw6g-pvgv for release notes and commit references.

Workarounds

  • Restrict inbound peer connections to a curated allowlist of trusted nodes until the upgrade completes.
  • Reduce the maximum number of inbound peers to limit attacker reach.
  • Run a secondary reference node and alert on tip divergence to detect ongoing stalling.
bash
# Configuration example: upgrade zebrad to the patched release
cargo install --locked --git https://github.com/ZcashFoundation/zebra --tag v6.3.0 zebrad
zebrad --version

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.