{
  "id": "2026/1792",
  "url": "https://opencryptology.org/2026/1792",
  "original_url": "https://eprint.iacr.org/2026/1792",
  "title": "Beyond Linear Subspace Trails: Nonlinear Subspaces for Gr\\\"obner Basis Attacks on Poseidon/Poseidon2 and Neptune",
  "authors": [
    "Enyan Li",
    "Fukang Liu",
    "Gaoli Wang"
  ],
  "affiliations": null,
  "abstract": "Poseidon/Poseidon2 and Neptune are prominent primitives for zero-knowledge proof systems.\nTheir arithmetic circuit cost is reduced mainly through partial S-box layers and low-degree finite field operations.\nAlgebraic attacks are therefore a central part of their security analysis, and Gr\\\"obner basis methods are a main tool for studying such attacks.\nFor such attacks, controlling the algebraic degree of the polynomial systems induced by partial rounds is a central issue.\nPrevious work has shown that linear subspace trails can reduce the algebraic degree of partial rounds in constrained-input-constrained-output (CICO) problems. Therefore, subspace analysis has become an important tool for evaluating the algebraic security of Poseidon-like permutations.\n\nThe main contribution of this paper is to extend the existing linear subspace trail framework to nonlinear subspaces.\nMore precisely, we first introduce a parametric Macaulay matrix method. \nThis method transforms the search for algebraic constraints that reduce degree growth into the problem of solving a parametric system. \nIt provides a general algebraic approach for constructing longer nonlinear subspace trails that suppress degree growth over more internal partial rounds.\nSecond, for the CICO problem with $Ec$ extra constraints, we give a concrete constraint pattern that extends a linear subspace trail into a nonlinear one. \nIn this nonlinear construction, the first $Ec$ subspace constraints generate an ideal, and further compatible subspace constraints can be added along the chain without enlarging this ideal.\nAs a result, the nonlinear subspace trail can cover up to $2Ec$ internal rounds, whereas the previous linear subspace trail can cover up to $Ec$ rounds.\nWe further show that the balancing matrix required by this construction is generically nonsingular.\nFurthermore, we propose subspace modeling variants without variable substitution. These variants impose linear or nonlinear constraints directly on high-degree intermediate states.\n\nFor the Poseidon/Poseidon2 and Neptune instances proposed by Grassi et al. in ToSC 2025, our experiments show that, under the same complexity bound and the same Gr\\\"obner basis cost model, the nonlinear subspace model can analyze approximately twice as many internal partial rounds as the linear subspace model considered in ToSC 2025. For several concrete instances, our method reaches or even exceeds the recommended number of internal rounds given by the designers in sponge mode or compression mode.",
  "category": "Attacks and cryptanalysis",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Beyond Linear Subspace Trails: Nonlinear Subspaces for Gr\\\"obner Basis Attacks on Poseidon/Poseidon2 and Neptune” by Enyan Li, Fukang Liu, Gaoli Wang, Cryptology ePrint Archive, Paper 2026/1792, https://eprint.iacr.org/2026/1792. 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-24T12:57:01Z",
    "updated": "2026-08-24T12:57:01Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2026/1792.pdf",
    "sha256": "006cf8bc3b47df053d662b6552aa82fd8add2a75a152e08f9c63db73a29564cb",
    "size": 1720623,
    "source": "wayback",
    "source_date": "2026-09-07T01:13:48Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "eprint_size": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2026/1792/versions/20260907T011348Z.pdf",
      "captured_at": "2026-09-07T01:13:48Z",
      "label": "copy captured 2026-09-07",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20260907011348id_/https://eprint.iacr.org/2026/1792.pdf",
      "size": 1720623,
      "sha256": "006cf8bc3b47df053d662b6552aa82fd8add2a75a152e08f9c63db73a29564cb",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260907011348id_/https://eprint.iacr.org/2026/1792.pdf",
      "captured_at": "2026-09-07T01:13:48Z",
      "size": 1544707
    }
  ],
  "bibtex": "@misc{cryptoeprint:2026/1792,\n      author = {Enyan Li and Fukang Liu and Gaoli Wang},\n      title = {Beyond Linear Subspace Trails: Nonlinear Subspaces for Gr\\\"obner Basis Attacks on Poseidon/Poseidon2 and Neptune},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2026/1792},\n      year = {2026},\n      url = {https://eprint.iacr.org/2026/1792}\n}"
}
