Skip to main content

Zebra CVE-2026-44500

MEDIUM
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-05-07 https://github.com/ZcashFoundation/zebra GHSA-438q-jx8f-cccv
5.3
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. Access
    Open TCP connection to peer port
  2. Delivery
    Send crafted headers message with oversized CompactSize
  3. Exploit
    Trigger generic preallocation before protocol limit check
  4. Execution
    Exhaust memory and CPU
  5. Impact
    Node becomes unresponsive

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

An attacker must be able to establish a network connection to a Zebra node listening on its peer port (default 8333). For the headers message exploit, the vulnerability is reachable before version handshake completes because the codec is installed on raw inbound bytes; no authentication is required. For the block/transaction exploits (equihash solutions, Sapling spends, coinbase scripts), the attacker must either complete the version handshake or send the message pre-handshake (the code does not show explicit gating). The node must be running a vulnerable version (prior to 4.4.0). Default Zebra configuration accepts inbound peer connections, so no special configuration is required. Non-default configurations that reject all inbound peers or enforce strict message filtering would reduce exposure, but typical deployments are vulnerable. Network-level DoS filters (rate limiting per peer) can reduce cumulative impact of multi-peer fan-in, but do not prevent a single well-crafted message from triggering oversized allocation.

Impact

CVSS 5.3 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L) indicates network-accessible, unauthenticated, low-complexity exploitation against default configurations with low availability impact (partial denial of service). The vector aligns with the vulnerability: any peer (authenticated or unauthenticated, pre- or post-handshake for the headers case) can send a single crafted message to trigger oversized preallocation. However, real-world risk is constrained by several factors. First, each individual message is bounded by the 2 MiB transport ceiling or block-size cap-there is no unbounded allocation; the risk is amplification within those bounds and cumulative effect across concurrent peers. Second, the vulnerability requires parsing after allocation (not immediate crash), so impact is CPU and memory pressure, not a guaranteed knock-down. Third, the header amplification is reachable pre-handshake (codec installed on raw bytes), but the block/transaction cases require post-handshake peer state, reducing attack surface. No public exploit identified; vendor classification as 'Moderate' rather than 'High' reflects that impact is denial of service (availability) with no confidentiality or integrity breach. EPSS score not provided, but the combination of no active exploitation signal, moderate CVSS, and bounded-though-amplified allocation suggests medium real-world priority. Defenders should prioritize upgrade for nodes in high-availability deployments or accepting untrusted peer connections; isolated validators or nodes with connection limits face lower practical risk. The vulnerability is well-understood and patch is released, reducing urgency compared to unpatched remote code execution.

Exploit ScenarioDerived

An attacker opens an inbound TCP connection to a vulnerable Zebra node and sends a crafted headers message with a CompactSize count indicating ~1,409 entries (e.g., 0xfd 0x81 0x05 in little-endian). The node's deserializer allocates buffer space for 1,409 headers against the generic preallocation ceiling before validating the actual protocol limit of 160, forcing the node to allocate and parse ~8.8x more data than intended. Alternatively, the attacker sends a block message whose coinbase input declares a large nSpendsSapling value (e.g., 5,681), causing the node to pre-allocate ~5,681 Sapling spend entries before the consensus rule (coinbase has zero Sapling spends) is enforced. By repeating such messages across multiple concurrent peer connections (fan-in), the attacker can exhaust available memory and CPU on the node, degrading its ability to process legitimate peer traffic.

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

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

Alert me

AnalysisAIv1 – May 07, 2026

Allocation amplification in Zebra network deserializers allows unauthenticated remote peers to force excessive memory preallocation and parsing overhead across multiple message types (headers, blocks, transactions) by exploiting the use of generic transport/block-size ceilings instead of protocol-specific limits. An attacker can trigger 8.8x oversized header allocations, unbounded equihash solution parsing, and inflated Sapling spend vector allocations on inbound peer messages, causing denial of service through cumulative per-connection and multi-peer fan-in effects. CVSS 5.3 (AV:N/AC:L/PR:N/UI:N) indicates network-accessible, unauthenticated exploitation of default configurations; no public exploit identified at time of analysis, but vendor-released patch available in Zebra 4.4.0.

RemediationAI

Node operators should upgrade to Zebra 4.4.0 or later immediately. Vendor-released patch: Zebra 4.4.0 (pkg:rust/zebrad 4.4.0, pkg:rust/zebra-network 6.0.0, pkg:rust/zebra-chain 7.0.0). The fix validates consensus and protocol limits before allocating buffers: coinbase Sapling spend counts are validated before allocation, coinbase script byte sizes (2-100 bytes) are enforced pre-deserialization, equihash solution sizes are checked before allocation, and the read_headers() path enforces the 160-entry protocol ceiling on inbound. No workarounds exist. For users unable to upgrade immediately, the only compensating control is to restrict inbound peer connections to a small, trusted set (e.g., via firewall or node configuration to allow only known peer addresses), though this breaks peer-to-peer functionality and is not recommended as a long-term solution. The upgrade is straightforward (binary replacement or Rust cargo update) and poses no consensus risk since the fix only tightens validation. See https://github.com/ZcashFoundation/zebra/security/advisories/GHSA-438q-jx8f-cccv for advisory details and https://github.com/ZcashFoundation/zebra/pull/10525, #10526, #10527, #10528 for code changes.

Affected Packages

cargo zebra-chain fix: 7.0.0
cargo zebra-network fix: 6.0.0
cargo zebrad fix: 4.4.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 3 packages in cargo

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

Technical ContextAI · show details

