Skip to main content

zebrad CVE-2026-52739

| EUVDEUVD-2026-61165 MEDIUM
Uncaught Exception (CWE-248)
2026-07-02 https://github.com/ZcashFoundation/zebra GHSA-hhm7-qrv5-h4r6
5.9
CVSS 3.1 · Vendor: https://github.com/ZcashFoundation/zebra
View

Attack ChainAIDerived

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

  1. Recon
    Broadcast shielded V5 transaction to Zcash mempool
  2. Delivery
    Honest miner includes transaction in block B1, which enters non-finalized state on target
  3. Exploit
    Attacker mines valid-PoW child block B2 repeating the same transaction
  4. Install
    Target zebrad receives B2 and invokes Chain::push
  5. C2
    assert_eq! on tx_loc_by_hash fires before nullifier guard executes
  6. Execute
    panic=abort terminates zebrad process
  7. Impact
    Node offline until operator restarts

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 produce valid proof-of-work blocks on the Zcash network - a real resource cost proportional to hashrate. The targeted zebrad node must be running past the checkpoint height with NU5 or later activated, which describes all default configurations of zebrad v4.4.1 and below. For Attack Model B (the cheaper path), the attacker additionally depends on an honest miner independently including the attacker's broadcast shielded V5 transaction in a block before the attacker mines the follow-up; this is probabilistic and the attacker may need to repeat across multiple blocks. Exploitation is meaningfully limited by: (1) mandatory valid proof-of-work for the attack block - the attacker must expend real mining resources; (2) the parent block must still reside in non-finalized state when the attack block arrives, constraining the timing window; (3) only zebrad nodes are affected - zcashd operators are not at risk; (4) the crash is a clean process abort with no data corruption, so restarted nodes recover fully. There are no special firewall or authentication conditions because the exploit arrives via standard Zcash P2P block propagation.

Impact

The NVD-assigned CVSS 5.9 (Medium) with vector AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H accurately reflects the technical profile: the attack is network-reachable and requires no privileges on the target, but AC:H correctly captures the significant prerequisite of producing valid proof-of-work blocks. There is no KEV listing and no public POC - exploitation status is unconfirmed beyond the vendor's own theoretical models. EPSS data was not included in the provided input. Despite PR:N, this is not a spray-and-pray vulnerability: at 1% hashrate, Attack Model B yields only approximately 1.4 single-block mining opportunities per day, while Model A (requiring two consecutive attacker blocks) yields roughly one opportunity every 8.7 days at the same hashrate. The impact is purely availability - zcashd nodes cleanly reject the invalid block with no consensus divergence or financial risk, so this is a liveness issue for zebrad operators specifically. Nodes with automatic process supervision (systemd, Docker restart) recover quickly per incident, but sustained hashrate allows an adversary to keep a targeted node effectively offline. Overall this is a credible, operationally bounded denial-of-service rather than a high-noise paper vulnerability.

Exploit ScenarioDerived

An attacker with approximately 1% Zcash network hashrate broadcasts a shielded V5 transaction into the mempool and waits for an honest miner to include it in block B1. Once B1 is accepted by the target zebrad node and enters non-finalized state, the attacker mines a single follow-up block B2 containing the same transaction; the roughly 1.4 daily mining opportunities at 1% hashrate make this viable against a persistently targeted node. When the target processes B2, Chain::push asserts on the duplicate transaction hash before nullifier validation runs, causing an immediate process abort under the panic = "abort" release profile and taking the node offline until manually restarted. No public proof-of-concept code has been identified.

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

