{
  "id": "2026/1107",
  "url": "https://opencryptology.org/2026/1107",
  "original_url": "https://eprint.iacr.org/2026/1107",
  "title": "KAT-Seeded Fuzzing of Stateful Hash-Based Signature Verification in liboqs",
  "authors": [
    "Vishnu Ajith",
    "Muhammad Ibrahim",
    "Muhammed Sihan Haroon"
  ],
  "affiliations": null,
  "abstract": "Stateful hash-based signature schemes such as XMSS and LMS are increasingly important in post-quantum cryptographic deployments, yet their verification paths remain difficult to fuzz effectively because key generation is substantially more expensive than verification. This paper presents a structured libFuzzer methodology for testing stateful hash-based signature verification in liboqs. The proposed approach uses pre-computed Known Answer Test (KAT) vectors to initialise valid public key, signature, and message buffers once during harness setup, enabling high-throughput mutation of verification inputs without repeated key generation.\n\nUsing this methodology, we implemented and upstreamed two fuzz harnesses targeting XMSS/XMSSMT and LMS/HSS-LMS verification paths in liboqs. A ten-minute AddressSanitizer-enabled fuzzing campaign identified an OID-confusion heap-buffer-overflow in xmssmt_core_sign_open, assigned CVE-2026-46344. The flaw occurs when attacker-controlled public-key OID bytes derive a parameter set whose expected signature length exceeds the caller-allocated buffer, resulting in an out-of-bounds read during signature parsing. The issue was reproduced using a five-byte minimal crashing input and a standalone C reproducer, disclosed through the Open Quantum Safe coordinated disclosure process, and fixed in liboqs 0.16.0.\n\nWe further identify a mutation-distribution bias affecting short-input LMS fuzzing and resolve it using a round-robin field-rotation strategy. The resulting framework provides a reproducible and upstream-integrated methodology for adversarial testing of stateful post-quantum signature verification implementations.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“KAT-Seeded Fuzzing of Stateful Hash-Based Signature Verification in liboqs” by Vishnu Ajith, Muhammad Ibrahim, Muhammed Sihan Haroon, Cryptology ePrint Archive, Paper 2026/1107, https://eprint.iacr.org/2026/1107. 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-05-29T21:54:38Z",
    "updated": "2026-05-29T21:54:38Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2026/1107.pdf",
    "sha256": "eef9155ed7f6a896a86bfac1a0ff840cf0e859f0c9b1ec8b1da59a23822bd28b",
    "size": 247144,
    "source": "wayback",
    "source_date": "2026-10-02T08:26:32Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2026/1107/versions/20261002T082632Z.pdf",
      "captured_at": "2026-10-02T08:26:32Z",
      "label": "copy captured 2026-10-02",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20261002082632id_/https://eprint.iacr.org/2026/1107.pdf",
      "size": 247144,
      "sha256": "eef9155ed7f6a896a86bfac1a0ff840cf0e859f0c9b1ec8b1da59a23822bd28b",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20261002082632id_/https://eprint.iacr.org/2026/1107.pdf",
      "captured_at": "2026-10-02T08:26:32Z",
      "size": 247823
    }
  ],
  "bibtex": "@misc{cryptoeprint:2026/1107,\n      author = {Vishnu Ajith and Muhammad Ibrahim and Muhammed Sihan Haroon},\n      title = {KAT-Seeded Fuzzing of Stateful Hash-Based Signature Verification in liboqs},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2026/1107},\n      year = {2026},\n      url = {https://eprint.iacr.org/2026/1107}\n}"
}
