{
  "id": "2026/1776",
  "url": "https://opencryptology.org/2026/1776",
  "original_url": "https://eprint.iacr.org/2026/1776",
  "title": "Cofactor-torsion attacks on hinted scalar multiplications in SNARK circuits",
  "authors": [
    "Youssef El Housni"
  ],
  "affiliations": null,
  "abstract": "Proving an elliptic curve scalar multiplication [k]P= Q ∈ E(Fp) inside a SNARK is much cheaper when the output Q is hinted by the prover and only verified in-circuit, rather than recomputed. The recent scalar multiplication techniques of Eagen, El Housni, Masson and Piellard (Latincrypt 2025) certify a hinted Q with a short lattice reduction (fraction) decomposition of the scalar and a single group identity, and yield the fastest known in-circuit scalar multiplications. We observe that the soundness of this whole family rests on an implicit prime-order hypothesis: the certifying identity is checked over the full group E(Fp), and only when E(Fp) has trivial cofactor does it force Q into the prime-order subgroup. On cofactor curves the certification is unsound. We give two concrete forgery classes against these hinted gadgets: an any-scalar attack that, for a target scalar fixed by the statement, adapts the decomposition so a small rational torsion point cancels from the identity; and a chosen-scalar attack that vanishes the output-side coefficients modulo a small cofactor prime and solves for the scalar afterwards. Both make the gadget accept Q′ = [k]P + T for a non-zero torsion point T as if it were [k]P. We quantify the reachable torsion in terms of the sub-scalar range bound and validate the attacks on widely deployed curves such as BLS12-381, BN254 and BW6-761. The straightforward fix is to check that Q lies in the subgroup but is expensive. We propose a cheaper one that binds the hinted output through a hinted preimage, with the minimal such\nconstant that suffices against each attack model.",
  "category": "Attacks and cryptanalysis",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Cofactor-torsion attacks on hinted scalar multiplications in SNARK circuits” by Youssef El Housni, Cryptology ePrint Archive, Paper 2026/1776, https://eprint.iacr.org/2026/1776. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2026-08-22T14:36:54Z",
    "updated": "2026-08-22T14:36:54Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2026/1776.pdf",
    "sha256": "0f02a361a469ccf7c37af6fe53986cbb4b7f645598c36ae39b232b819d4670a7",
    "size": 486214,
    "source": "wayback",
    "source_date": "2026-08-25T18:32:02Z",
    "maybe_stale": false,
    "newer_on_eprint": false,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2026/1776/versions/20260825T183202Z.pdf",
      "captured_at": "2026-08-25T18:32:02Z",
      "label": "copy captured 2026-08-25",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20260825183202id_/https://eprint.iacr.org/2026/1776.pdf",
      "size": 486214,
      "sha256": "0f02a361a469ccf7c37af6fe53986cbb4b7f645598c36ae39b232b819d4670a7",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260825183202id_/https://eprint.iacr.org/2026/1776.pdf",
      "captured_at": "2026-08-25T18:32:02Z",
      "size": 479196
    }
  ],
  "bibtex": "@misc{cryptoeprint:2026/1776,\n      author = {Youssef El Housni},\n      title = {Cofactor-torsion attacks on hinted scalar multiplications in SNARK circuits},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2026/1776},\n      year = {2026},\n      url = {https://eprint.iacr.org/2026/1776}\n}"
}