Process abort in zebrad (Zcash Foundation's Rust node) up to v4.4.1 allows a malicious block producer to crash targeted nodes by submitting a child block that repeats a shielded V5 transaction from its non-finalized parent. The ordering bug in Chain::push causes an assert_eq! uniqueness check on tx_loc_by_hash to fire before the duplicate shielded-nullifier guard can cleanly reject the block; under Zebra's panic = "abort" release profile, this terminates the entire node process rather than returning a validation error. No public exploit or CISA KEV listing has been identified, but the vendor describes two concrete attack models requiring only modest mining hashrate, making targeted denial-of-service achievable in practice.

RemediationAI

Upgrade to zebrad 4.5.0 and zebra-state 7.0.0, which are confirmed as the vendor-released patches per the advisory at https://github.com/ZcashFoundation/zebra/security/advisories/GHSA-hhm7-qrv5-h4r6. The fix replaces the panicking assert_eq! in Chain::push with an Entry-based check that returns ValidateContextError::DuplicateTransaction instead of aborting. No configuration-level workaround exists: the affected code path is exercised by all block processing past the checkpoint height and cannot be disabled without halting validation entirely. If immediate patching is not feasible, operators should deploy process supervision (e.g., systemd Restart=always or Docker restart: unless-stopped) to minimize downtime per crash event; note this reduces impact duration but does not prevent individual abort events. Rate-limiting inbound block announcements at the network layer would not mitigate this, as blocks from legitimate-looking peers are the attack vector.

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

The affected components are the Rust crates pkg:rust/zebra-state and pkg:rust/zebrad, which together implement the Zcash Foundation's full node. The root cause is CWE-248 (Uncaught Exception): in zebra-state/src/service/non_finalized_state/chain.rs lines 1608-1628, the Chain::push method inserts a transaction hash into the tx_loc_by_hash index with a bare assert_eq!(prior_pair, None, "transactions must be unique within a single chain") before executing shielded-data validation (step 3), which would have returned a proper ValidateContextError::DuplicateTransaction. Because the block transaction verifier skips the best-chain nullifier query for block transactions (only applied to mempool, per zebra-consensus/src/transaction.rs:521-526) and initial contextual validation checks nullifiers only in finalized state (not non-finalized state), no earlier gate catches the duplicate. The Rust release profile sets panic = "abort", converting what would be an unwinding panic into an unconditional process termination. The vulnerability is scoped to nodes running past the checkpoint height with NU5 or later activated.

Know when Checkpoint gets its next vulnerability

  • 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 5.9 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 5.9 MEDIUM

Network-delivered via P2P block propagation; AC:H because valid proof-of-work mining is required; no C or I impact as the crash causes only availability loss with no data exfiltration or state corruption.

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:N

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

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

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

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 past the checkpoint height (non-finalized state is active).
  3. The network has NU5 or later activated.

All default configurations are affected.

Summary

Chain::push in the non-finalized state updates the transaction-location index (tx_loc_by_hash) before it runs the duplicate shielded-nullifier guard. When an invalid child block repeats a shielded transaction from its non-finalized parent, the assert_eq!(prior_pair, None, "transactions must be unique within a single chain") fires before the contextual validation that would cleanly reject the duplicate. Under Zebra's panic = "abort" release profile, this terminates the entire node process.

The block should be rejected with a duplicate-nullifier contextual validation error. Instead, the ordering of index updates within Chain::push causes the process to abort.

Details

In zebra-state/src/service/non_finalized_state/chain.rs:1608-1628, the block push sequence is:

  1. Insert transaction hash into tx_loc_by_hash with assert_eq! on uniqueness
  2. Update transparent outputs and inputs
  3. Update shielded data (JoinSplit, Sapling, Orchard) - including nullifier uniqueness checks

The shielded nullifier uniqueness check at step 3 would correctly reject the duplicate transaction. But the assert_eq! at step 1 fires first because the transaction hash is already in tx_loc_by_hash from the parent block on the same chain.

The block transaction verifier does not run the best-chain nullifier query for block transactions - that check is gated on mempool transactions only (zebra-consensus/src/transaction.rs:521-526). Initial contextual validation checks nullifiers in finalized state only (zebra-state/src/service/check.rs:407-415), but the parent transaction is still in non-finalized state.

There are two attack models:

Model A (two attacker blocks): The attacker mines two consecutive valid-work blocks: parent B1 containing a shielded transaction T, and child B2 repeating T. This requires controlling both blocks consecutively.

Model B (one attacker block after an honest block): The attacker broadcasts a shielded transaction T into the mempool. When any honest miner includes T in their block B1, the attacker only needs to mine the next child block B2 containing the same T. This requires controlling only one block immediately after an honest block that included the attacker's transaction. The attacker can broadcast a suitable shielded transaction every block until one is included by an honest miner, then attempt to mine the follow-up.

Both models require the child block to repeat the shielded-only V5 transaction while the parent is still in non-finalized state.

Patches

zebra-state 7.0.0 and zebrad 4.5.0.

Replace the assert_eq! with an Entry-based check that returns ValidateContextError::DuplicateTransaction instead of panicking:

rust
match self.tx_loc_by_hash.entry(transaction_hash) {
    Entry::Vacant(entry) => {
        entry.insert(transaction_location);
    }
    Entry::Occupied(_) => {
        return Err(ValidateContextError::DuplicateTransaction { transaction_hash });
    }
}

Workarounds

There is no configuration-level workaround. The assert is in the non-finalized state push path, which is exercised by all block processing past the checkpoint height.

Impact

A malicious block producer can crash targeted Zebra nodes. There are two attack models:

In the first model, the attacker mines two consecutive valid-work blocks where the child repeats a shielded transaction from the parent. At 10% hashrate, the attacker has approximately 11.5 opportunities per day; at 5%, approximately 2.9 per day; at 1%, approximately one every 8.7 days.

In the second model, the attacker broadcasts a shielded transaction into the mempool and waits for any honest miner to include it. The attacker then only needs to mine the next block containing the same transaction. This is cheaper because the attacker does not need to mine the parent block. At 10% hashrate, the attacker has approximately 14.4 single-block opportunities per day; at 5%, approximately 7.2 per day; at 1%, approximately 1.4 per day.

The crash is a process abort (not recoverable within the process). The node must be restarted. Repeated attacks can keep a node down for extended periods. This is a liveness issue, not a consensus divergence: zcashd cleanly rejects the invalid child block while Zebra aborts.

Credit

Reported by @haxatron via email disclosure.

Threat Intelligence Overview

EPSS Score
0.4%
Top 67% exploitable
Prevalence
Rare
niche Zcash-specific node, most operators use zcashd
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
No
Human Impact· derived
Medium

Priority Score

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

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

CVE-2014-6271 CRITICAL POC
9.8 Sep 24

GNU Bash through 4.3 processes trailing strings after function definitions in the values of environment variables, which

CVE-2024-24919 HIGH POC
8.6 May 28

Potentially allowing an attacker to read certain information on Check Point Security Gateways once connected to the inte

CVE-2014-7169 CRITICAL POC
9.8 Sep 25

GNU Bash through 4.3 bash43-025 processes trailing strings after certain malformed function definitions in the values of

CVE-2017-1000083 HIGH POC
7.8 Sep 05

backend/comics/comics-document.c (aka the comic book backend) in GNOME Evince before 3.24.1 allows remote attackers to e

CVE-2026-85102 CRITICAL POC
9.8 Sep 09

Remote code execution in Check Point Quantum Security Gateway arises from improper certificate trust validation during V

CVE-2026-16232 CRITICAL POC
9.3 Jul 22

Authentication bypass in the Check Point SmartConsole login process lets an unauthenticated remote attacker mint a valid

CVE-2026-50751 CRITICAL POC
9.3 Jun 08

Authentication bypass in Check Point Quantum Security Gateway and Spark Firewalls allows unauthenticated remote attacker

CVE-2026-93616 CRITICAL POC
9.8 Sep 22

Unauthenticated attackers who can reach the file-upload interface of Check Point Management Server can combine directory

CVE-2021-3449 MEDIUM
5.9 Mar 25

An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client. Rated med

CVE-2026-85103 CRITICAL POC
9.8 Sep 09

Remote code execution in Check Point Quantum Security Gateway and Quantum Security Management stems from a heap-based bu

CVE-2026-91843 CRITICAL POC
9.8 Sep 16

Unauthenticated remote code execution affects Check Point Quantum Security Management, where a stack-based buffer overfl

CVE-2024-3568 CRITICAL POC
9.6 Apr 10

The huggingface/transformers library is vulnerable to arbitrary code execution through deserialization of untrusted data

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