CVE-2026-54496 Zebra: Missing copy constraint in halo2_gadgets variable-base scalar multiplication allows under-constrained base, breaking Orchard Action circuit soundness

Critical 9.3 Published Updated

A missing copy constraint in Zcash's halo2_gadgets allows malicious provers to bypass diversified-address-integrity checks in Orchard Action circuits.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-54496?

CVE-2026-54496 is a critical vulnerability in ZcashFoundation halo2_gadgets, published on 17 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-345

Which versions are affected by CVE-2026-54496?

8 open source packages ship an affected version, including halo2_gadgets, orchard and zcash_primitives.

PackageAffectedFixed in
halo2_gadgets crates.ioAll versions0.5.0
halo2_gadgets crates.ioAll versions0.5.0
orchard crates.ioAll versions0.14.0
orchard crates.ioAll versions0.14.0
zcash_primitives crates.ioAll versions0.28.0
zcash_primitives crates.ioAll versions0.28.0
2 more packages
zebrad crates.ioAll versions5.0.0
zebrad crates.ioAll versions5.0.0

How do I fix CVE-2026-54496?

Upgrade halo2_gadgets to 0.5.0 or later.

Is CVE-2026-54496 being exploited?

There is no known exploitation of CVE-2026-54496 in the wild and no public exploit code.

Sources

Also known as GHSA-ww9q-8r59-xv46.

Is CVE-2026-54496 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free