CVE-2026-44500 — Vulnerability in zebra-chain — CVE Details
Zebra Vulnerable to Allocation Amplification in Inbound Network Deserializers
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.42%). Schedule for your next planned update.
Does your project use an affected zebra-chain version?
Paste your Cargo.lock to check it for CVE-2026-44500 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
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:
headersmessage receive cap.read_headers()deserialized theCountedHeadervector via the genericTrustedPreallocatepath, which allowed up to ~1,409 entries per message. The protocol ceilingMAX_FIND_BLOCK_HEADERS_RESULTS = 160was 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_deserializedecoded the solution as a genericVec<u8>and only checked the exact consensus size (1344 bytes mainnet/testnet, 36 bytes regtest) afterwards inSolution::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_prefixesand V4shielded_spendswere 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 genericVec<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
headersmessage with a CompactSize count up to ~1,409, ablockwhose header carries an inflated equihash CompactSize, atxdeclaring a coinbase input with a largenSpendsSapling, or ablockwith 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.
Advisory Timeline
- First published May 7, 2026 (203 days ago).
- Last revised May 13, 2026 — 6 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
cargo update -p zebra-chain --precise 7.0.0
cargo update -p zebra-network --precise 6.0.0
cargo update -p zebrad --precise 4.4.0
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (3)
Affects 1 ecosystem: crates.io (3).
| Package | Fixed In |
|---|---|
| zebra-chain crates.io · Affected: All versions | 7.0.0 |
| zebra-network crates.io · Affected: All versions | 6.0.0 |
| zebrad crates.io · Affected: All versions | 4.4.0 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-770Allocation of Resources Without LimitsMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 5.3 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
References
Frequently Asked Questions
- What is CVE-2026-44500?
- Zebra Vulnerable to Allocation Amplification in Inbound Network Deserializers. This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 5.3/10).
- How do I check if my project is affected by CVE-2026-44500?
- CVE-2026-44500 affects zebra-chain, zebra-network and zebrad. It has a 0.4% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-44500 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation requires specific conditions, or the impact is limited.
This is a below-median EPSS score — only 27.5% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2026-41584CRITICAL
Zebra has rk Identity Point Panic in Transaction Verification
- CVE-2026-44498CRITICAL
Zebra's Block Validator Undercounts Coinbase and P2SH Sigops
- CVE-2026-104435CRITICAL
Zebra v4.4.0 still accepts V5 SIGHASH_SINGLE without a corresponding output
- CVE-2026-34202CRITICAL
Zebra node crash — V5 transaction hash panic (P2P reachable)
- CVE-2026-54496CRITICAL
Zebra: Missing copy constraint in halo2_gadgets variable-base scalar multiplication allows under-constrained base, breaking Orchard Action circuit soundness
- CVE-2026-52829HIGH
Zebra Address Book Aborted by IPv4-Mapped Mempool Misbehavior Update
- CVE-2026-40880HIGH
Zebra: Cached Mempool Verification Bypasses Consensus Rules for Ahead-of-Tip Blocks
- CVE-2026-52731MEDIUM
zebrad has full node denial of service via non-ASCII LongPollId in getblocktemplate