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

CVE-2026-104431: Zebra DOS Vulnerability

CVE-2026-104431 is a denial of service vulnerability in Zebra that allows unauthenticated attackers to stall workers via expensive script verification. This post covers technical details, affected versions, impact, and mitigation.

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-104431 Overview

CVE-2026-104431 is a denial of service vulnerability in Zebra, the Zcash Foundation's Rust implementation of a Zcash full node. Versions prior to 6.0.0 allow unauthenticated network peers to stall Tokio async workers by submitting mempool transactions that require expensive synchronous script verification. Attackers can craft non-standard high-sigop Pay-to-Script-Hash (P2SH) transactions that reach CachedFfiTransaction::is_valid() before standardness checks run. This saturates the verifier buffer and renders the node unresponsive to legitimate peers and RPC clients. The weakness is tracked under [CWE-405: Asymmetric Resource Consumption (Amplification)].

Critical Impact

Remote, unauthenticated attackers can disable Zebra nodes using a small volume of crafted P2SH transactions, disrupting Zcash network participation.

Affected Products

  • Zebra (Zcash Foundation full node) versions prior to 6.0.0
  • Zcash network participants running vulnerable Zebra builds
  • Downstream integrators embedding affected Zebra mempool and verifier components

Discovery Timeline

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

Technical Details for CVE-2026-104431

Vulnerability Analysis

Zebra's mempool pipeline accepts peer-submitted transactions and performs validation inside Tokio async tasks. Script verification is delegated to a synchronous Foreign Function Interface (FFI) call through CachedFfiTransaction::is_valid(). The verifier maintains a bounded buffer of in-flight verification jobs. When this buffer fills with slow, CPU-bound work, async workers that await verifier capacity block indefinitely. The node then stops servicing new peer messages, RPC calls, and chain state updates. Because the verifier runs before standardness and policy filters reject non-standard transactions, attacker-controlled inputs can bypass the cheaper gating checks that normally protect it.

Root Cause

The ordering of validation stages is inverted relative to resource cost. Expensive synchronous script verification executes before standardness checks that would drop high-signature-operation (sigop) P2SH transactions. This classifies the flaw as asymmetric resource consumption, where a small adversarial input triggers disproportionate CPU work and buffer occupancy.

Attack Vector

An unauthenticated peer connects to a Zebra node and submits non-standard P2SH transactions containing an inflated number of signature operations. Each transaction consumes a verifier slot and ties up CPU on the synchronous FFI call. By sending a sustained stream, the attacker saturates the verifier buffer, stalls Tokio executors, and prevents the node from processing legitimate traffic. Refer to the GitHub Security Advisory GHSA-84j3-rw4c-gqmj and the VulnCheck Zebra DoS Advisory for additional technical detail.

Detection Methods for CVE-2026-104431

Indicators of Compromise

  • Sustained inbound peer connections submitting transactions with unusually high sigop counts targeting P2SH scripts
  • Zebra process showing prolonged high CPU utilization on script verification threads with growing verifier queue depth
  • Loss of responsiveness on peer-to-peer and RPC endpoints while the node process remains running

Detection Strategies

  • Monitor Zebra logs and metrics for backpressure on the script verifier buffer and stalled Tokio task counters
  • Baseline mempool acceptance rates and alert on spikes in rejected non-standard P2SH transactions originating from a small set of peers
  • Correlate network-level flow data with node unresponsiveness windows to identify abusive peers

Monitoring Recommendations

  • Export Zebra Prometheus metrics for verifier queue length, mempool size, and peer message latency
  • Alert when RPC latency or peer handshake latency exceeds baseline thresholds for more than a short window
  • Track per-peer transaction submission rates and automatically flag outliers for review

How to Mitigate CVE-2026-104431

Immediate Actions Required

  • Upgrade Zebra to version 6.0.0 or later on all nodes exposed to untrusted peers
  • Restrict inbound peer connections to known, trusted nodes until the upgrade completes
  • Review mempool and verifier telemetry for signs of prior exploitation and misbehaving peers

Patch Information

The Zcash Foundation addressed CVE-2026-104431 in Zebra 6.0.0. The fix reorders validation so standardness and sigop limits reject non-standard high-cost P2SH transactions before they reach the synchronous FFI script verifier. Operators should consult the GitHub Security Advisory GHSA-84j3-rw4c-gqmj for release notes and upgrade guidance.

Workarounds

  • Limit inbound peer slots and prefer outbound-only connections to reputable nodes where feasible
  • Place Zebra behind a network filter that rate-limits unknown peers submitting mempool transactions
  • Disable public RPC exposure and bind RPC interfaces to loopback or trusted management networks
bash
# Configuration example: restrict peer exposure in zebrad.toml
[network]
listen_addr = "127.0.0.1:8233"
peerset_initial_target_size = 25

[rpc]
listen_addr = "127.0.0.1:8232"

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.