Skip to main content
VulnerabilityPublished

CVE-2026-52731: Zebra rpc · zebrad has full node denial of service via non-ASCII LongPollId in getblocktemplate

Affects zebra-rpcSource GCVE Database

0
Compare
Authoritative record:CVE-2026-52731· Medium 6.5

Not known to be exploited · CVSS 6.5 Medium : upgrade to 8.0.0 when convenient.

Data as of 30 Oct 2026, 06:59 UTC

CVSS 3.1 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.5% chance of exploitation in 30 days – higher than 44% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 8.0.0, 4.5.0
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 18 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.

What to do

Upgrade zebra-rpc to 8.0.0; zebrad to 4.5.0.

Affected software

ProductAffectedFixed in
crates.iozebra-rpcAffected
  • <8.0.0
Fixed in
  • 8.0.0
crates.iozebradAffected
  • <4.5.0
Fixed in
  • 4.5.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A patch is available in zebra-rpc 8.0.0 and zebrad 4.5.0 that fixes the unsafe string slicing. Until patched, users should disable the RPC server by removing rpc.listen_addr from zebrad.toml or ensure enable_cookie_auth is true and restrict access to the .cookie file to prevent unauthorized RPC access. Additionally, placing a reverse proxy in front of the RPC port to validate that LongPollId parameters contain only ASCII characters can mitigate exploitation.

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.

References

Community reviews

Loading reviews…