CVE-2026-40881
MEDIUM 6.3CVSS 4.0Zebra: addr/addrv2 Deserialization Resource Exhaustion
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.
- Published
- 21 Apr 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-770
- Also known as
- GHSA-xr93-pcq3-pxf8
- Sources
- NVDJSONOSV GHSA-xr93-pcq3-pxf8JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 6.3 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | zfnd | zebra-networkcpe:2.3:a:zfnd:zebra-network:*:*:*:*:*:rust:*:* |
< 5.0.1 | 5.0.1 |
| NVD | zfnd | zebradcpe:2.3:a:zfnd:zebrad:*:*:*:*:*:rust:*:* |
< 4.3.1 | 4.3.1 |
| OSV | crates.io | zebrad | < 4.3.1 | 4.3.1 |
| OSV | crates.io | zebra-network | < 5.0.1 | 5.0.1 |
References
- https://github.com/ZcashFoundation/zebra/security/advisories/GHSA-xr93-pcq3-pxf8 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-40881 · ADVISORY
- https://github.com/ZcashFoundation/zebra · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 21 Apr 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 18 Apr 2026)