CVE-2026-40881

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

Configuration 1 (hide)

OR cpe:2.3:a:zfnd:zebra-network:*:*:*:*:*:rust:*:*
cpe:2.3:a:zfnd:zebrad:*:*:*:*:*:rust:*:*

History

No history.

Information

Published : 2026-04-21 20:17

Updated : 2026-06-17 10:45


NVD link : CVE-2026-40881

Mitre link : CVE-2026-40881

CVE.ORG link : CVE-2026-40881


JSON object : View

Products Affected

zfnd

  • zebra-network
  • zebrad
CWE
CWE-770

Allocation of Resources Without Limits or Throttling