{
  "id": "2024/347",
  "url": "https://opencryptology.org/2024/347",
  "original_url": "https://eprint.iacr.org/2024/347",
  "title": "The Algebraic Freelunch: Efficient Gröbner Basis Attacks Against Arithmetization-Oriented Primitives",
  "authors": [
    "Augustin Bariant",
    "Aurélien Boeuf",
    "Axel Lemoine",
    "Irati Manterola Ayala",
    "Morten Øygarden",
    "Léo Perrin",
    "Håvard Raddum"
  ],
  "affiliations": null,
  "abstract": "In this paper, we present a new type of algebraic attack that applies to many recent arithmetization-oriented families of permutations, such as those used in Griffin, Anemoi, ArionHash, and XHash8, whose security relies on the hardness of the constrained-input constrained-output (CICO) problem. We introduce the FreeLunch approach: the monomial ordering is chosen so that the natural polynomial system encoding the CICO problem already is a Gröbner basis. In addition, we present a new dedicated resolution algorithm for FreeLunch systems of complexity lower than applicable state-of-the-art FGLM algorithms. \nWe show that the FreeLunch approach challenges the security of fullround instances of Anemoi, Arion and Griffin. We confirm these theoretical results with experimental results on those three permutations. In particular, using the FreeLunch attack combined with a new technique to bypass 3 rounds of Griffin, we recover a CICO solution for 7 out of 10 rounds of Griffin in less than four hours on one core of AMD EPYC 7352 (2.3GHz).",
  "category": "Attacks and cryptanalysis",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“The Algebraic Freelunch: Efficient Gröbner Basis Attacks Against Arithmetization-Oriented Primitives” by Augustin Bariant, Aurélien Boeuf, Axel Lemoine, Irati Manterola Ayala, Morten Øygarden, Léo Perrin, Håvard Raddum, Cryptology ePrint Archive, Paper 2024/347, https://eprint.iacr.org/2024/347. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2024-02-27T09:22:50Z",
    "updated": "2025-10-28T13:11:47Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2024/347.pdf",
    "sha256": "b02fa5e0cad16efbf4a850b09566005d5305958aaeb0f71bc2522bee9dc18385",
    "size": 1405216,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2024/347/versions/20260428T172000Z.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "label": "copy captured 2026-04-28",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2024/347.pdf",
      "size": 1405216,
      "sha256": "b02fa5e0cad16efbf4a850b09566005d5305958aaeb0f71bc2522bee9dc18385",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2024/347/versions/20240303T064928Z.pdf",
      "captured_at": "2024-03-03T06:49:28Z",
      "label": "copy captured 2024-03-03",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20240303064928id_/https://eprint.iacr.org/2024/347.pdf",
      "size": 1415753,
      "sha256": "27a915edea7008a77e2a96a16719069d61b16d33f6fae5005eb53ec07320becd",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260927210617id_/https://eprint.iacr.org/2024/347.pdf",
      "captured_at": "2026-09-27T21:06:17Z",
      "size": 1372208
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2024/347.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 1405216
    }
  ],
  "bibtex": "@misc{cryptoeprint:2024/347,\n      author = {Augustin Bariant and Aurélien Boeuf and Axel Lemoine and Irati Manterola Ayala and Morten Øygarden and Léo Perrin and Håvard Raddum},\n      title = {The Algebraic Freelunch: Efficient Gröbner Basis Attacks Against Arithmetization-Oriented Primitives},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2024/347},\n      year = {2024},\n      url = {https://eprint.iacr.org/2024/347}\n}"
}