Zebra's network codec implements inbound deserialization using TrustedPreallocate and generic Vec<T> unmarshaling to bound message parsing. The vulnerability stems from a cascading-limit anti-pattern: the deserializer allocates buffers against loose, generic ceilings (2 MiB transport message size or block-size caps) before tighter protocol or consensus rules are enforced. Four specific cases were identified. First, read_headers() uses TrustedPreallocate for CountedHeader vectors, which allows up to ~1,409 entries per message via the generic preallocation path; however, the actual protocol limit MAX_FIND_BLOCK_HEADERS_RESULTS = 160 is only enforced on the send side, creating an 8.8x gap. Second, Solution::zcash_deserialize() decodes equihash solutions as generic Vec<u8> and validates the exact consensus size (1344 bytes mainnet/testnet, 36 bytes regtest) only post-deserialization in Solution::from_bytes(), allowing inflate to block-size ceiling. Third, V5/V4 transaction spend_prefixes and shielded_spends are allocated with block-size-derived ceilings (~5,681 and ~5,208 entries respectively) before the consensus rule that coinbase transactions contain zero Sapling spends is enforced. Fourth, Input::zcash_deserialize() reads coinbase scripts as generic Vec<u8> up to message-size cap before enforcing the consensus rule that coinbase scripts are 2-100 bytes. All four cases violate the principle of validate-before-allocate, deferring tight bounds checking to after resource commitment. The affected CPE strings (pkg:rust/zebra-network, pkg:rust/zebrad, pkg:rust/zebra-chain) map to the Rust ecosystem components responsible for network I/O and deserialization. CWE-770 (Allocation of Resources Without Limits or Throttling) correctly categorizes this pattern.

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 5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Primary rating from Vendor (https://github.com/ZcashFoundation/zebra) · only source for this CVE.

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

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

DescriptionCVE.org

CVE-2026-44500: Allocation Amplification in Inbound Network Deserializers

Summary

Several inbound deserialization paths in Zebra allocated buffers sized against generic transport or block-size ceilings before the tighter protocol or consensus limits were enforced. An unauthenticated or post-handshake peer could therefore force the node to preallocate and parse for orders of magnitude more data than the protocol intended, across headers messages, equihash solutions in block headers, Sapling spend vectors in V5/V4 transactions, and coinbase script bytes in blocks.

Severity

Moderate - This is a Denial-of-Service Vulnerability that could allow a malicious peer to amplify per-message memory and parse cost on Zebra nodes, with effects amplified by multi-peer fan-in.

Each individual case is bounded by the 2 MiB transport ceiling or the block-size cap, so no single message causes unbounded allocation, but the cumulative gap between intended and actual limits is significant.

Affected Versions

All Zebra versions prior to 4.4.0.

Description

Zebra's network codec uses TrustedPreallocate and generic Vec deserialization to bound inbound message parsing. In several places the bound used at the deserializer was the generic transport or block-size ceiling rather than the tighter protocol or consensus rule that applies to the field, so allocation happened first and the real limit was only enforced afterwards. Four such cases were identified:

  • headers message receive cap. read_headers() deserialized the CountedHeader vector via the generic TrustedPreallocate path, which allowed up to ~1,409 entries per message. The protocol ceiling MAX_FIND_BLOCK_HEADERS_RESULTS = 160 was only used on the send side, giving an ~8.8x preallocation gap on receive. Reachable before the version handshake completes since the codec is installed on raw bytes.
  • Equihash solution length. Solution::zcash_deserialize decoded the solution as a generic Vec<u8> and only checked the exact consensus size (1344 bytes mainnet/testnet, 36 bytes regtest) afterwards in Solution::from_bytes. A single fixed-size header field could be inflated to nearly the full block-size ceiling before rejection.
  • Sapling spend vectors in coinbase transactions. V5 spend_prefixes and V4 shielded_spends were allocated generically with block-size-derived ceilings (~5,681 / ~5,208 entries) before the consensus rule that coinbase transactions have zero Sapling spends was enforced in the verifier.
  • Coinbase script bytes. Input::zcash_deserialize() read the coinbase script as a generic Vec<u8> up to the message-size cap before enforcing the consensus rule that coinbase scripts are between 2 and 100 bytes.

An attacker could exploit this by:

  • Opening an inbound TCP connection (and, for the latter three cases, completing the version handshake).
  • Sending one of: a headers message with a CompactSize count up to ~1,409, a block whose header carries an inflated equihash CompactSize, a tx declaring a coinbase input with a large nSpendsSapling, or a block with a coinbase input whose script length is near the message-size ceiling.
  • The deserializer allocates against the loose ceiling, parses, and only then rejects.

Impact

Denial of Service

  • Attack Vector: Network.
  • Effect: Amplified per-message allocation and parse cost on inbound peer messages, stackable across concurrent connections. The concrete effect will be influenced by how much memory Zebra has available.
  • Scope: Any affected Zebra node.

Fixed Versions

This issue is fixed in Zebra 4.4.0.

Mitigation

Users should upgrade to Zebra 4.4.0 or later immediately.

There are no known workarounds for this issue. Immediate upgrade is the only way to remove the amplified allocation surface on inbound peer messages.

Credits

Zebra thanks @Zk-nd3r for finding and reporting the issues.

Threat Intelligence Overview

EPSS Score
0.0%
Top 86% exploitable
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium
NVD CVE.org EPSS Vulnrichment GHSA GitHub

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.0%
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
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.

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

Affected Products (CPE)CVE.org

pkg:rust/zebra-network
pkg:rust/zebrad
pkg:rust/zebra-chain

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