{
  "id": "2026/2635",
  "url": "https://opencryptology.org/2026/2635",
  "original_url": "https://eprint.iacr.org/2026/2635",
  "title": "A Kelsey–Kohno Attack Variant against SHA-2 Message Digests in HSS/LMS and XMSS",
  "authors": [
    "Falko Strenzke"
  ],
  "affiliations": null,
  "abstract": "We present a multi-target second-preimage attack on the message hashing of the stateful hash-based signature schemes HSS/LMS and XMSS with SHA-256 and with the truncated SHA-256/192. The attack builds on the herding technique of Kelsey and Kohno: the attacker takes the chaining states that follow the per-signature prefixes of many collected signatures and merges them, level by level through state collisions, into a single chaining state. From that state one search serves all collected signatures at once, which defeats the commitment to the key and to the one-time-signature leaf index at the start of the hash input that is meant to rule out multi-target attacks. The search can match the final digests, which is the better choice against SHA-256/192, or, after appending a Kelsey-Schneier expandable message, the internal chaining states of long signed messages, which is effective for full SHA-256. For SHA-256 with NIST's bound of $2^{64}$ signatures, which may be spread over any number of keys, the cost in compression-function calls falls from the nominal $2^{256}$ to about $2^{166}$ for messages of up to 4 GiB and to about $2^{156}$ in the formal limit of maximal message length, a loss of 100 bits. For SHA-256/192, digest matching costs about $2^{153}$ for $2^{64}$ signatures of any length, a loss of 39 bits. Because the attack pools signatures across keys, even the first signature of an individual key contributes to a potential overall exposure of an ecosystem. The attacks exploit the chaining state of SHA-256, which is narrower than twice the targeted security level; the SHAKE256 parameter sets are not affected.",
  "category": "Attacks and cryptanalysis",
  "license": {
    "code": "CC BY-SA",
    "url": "https://creativecommons.org/licenses/by-sa/4.0/",
    "label": "CC BY-SA 4.0",
    "attribution": "“A Kelsey–Kohno Attack Variant against SHA-2 Message Digests in HSS/LMS and XMSS” by Falko Strenzke, Cryptology ePrint Archive, Paper 2026/2635, https://eprint.iacr.org/2026/2635. Licensed under CC BY-SA 4.0 (https://creativecommons.org/licenses/by-sa/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2026-10-25T12:05:04Z",
    "updated": "2026-10-25T12:05:04Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2026/2635.pdf",
    "sha256": "a7bef69b570e1f24186abc1f7f76bef8ac521f7999461846646d752339bc4a9f",
    "size": 712044,
    "source": "upload",
    "source_date": "2026-11-11T09:07:57.998Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "eprint_size": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2026/2635/versions/20261111T090757Z.pdf",
      "captured_at": "2026-11-11T09:07:57.998Z",
      "label": "copy captured 2026-11-11",
      "source": "upload",
      "source_url": null,
      "size": 712044,
      "sha256": "a7bef69b570e1f24186abc1f7f76bef8ac521f7999461846646d752339bc4a9f",
      "is_default_pdf": true
    }
  ],
  "other_sources": [],
  "bibtex": "@misc{cryptoeprint:2026/2635,\n      author = {Falko Strenzke},\n      title = {A Kelsey–Kohno Attack Variant against SHA-2 Message Digests in HSS/LMS and XMSS},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2026/2635},\n      year = {2026},\n      url = {https://eprint.iacr.org/2026/2635}\n}"
}
