CVE-2026-54496
Missing copy constraint in halo2_gadgets variable-base scalar multiplication allows under-constrained base, breaking Orchard Action circuit soundness
Also known as GHSA-ww9q-8r59-xv46
Mitigation
- Upgrade zebrad to 5.0.0 or later.
- Upgrade halo2_gadgets to 0.5.0 or later.
- Upgrade orchard to 0.14.0 or later.
- Upgrade zcash_primitives to 0.28.0 or later.
Who should check
- Projects that depend on crates.io package zebrad (< 5.0.0)
- Projects that depend on crates.io package halo2_gadgets (< 0.5.0)
- Projects that depend on crates.io package orchard (< 0.14.0)
- Projects that depend on crates.io package zcash_primitives (< 0.28.0)
- Anyone running ZcashFoundation zebra < 5.0.0
- Anyone running zcash halo2_gadgets < 0.5.0
- Anyone running zcash orchard < 0.14.0
- Anyone running librustzcash < 0.28.0
Vulnerability facts
- Affected
- zebrad < 5.0.0; halo2_gadgets < 0.5.0; orchard < 0.14.0; zcash_primitives < 0.28.0
- Fixed in
- 5.0.0, 0.5.0, 0.14.0, 0.28.0
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 9.3 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:LOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Changed (impact reaches other components)
- Confidentiality impact: None
- Integrity impact: High
- Availability impact: Low
- EPSS
- 0.32% chance of exploitation in 30 days (percentile 17, 2026-11-26)
- CWE
- CWE-345
- Modified
Description
ZEBRA is a Zcash node written entirely in Rust. Prior to zebrad 5.0.0, halo2_gadgets 0.5.0, orchard 0.14.0, zcash_primitives 0.28.0, and zcashd 6.20.0, the variable-base scalar multiplication gadget in halo2_gadgets/src/ecc/chip/mul/incomplete.rs used assign_advice() for the base point without a copy constraint tying it to the actual base, allowing a malicious prover to produce a valid proof for an Orchard Action with an under-constrained base point and bypass the diversified-address-integrity check that binds pk_d, g_d, ivk, the nullifier (nf), and the spend validating key (ak) to the note being spent. This issue is fixed in zebrad 5.0.0, halo2_gadgets 0.5.0, orchard 0.14.0, zcash_primitives 0.28.0, and zcashd 6.20.0.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| crates.io zebrad | < 5.0.0 | 5.0.0 | osv |
| crates.io halo2_gadgets | < 0.5.0 | 0.5.0 | osv |
| crates.io orchard | < 0.14.0 | 0.14.0 | osv |
| crates.io zcash_primitives | < 0.28.0 | 0.28.0 | osv |
| ZcashFoundation zebra | < 5.0.0 | — | cvelist |
| zcash halo2_gadgets | < 0.5.0 | — | cvelist |
| zcash orchard | < 0.14.0 | — | cvelist |
| librustzcash | < 0.28.0 | — | cvelist |
| zcash | < 6.20.0 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-54496. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-54496.md Affected: zebrad < 5.0.0; halo2_gadgets < 0.5.0; orchard < 0.14.0; zcash_primitives < 0.28.0 Fixed in: 5.0.0, 0.5.0, 0.14.0, 0.28.0 Steps: 1. Search this machine and project for zebrad (crates.io), halo2_gadgets (crates.io), orchard (crates.io), zcash_primitives (crates.io), ZcashFoundation zebra, zcash halo2_gadgets: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Other
- https://github.com/ZcashFoundation/zebra/releases/tag/v5.0.0
- https://github.com/zcash/halo2/releases/tag/halo2_gadgets-0.5.0
- https://github.com/zcash/librustzcash/releases/tag/zcash_primitives-0.28.0
- https://github.com/zcash/orchard/releases/tag/0.14.0
- https://github.com/zcash/zcash/releases/tag/v6.20.0
- https://zfnd.org/zebra-4-5-3-and-5-0-0-emergency-soft-fork-and-nu6-2-activation
- https://github.com/ZcashFoundation/zebra
FAQ
Is CVE-2026-54496 being exploited?
There is no confirmed exploitation: CVE-2026-54496 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-54496?
Critical: CVSS 9.3 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2026-54496?
zebrad < 5.0.0; halo2_gadgets < 0.5.0; orchard < 0.14.0; zcash_primitives < 0.28.0.
Is there a fix for CVE-2026-54496?
Yes. Fixed in 5.0.0, 0.5.0, 0.14.0, 0.28.0. Upgrade zebrad to 5.0.0 or later. Upgrade halo2_gadgets to 0.5.0 or later. Upgrade orchard to 0.14.0 or later. Upgrade zcash_primitives to 0.28.0 or later.
How do I check if I'm affected by CVE-2026-54496?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.