Missing copy constraint in halo2_gadgets variable-base scalar multiplication allows under-constrained base, breaking Orchard Action circuit soundness
CVE-2026-54496Published 17 Jul 2026, 16:59 UTC
Real-world risk
6.0/ 10Medium
Schedule in the normal cycle
PreliminaryFrom the CVSS vector only · confidence low
CVSS
9.3
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_M)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| zebraCommon | < 5.0.0 | 5.0.0 |
| halo2_gadgetsNiche | < 0.5.0 | 0.5.0 |
| librustzcashNiche | < 0.28.0 | 0.28.0 |
| orchardNiche | < 0.14.0 | 0.14.0 |
| zcashNiche | < 6.20.0 | 6.20.0 |
What to do
Update to a fixed version: 5.0.0, 0.5.0, 0.28.0, 0.14.0, 6.20.0.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Major data tamperingWrites or changes important data without gaining execution | From the CVSS vector | 0.70 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.2% chance of exploitation in 30 days (percentile 12), as of 2026-12-06.
The arithmetic
- Prerequisites multiplied together1.000
- Threat T1: Nothing known0.850
- 10 × impact 0.7 × prerequisites 1 × threat 0.855.950
- Rounded to one decimal between 0.1 and 106.0
Exploitation and evidence timeline
- 17 Jul 2026 Published
- 3 Dec 2026 Risk 6.0 (cvss fallback)
Weakness
CWE-345
References
- https://github.com/ZcashFoundation/zebra/security/advisories/GHSA-ww9q-8r59-xv46vendor-advisory
- https://github.com/ZcashFoundation/zebra/releases/tag/v5.0.0misc
- https://github.com/zcash/halo2/releases/tag/halo2_gadgets-0.5.0misc
- https://github.com/zcash/librustzcash/releases/tag/zcash_primitives-0.28.0misc
- https://github.com/zcash/orchard/releases/tag/0.14.0misc
- https://github.com/zcash/zcash/releases/tag/v6.20.0misc
- https://zfnd.org/zebra-4-5-3-and-5-0-0-emergency-soft-fork-and-nu6-2-activationmisc
- CVE-2026-54496 on CVE.org