Skip to content
OpenAdvisories
Medium · 6.5 CVE-2026-52731 EUVD-2026-61169GHSA-qv2r-v3mx-f4pf

ZEBRA: Full node denial of service via non-ASCII LongPollId in getblocktemplate

Published Aug 18, 2026 · Updated Aug 18, 2026 · Assigned by GitHub_M

Description

ZEBRA is a Zcash node written entirely in Rust. Prior to 4.5.0, an attacker authenticated to an enabled Zebra RPC endpoint can terminate zebrad by supplying a getblocktemplate LongPollId containing multi-byte UTF-8 characters. In zebra-rpc/src/methods/types/long_poll.rs, LongPollId::from_str originally checked the input byte length and then sliced fixed byte ranges to parse encoded fields. A slice boundary can land inside a multi-byte character and trigger Rust's byte index is not a char boundary panic. Zebra release builds use panic equals abort, so one malformed authenticated RPC request terminates the entire node process and can be repeated after restart. This issue is fixed in version 4.5.0.

Affected products

VendorProductAffectedFixed
ZcashFoundation zebra < 4.5.0 —
ZcashFoundation zebra-rpc < 8.0.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io zebra-rpc < 8.0.0 8.0.0 GHSA-qv2r-v3mx-f4pf
crates.io zebrad < 4.5.0 4.5.0 GHSA-qv2r-v3mx-f4pf

References