CVE-2026-40881

MEDIUM CVSS 4.0: 6.3 EPSS 0.27%
Updated Oct 27, 2026
Zfnd
Parameter Value
CVSS 6.3 (MEDIUM)
Affected Versions before 5.0.1
Fixed In 5.0.1
Type CWE-770 (Allocation Without Limits)
Vendor Zfnd
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
Present
Additional conditions required
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
Low
Partial disruption

CVSS Vector v4.0

Vulnerable Products 2

Configuration From (including) Up to (excluding)
Zfnd Zebra-Network
cpe:2.3:a:zfnd:zebra-network:*:*:*:*:*:rust:*:*
— 5.0.1
Zfnd Zebrad
cpe:2.3:a:zfnd:zebrad:*:*:*:*:*:rust:*:*
— 4.3.1