CVE-2026-52731 PUBLISHED

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

Assigner: GitHub_M
Reserved: 08.06.2026 Published: 18.08.2026 Updated: 18.08.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS Score: 6.5

Product Status

Vendor ZcashFoundation
Product zebra
Versions
  • Version < 4.5.0 is affected
Vendor ZcashFoundation
Product zebra-rpc
Versions
  • Version < 8.0.0 is affected

References

Problem Types

  • CWE-248: Uncaught Exception CWE