Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-40881: CWE-770: Allocation of Resources Without Limits or Throttling in ZcashFoundation zebrad

0
Medium
VulnerabilityCVE-2026-40881cvecve-2026-40881cwe-770
Published: Tue Apr 21 2026 (04/21/2026, 19:20:53 UTC)
Source: CVE Database V5
Vendor/Project: ZcashFoundation
Product: 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

AILast updated: 04/21/2026, 19:47:16 UTC

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.

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

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