{"cve":"CVE-2026-40881","nvd":{"published":"2026-04-21T20:17:01.850","modified":"2026-10-26T21:10:00.170","status":"Analyzed","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_v4":{"vector":"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","score":6.3},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-770"],"references":["https://github.com/ZcashFoundation/zebra/security/advisories/GHSA-xr93-pcq3-pxf8","https://github.com/ZcashFoundation/zebra/security/advisories/GHSA-xr93-pcq3-pxf8"],"products":["zfnd:zebra-network","zfnd:zebrad"],"source":"nvd","synced_at":"2026-10-26T21:38:48.864438205+00:00"},"epss":{"cve":"CVE-2026-40881","score":0.00263,"percentile":0.17928,"date":"2026-10-26"},"kev":null,"osv":[{"id":"GHSA-xr93-pcq3-pxf8","url":"https://osv.dev/vulnerability/GHSA-xr93-pcq3-pxf8","summary":"Zebra: addr/addrv2 Deserialization Resource Exhaustion","modified":"2026-05-05T16:12:23.539848Z","packages":[{"ecosystem":"crates.io","name":"zebrad","purl":"pkg:cargo/zebrad","ranges":["<4.3.1"],"fixed":["4.3.1"]},{"ecosystem":"crates.io","name":"zebra-network","purl":"pkg:cargo/zebra-network","ranges":["<5.0.1"],"fixed":["5.0.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}