CVE-2026-40881: CWE-770: Allocation of Resources Without Limits or Throttling in ZcashFoundation zebrad
ZEBRA is a Zcash node written entirely in Rust. Prior to zebrad version 4.3.0 and zebra-network version 5.0.1, when deserializing addr or addrv2 messages, which contain vectors of addresses, Zebra would fully deserialize them up to a maximum length (over 233,000) that was derived from the 2 MiB message size limit. This is much larger than the actual limit of 1,000 messages from the specification. Zebra would eventually check that limit but, at that point, the memory for the larger vector was already allocated. An attacker could cause out-of-memory aborts in Zebra by sending multiple such messages over different connections. This vulnerability is fixed in zebrad version 4.3.0 and zebra-network version 5.0.1.
AI Analysis
Technical Summary
Zebrad, a Zcash node implementation in Rust, improperly handles deserialization of addr and addrv2 messages containing vectors of addresses. It allocates memory based on a maximum length derived from a 2 MiB message size limit (over 233,000 entries), which exceeds the protocol's actual limit of 1,000 messages. Although the software eventually checks the correct limit, the large memory allocation occurs beforehand, enabling an attacker to cause out-of-memory conditions by sending multiple such messages across different connections. This is classified as CWE-770: Allocation of Resources Without Limits or Throttling. The issue is resolved in zebrad 4.3.0 and zebra-network 5.0.1.
Potential Impact
An attacker can cause zebrad nodes to consume excessive memory by sending specially crafted addr or addrv2 messages, potentially leading to out-of-memory aborts and denial of service. This could disrupt node availability but does not indicate direct compromise or data loss. No known exploits in the wild have been reported.
Mitigation Recommendations
The vulnerability is fixed in zebrad version 4.3.0 and zebra-network version 5.0.1. Users should upgrade to these or later versions to remediate the issue. Patch status is not explicitly confirmed in the provided data, so verify with the official vendor advisory for the latest remediation guidance.
CVE-2026-40881: CWE-770: Allocation of Resources Without Limits or Throttling in ZcashFoundation zebrad
Description
ZEBRA is a Zcash node written entirely in Rust. Prior to zebrad version 4.3.0 and zebra-network version 5.0.1, when deserializing addr or addrv2 messages, which contain vectors of addresses, Zebra would fully deserialize them up to a maximum length (over 233,000) that was derived from the 2 MiB message size limit. This is much larger than the actual limit of 1,000 messages from the specification. Zebra would eventually check that limit but, at that point, the memory for the larger vector was already allocated. An attacker could cause out-of-memory aborts in Zebra by sending multiple such messages over different connections. This vulnerability is fixed in zebrad version 4.3.0 and zebra-network version 5.0.1.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Zebrad, a Zcash node implementation in Rust, improperly handles deserialization of addr and addrv2 messages containing vectors of addresses. It allocates memory based on a maximum length derived from a 2 MiB message size limit (over 233,000 entries), which exceeds the protocol's actual limit of 1,000 messages. Although the software eventually checks the correct limit, the large memory allocation occurs beforehand, enabling an attacker to cause out-of-memory conditions by sending multiple such messages across different connections. This is classified as CWE-770: Allocation of Resources Without Limits or Throttling. The issue is resolved in zebrad 4.3.0 and zebra-network 5.0.1.
Potential Impact
An attacker can cause zebrad nodes to consume excessive memory by sending specially crafted addr or addrv2 messages, potentially leading to out-of-memory aborts and denial of service. This could disrupt node availability but does not indicate direct compromise or data loss. No known exploits in the wild have been reported.
Mitigation Recommendations
The vulnerability is fixed in zebrad version 4.3.0 and zebra-network version 5.0.1. Users should upgrade to these or later versions to remediate the issue. Patch status is not explicitly confirmed in the provided data, so verify with the official vendor advisory for the latest remediation guidance.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-15T15:57:41.719Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69e7d08b19fe3cd2cdf3fbb0
Added to database: 4/21/2026, 7:31:23 PM
Last enriched: 4/21/2026, 7:47:16 PM
Last updated: 4/21/2026, 9:53:44 PM
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.