CVE-2026-52731
Medium 6.5No known exploitationFix availableZEBRA: Full node denial of service via non-ASCII LongPollId in getblocktemplate
Vendor advisory: GHSA-qv2r-v3mx-f4pf
Record last updated
CVSS score
Medium on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 46% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
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.
Weakness: CWE-248
Patching and mitigation
- Patch status
- Fix available (source: GitHub Advisory Database)
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- github.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| ZcashFoundation | zebra | < 4.5.0 | Not documented | CVE Program |
| ZcashFoundation | zebra-rpc | < 8.0.0 | Not documented | CVE Program |
| rust | zebra-rpc | all versions up to and including 7.0.0 | 8.0.0 | GitHub Advisory Database |
| rust | zebrad | all versions up to and including 4.4.1 | 4.5.0 | GitHub Advisory Database |
Timeline
Disclosure
CVE record published by GitHub_M
Source: CVE Program (opens in a new tab)
Patch
Fix documented by GitHub Advisory Database
Vendor guidance and references
- https://github.com/ZcashFoundation/zebra/commit/1440b43ca7df59aca948090d45117557b217a6cd (opens in a new tab)x_refsource_misc
- https://github.com/ZcashFoundation/zebra/releases/tag/v4.5.0 (opens in a new tab)x_refsource_misc
- https://github.com/ZcashFoundation/zebra/security/advisories/GHSA-qv2r-v3mx-f4pf (opens in a new tab)x_refsource_confirm
- GitHub Advisory GHSA-qv2r-v3mx-f4pf (opens in a new tab)github-advisory