CVE-2026-44500: Zebra network Zebra Vulnerable To Allocation Amplification Vulnerability

MODERATE
Advisory Identifier: GHSA-438q-jx8f-cccv
CVSS 5.3
CWE-770
Published
Advisory Summary

CVE-2026-44500 is a MODERATE (CVSS 5.3) zebra vulnerable to allocation amplification vulnerability (CWE-770: Allocation of Resources Without Limits or Throttling) affecting Zebra network libraries in the crates.io ecosystem. The issue involves zebra vulnerable to allocation amplification in inbound network deserializers. Remediation is available by upgrading affected packages to version 6.0.0, 4.4.0, 7.0.0.

CVE-2026-44500 at a Glance

CVE Identifier CVE-2026-44500
GHSA Identifier GHSA-438q-jx8f-cccv
Severity MODERATE
CVSS v3.1 Base Score 5.3
CWE Classification CWE-770: Allocation of Resources Without Limits or Throttling
Affected Product Zebra network
Package Ecosystem crates.io
Published Date
Last Updated

Security Impact

CVSS: 5.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability Low (A:L)

How to Fix CVE-2026-44500

To remediate this vulnerability, upgrade all affected Zebra network dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

zebra-network fixed: 6.0.0
Upgrade zebra-network to 6.0.0
zebrad fixed: 4.4.0
Upgrade zebrad to 4.4.0
zebra-chain fixed: 7.0.0
Upgrade zebra-chain to 7.0.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for zebra-network

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-44500, inspect your project dependencies for Zebra network:

inspect dependencies for zebra-network

Analyze the terminal output to locate any version of Zebra network in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 6.0.0), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-770: Allocation of Resources Without Limits or Throttling, where the product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated. In Zebra network, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

# 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.

CVE-2026-44500 Affected Zebra network Versions

3 component(s)
Fixed Versions:
6.0.04.4.07.0.0
Product / Package Ecosystem Affected Versions Fixed Version
zebra-network
crates.io
< 6.0.0
6.0.0
zebrad
crates.io
< 4.4.0
4.4.0
zebra-chain
crates.io
< 7.0.0
7.0.0

References

Frequently Asked Questions

What is CVE-2026-44500?
CVE-2026-44500 is a security vulnerability in Zebra network involving Zebra Vulnerable to Allocation Amplification in Inbound Network Deserializers under CWE-770: Allocation of Resources Without Limits or Throttling.
Which Zebra network versions are affected?
Affected versions include releases prior to 6.0.0, 4.4.0, 7.0.0 across affected packages: zebra-network, zebrad, zebra-chain.
What version fixes CVE-2026-44500?
Upgrading to 6.0.0, 4.4.0, 7.0.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is zebra-network affected?
Yes, zebra-network is affected in releases prior to 6.0.0. Upgrade your dependency to 6.0.0 or later.
Is zebrad affected?
Yes, zebrad is affected in releases prior to 4.4.0. Upgrade your dependency to 4.4.0 or later.
What is the CVSS score of CVE-2026-44500?
CVE-2026-44500 has a CVSS v3.1 base score of 5.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.
What CWE is associated with CVE-2026-44500?
CVE-2026-44500 is classified under CWE-770: Allocation of Resources Without Limits or Throttling (The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.).
How can I check crates.io dependencies for CVE-2026-44500?
Run the dependency tree command: 'inspect dependencies for zebra-network'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-438q-jx8f-cccv",
  "modified" : "2026-05-13T13:28:53Z",
  "published" : "2026-05-07T20:55:28Z",
  "aliases" : [ "CVE-2026-44500" ],
  "summary" : "Zebra Vulnerable to Allocation Amplification in Inbound Network Deserializers",
  "details" : "# CVE-2026-44500: Allocation Amplification in Inbound Network Deserializers\n\n## Summary\n\nSeveral 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.\n\n## Severity\n\n**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.\n\nEach 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.\n\n## Affected Versions\n\nAll Zebra versions prior to 4.4.0.\n\n## Description\n\nZebra'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:\n\n- **`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.\n- **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.\n- **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.\n- **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.\n\nAn attacker could exploit this by:\n\n- Opening an inbound TCP connection (and, for the latter three cases, completing the version handshake).\n- 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.\n- The deserializer allocates against the loose ceiling, parses, and only then rejects.\n\n## Impact\n\n**Denial of Service**\n\n- **Attack Vector:** Network.\n- **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.\n- **Scope:** Any affected Zebra node.\n\n## Fixed Versions\n\nThis issue is fixed in Zebra 4.4.0.\n\n## Mitigation\n\nUsers should upgrade to Zebra 4.4.0 or later immediately.\n\nThere are no known workarounds for this issue. Immediate upgrade is the only way to remove the amplified allocation surface on inbound peer messages.\n\n## Credits\n\nZebra thanks @Zk-nd3r for finding and reporting the issues.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "crates.io",
      "name" : "zebra-network"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "6.0.0"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 5.0.2"
    }
  }, {
    "package" : {
      "ecosystem" : "crates.io",
      "name" : "zebrad"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "4.4.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "crates.io",
      "name" : "zebra-chain"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "7.0.0"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 6.0.3"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/ZcashFoundation/zebra/security/advisories/GHSA-438q-jx8f-cccv"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-44500"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/ZcashFoundation/zebra"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ZcashFoundation/zebra/releases/tag/v4.4.0"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-770" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-05-07T20:55:28Z",
    "nvd_published_at" : "2026-05-08T15:17:01Z"
  }
}