# CVE-2026-40881

> Vulnerability · severity: **HIGH** (CVSS 7.5).

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

## Key facts

- **CVE ID:** CVE-2026-40881
- **Published:** 2026-04-21
- **CVSS severity:** HIGH
- **CVSS base score:** 7.5
- **CWE codes:** CWE-770

## Affected products

- `zfnd:zebra-network`
- `zfnd:zebrad`

## Primary sources

- NIST NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-40881

## Citation

> AI Analytics. CVE-2026-40881. Retrieved 2026-08-31 from https://api.ai-analytics.org/cve/CVE-2026-40881. Derived from NIST NVD. Licensed CC0.

---

*[Dataset catalog](https://api.ai-analytics.org/datasets/) · [AI Analytics](https://api.ai-analytics.org/) · CC0 1.0*