{"answers":{"affected":"8 open source packages ship an affected version, including halo2_gadgets, orchard and zcash_primitives.","exploited":"There is no known exploitation of CVE-2026-54496 in the wild and no public exploit code.","fix":"Upgrade halo2_gadgets to 0.5.0 or later.","what":"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."},"fix_prompt":"Check this codebase for CVE-2026-54496 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: There is no known exploitation of CVE-2026-54496 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- halo2_gadgets (crates.io): affected all versions; fixed in 0.5.0\n- halo2_gadgets (crates.io): affected all versions; fixed in 0.5.0\n- orchard (crates.io): affected all versions; fixed in 0.14.0\n- orchard (crates.io): affected all versions; fixed in 0.14.0\n- zcash_primitives (crates.io): affected all versions; fixed in 0.28.0\n- zcash_primitives (crates.io): affected all versions; fixed in 0.28.0\n- zebrad (crates.io): affected all versions; fixed in 5.0.0\n- zebrad (crates.io): affected all versions; fixed in 5.0.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-54496/ (Markdown: https://insights.sbomify.com/CVE-2026-54496/index.md)","id":"CVE-2026-54496","markdown":"https://insights.sbomify.com/CVE-2026-54496/index.md","name":"CVE-2026-54496","record":{"aliases":["GHSA-ww9q-8r59-xv46"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Zcash cryptographic library","requires_auth":"none","summary":"A missing copy constraint in Zcash's halo2_gadgets allows malicious provers to bypass diversified-address-integrity checks in Orchard Action circuits.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":9.3,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:L","version":"3.1"},"cwes":[{"id":"CWE-345","name":"Insufficient Verification of Data Authenticity"}],"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.","ecosystems":["crates.io"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Zebra: Missing copy constraint in halo2_gadgets variable-base scalar multiplication allows under-constrained base, breaking Orchard Action circuit soundness","id":"CVE-2026-54496","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"crates.io","product":null,"products":[],"type":"other","year":"2026"},"n_packages":8,"n_references":7,"next":{"headline":"view_component: Reused Component Instances Retain Stale Render Context","id":"CVE-2026-54497"},"packages":[{"ecosystem":"crates.io","fixed":["0.5.0"],"introduced":["0"],"last_affected":[],"package":"halo2_gadgets","purl":null,"source":"GHSA-ww9q-8r59-xv46"},{"ecosystem":"crates.io","fixed":["0.5.0"],"introduced":["0"],"last_affected":[],"package":"halo2_gadgets","purl":"pkg:cargo/halo2_gadgets","source":"GHSA-ww9q-8r59-xv46"},{"ecosystem":"crates.io","fixed":["0.14.0"],"introduced":["0"],"last_affected":[],"package":"orchard","purl":null,"source":"GHSA-ww9q-8r59-xv46"},{"ecosystem":"crates.io","fixed":["0.14.0"],"introduced":["0"],"last_affected":[],"package":"orchard","purl":"pkg:cargo/orchard","source":"GHSA-ww9q-8r59-xv46"},{"ecosystem":"crates.io","fixed":["0.28.0"],"introduced":["0"],"last_affected":[],"package":"zcash_primitives","purl":null,"source":"GHSA-ww9q-8r59-xv46"},{"ecosystem":"crates.io","fixed":["0.28.0"],"introduced":["0"],"last_affected":[],"package":"zcash_primitives","purl":"pkg:cargo/zcash_primitives","source":"GHSA-ww9q-8r59-xv46"},{"ecosystem":"crates.io","fixed":["5.0.0"],"introduced":["0"],"last_affected":[],"package":"zebrad","purl":null,"source":"GHSA-ww9q-8r59-xv46"},{"ecosystem":"crates.io","fixed":["5.0.0"],"introduced":["0"],"last_affected":[],"package":"zebrad","purl":"pkg:cargo/zebrad","source":"GHSA-ww9q-8r59-xv46"}],"prev":{"headline":"Cross-namespace FeatureFlagSource and InProcessConfiguration resolution exposes spec contents on multi-tenant clusters","id":"CVE-2026-54495"},"products":["halo2_gadgets","librustzcash","orchard","zcash","zebra"],"published":"2026-07-17","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-17","vendors":["ZcashFoundation","zcash"]},"summary":"A missing copy constraint in Zcash's halo2_gadgets allows malicious provers to bypass diversified-address-integrity checks in Orchard Action circuits.","url":"https://insights.sbomify.com/CVE-2026-54496/"}