Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Zfnd | Zebra-Network | < 5.0.1 |
| Zfnd | Zebrad | < 4.3.1 |
Related Weaknesses (CWE)
References
- https://github.com/ZcashFoundation/zebra/security/advisories/GHSA-xr93-pcq3-pxf8Vendor Advisory
- https://github.com/ZcashFoundation/zebra/security/advisories/GHSA-xr93-pcq3-pxf8Vendor Advisory
FAQ
What is CVE-2026-40881?
CVE-2026-40881 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 wou...
How severe is CVE-2026-40881?
CVE-2026-40881 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-40881?
Check the references section above for vendor advisories and patch information. Affected products include: Zfnd Zebra-Network, Zfnd Zebrad.