Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. zebra-rpc
  4. ›
  5. CVE-2026-52731

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

July 2, 2026

The getblocktemplate RPC handler panics when parsing a LongPollId parameter that contains non-ASCII (multi-byte UTF-8) characters. The handler performs byte-index string slicing on the user-supplied string, which panics in Rust when a byte index falls within a multi-byte character boundary. Because Zebra’s release profile sets panic = "abort", the panic terminates the entire node process.

References

  • github.com/ZcashFoundation/zebra/blob/d4cd662c716382f6397d2a730148025a1ca79fec/Cargo.toml
  • github.com/ZcashFoundation/zebra/security/advisories/GHSA-qv2r-v3mx-f4pf
  • github.com/advisories/GHSA-qv2r-v3mx-f4pf
  • nvd.nist.gov/vuln/detail/CVE-2026-52731

Code Behaviors & Features

Detect and mitigate CVE-2026-52731 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 8.0.0

Fixed versions

  • 8.0.0

Solution

Upgrade to version 8.0.0 or above.

Impact 6.5 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-248: Uncaught Exception

Source file

cargo/zebra-rpc/CVE-2026-52731.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 18 Jul 2026 00:24:04 +0000.