{
  "id": "CVE-2026-54496",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-54496",
  "published_at": "2026-07-17T16:59:06.809Z",
  "title": "Missing copy constraint in halo2_gadgets variable-base scalar multiplication allows under-constrained base, breaking Orchard Action circuit soundness",
  "vendor": "ZcashFoundation",
  "product": "zebra",
  "cvss": {
    "score": 9.3,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:L"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-345",
  "cvss_by_source": {
    "cna": 9.3
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "ZcashFoundation",
        "product": "zebra",
        "ranges": [
          "\u003c 5.0.0"
        ],
        "fixed_in": [
          "5.0.0"
        ]
      },
      {
        "vendor": "zcash",
        "product": "halo2_gadgets",
        "ranges": [
          "\u003c 0.5.0"
        ],
        "fixed_in": [
          "0.5.0"
        ]
      },
      {
        "vendor": "zcash",
        "product": "orchard",
        "ranges": [
          "\u003c 0.14.0"
        ],
        "fixed_in": [
          "0.14.0"
        ]
      },
      {
        "vendor": "zcash",
        "product": "librustzcash",
        "ranges": [
          "\u003c 0.28.0"
        ],
        "fixed_in": [
          "0.28.0"
        ]
      },
      {
        "vendor": "zcash",
        "product": "zcash",
        "ranges": [
          "\u003c 6.20.0"
        ],
        "fixed_in": [
          "6.20.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade zebra to 5.0.0 or later.",
      "Upgrade halo2_gadgets to 0.5.0 or later.",
      "Upgrade orchard to 0.14.0 or later.",
      "Upgrade librustzcash to 0.28.0 or later.",
      "Upgrade zcash to 6.20.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/ZcashFoundation/zebra/security/advisories/GHSA-ww9q-8r59-xv46"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/ZcashFoundation/zebra/releases/tag/v5.0.0"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/zcash/halo2/releases/tag/halo2_gadgets-0.5.0"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/zcash/librustzcash/releases/tag/zcash_primitives-0.28.0"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/zcash/orchard/releases/tag/0.14.0"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/zcash/zcash/releases/tag/v6.20.0"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
