# CVE-2026-40881: Zebra: addr/addrv2 Deserialization Resource Exhaustion

- Severity: Medium 6.3 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 21% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-18T00:42:05.000Z
- Modified: 2026-10-26T21:10:00.170Z
- Also known as: GHSA-xr93-pcq3-pxf8
- Weaknesses: CWE-770
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- ZcashFoundation zebrad: < 4.3.1
- ZcashFoundation zebra-network: < 5.0.1
- zebrad (crates.io): before 4.3.1
- zebra-network (crates.io): before 5.0.1
- zfnd zebra-network: before 5.0.1
- zfnd zebrad: before 4.3.1

## Every score

- GitHub_M: CVSS:4.0 6.3 Medium `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/ZcashFoundation/zebra/security/advisories/GHSA-xr93-pcq3-pxf8> (exploit, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-40881> (advisory)
- <https://github.com/ZcashFoundation/zebra> (package)

## Sources

- CVE List: [CVE-2026-40881](https://www.cve.org/CVERecord?id=CVE-2026-40881), CVE Terms of Use, modified 2026-04-21
- GitHub Advisory Database: [GHSA-xr93-pcq3-pxf8](https://github.com/advisories/GHSA-xr93-pcq3-pxf8), CC-BY-4.0, modified 2026-05-05
- NVD: [CVE-2026-40881](https://nvd.nist.gov/vuln/detail/CVE-2026-40881), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-40881 · Whole record: https://cve.day/CVE-2026-40881.json · Rebuilt by cve.day 2026-11-25T22:59:19.139Z
