Skip to main content
EPSS 0.4%top 69%

CVE-2026-52738: CWE-248: Uncaught Exception in ZcashFoundation zebra

0
Medium
Published: 08/18/2026 (08/18/2026, 19:24:04 UTC)
Source: GCVE Database
Vendor/Project: ZcashFoundation
Product: zebra

Description

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.

CVSS v4.0

Score 6.9medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

crates.ioghsa
zebra-state
Affected versions
<7.0.0
crates.ioghsa
zebrad
Affected versions
<4.5.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/19/2026, 11:15:00 UTC

Technical Analysis

The finalized transparent address balance writer in Zebra state (up to v4.4.1) processes all newly-created outputs (credits) before spent outputs (debits) within the same block. When a consensus-valid block contains a long chain of same-address transparent self-spends, the intermediate balance during the credit pass can exceed the maximum money supply (MAX_MONEY), triggering a panic due to an overflow check. This panic aborts the node process, and on restart, the node reprocesses the same block, causing a persistent halt. An attacker with mining capability and a capital of roughly 1,100–2,100 ZEC can exploit this to halt all Zebra nodes. The issue is patched in Zebra 4.4.2 by processing credits and debits together per transaction, aligning with zcashd's approach. No workaround is available other than upgrading.

Potential Impact

A single consensus-valid block constructed by an attacker can permanently halt all Zebra nodes running vulnerable versions, causing a persistent chain halt that survives node restarts. This results in service disruption for downstream consumers such as light wallets, exchanges, and mining infrastructure. The attacker recovers their capital since the exploit involves self-spends, so the net cost is the mining effort only. There is no indication of data corruption or consensus failure beyond the node halt.

Mitigation Recommendations

Upgrade Zebra state to version 4.4.2 or later, which contains the official fix. The patch changes the processing order of credits and debits to prevent intermediate balance overflow. No workaround is available; running vulnerable versions will result in persistent node halts upon encountering the crafted block.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-w834-cf6p-9m9w
Osv Schema Version
1.4.0
Aliases
["CVE-2026-52738"]
Ecosystems
["crates.io"]
Database Specific Severity
MODERATE
Cvss Version
4.0

Threat ID: 6a46ecb627e9c7971943c9a9

Added to database: 07/02/2026, 22:56:54 UTC

Last enriched: 08/19/2026, 11:15:00 UTC

Last updated: 09/14/2026, 22:01:35 UTC

Views: 94

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses