{
  "slug": "xmss",
  "name": "XMSS / XMSS^MT",
  "aka": "eXtended Merkle Signature Scheme",
  "kind": "Digital signature (stateful)",
  "family": "Hash-based (stateful)",
  "standard": "RFC 8391, SP 800-208",
  "standard_url": "https://datatracker.ietf.org/doc/rfc8391/",
  "body": "IRTF CFRG, NIST",
  "date": "2020-10-29",
  "status": "Final",
  "summary": "XMSS and its multi-tree variant XMSS^MT are stateful hash-based signatures specified in RFC 8391 (2018-05) and approved by NIST in SP 800-208 (2020-10). Like LMS, they are permitted under CNSA 2.0 and are used for firmware signing and in some blockchains (for example QRL).",
  "parameter_sets": [
    {
      "name": "XMSS-SHA2_10_256",
      "category": 5,
      "pk": 64,
      "sk": "varies",
      "ct_or_sig": 2500
    },
    {
      "name": "XMSS-SHA2_20_256",
      "category": 5,
      "pk": 64,
      "sk": "varies",
      "ct_or_sig": 2820
    }
  ],
  "size_label": "Signature",
  "deployments": [
    "CNSA 2.0 firmware and software signing",
    "Quantum Resistant Ledger (QRL) blockchain"
  ],
  "audit_focus": [
    "Same stateful-key risks as LMS: index reuse, state rollback, backup/restore, and multi-instance deployments",
    "Correct WOTS+ chaining and L-tree computation; hash-address (ADRS) construction",
    "Verifier-side parameter validation and bounds on index values"
  ],
  "references": [
    {
      "title": "RFC 8391, XMSS: eXtended Merkle Signature Scheme",
      "url": "https://datatracker.ietf.org/doc/rfc8391/"
    },
    {
      "title": "NIST SP 800-208",
      "url": "https://csrc.nist.gov/pubs/sp/800/208/final"
    }
  ],
  "group": "stateful",
  "date_note": "RFC 8391: 2018-05; SP 800-208: 2020-10-29",
  "assumptions": [
    {
      "id": "hash-functions",
      "role": "Security reduces to (multi-target) second-preimage resistance and PRF security of the hash, in the standard model"
    }
  ],
  "security": {
    "level": "standing",
    "note": "Security rests on the hash function alone. Two 2026 preprints lower the estimated security of the SHA-256 parameter sets through multi-target attacks on message hashing; the attacks are infeasible and SHAKE256 sets are unaffected. The principal risk is operational: reuse of a one-time key through state rollback, cloning or backup restoration is a complete break."
  },
  "page": "https://pqt-19a6ffd695e12a.pages.dev/algorithms/xmss/",
  "reviewed": "2026-11-25",
  "events": [
    {
      "date": "2026-10",
      "title": "NSA issues CNSA 2.0 FAQ Version 2.2: 2027 / 2030 / 2031 dates, no new algorithms planned",
      "summary": "NSA's updated FAQ restates the CNSSP 15 timeline for National Security Systems: CNSA 2.0 required in all new acquisitions from 2027-01-01, equipment that cannot support CNSA 2.0 phased out by 2030-12-31, and CNSA 2.0 mandated by 2031-12-31. NSA says it does not plan to add future NIST post-quantum standards or FN-DSA to CNSA, SLH-DSA is not approved for any NSS use, HashML-DSA is not allowed at present, and hybrids are not required. It states EO 14412 does not change the NSS timeline.",
      "type": "policy",
      "affects": [
        "ml-kem",
        "ml-dsa",
        "lms-hss",
        "xmss",
        "slh-dsa",
        "fn-dsa"
      ],
      "id": "2026-10-nsa-issues-cnsa-2-0-faq-version-2-2-2027-2030-20",
      "classification": "Policy",
      "page": "https://pqt-19a6ffd695e12a.pages.dev/feed/2026-10-nsa-issues-cnsa-2-0-faq-version-2-2-2027-2030-20/"
    },
    {
      "date": "2026-10-24",
      "title": "Preprints: herding attacks lower security of SHA-256 LMS/HSS and XMSS parameter sets",
      "summary": "Two independent preprints (Guo, Cheng, Preneel, Wang; Strenzke) gave multi-target second-preimage attacks on the message hashing of LMS/HSS and XMSS with SHA-256 and SHA-256/192, using Kelsey-Kohno herding on SHA-256's chaining state to defeat the per-signature prefix. With 2^64 collected signatures the estimated cost falls from 2^256 to about 2^156-2^166 compression calls for SHA-256, and to about 2^153 for SHA-256/192 (reached with about 2^40 targets, per the author); SHAKE256 parameter sets are not affected. The attacks are far from feasible and not yet peer reviewed; CFRG was asked on 2026-11-20 to assess consequences for RFC 8554, RFC 9858 and RFC 8391, and participants disagree on practical relevance.",
      "type": "cryptanalysis",
      "practicality": "weakens",
      "action": "monitor",
      "affects": [
        "lms-hss",
        "xmss"
      ],
      "assumptions": [
        "hash-functions"
      ],
      "id": "2026-10-24-preprints-herding-attacks-lower-security-of-sha",
      "classification": "Reduced security margin",
      "page": "https://pqt-19a6ffd695e12a.pages.dev/feed/2026-10-24-preprints-herding-attacks-lower-security-of-sha/"
    },
    {
      "date": "2026-05-11",
      "title": "liboqs XMSS and LMS verification: out-of-bounds reads on malformed inputs (three CVEs)",
      "summary": "Out-of-bounds reads were reported in liboqs's XMSS/XMSS^MT verification (CVE-2026-44518 and CVE-2026-46344, the latter found by a published fuzzing campaign; both fixed in 0.16.0) and later in LMS/HSS verification (CVE-2026-104254, advisory of 2026-09-22, fix scheduled for 0.17.0). The bytes read are only fed to an internal hash, so the stated impact is a possible verifier crash, not memory disclosure or acceptance of invalid signatures. These are memory-safety bugs in one library; they do not concern the XMSS or LMS constructions.",
      "type": "implementation",
      "practicality": "practical",
      "action": "patch",
      "affects": [
        "xmss",
        "lms-hss"
      ],
      "id": "2026-05-11-liboqs-xmss-and-lms-verification-out-of-bounds-r",
      "classification": "Implementation vulnerability · Demonstrated",
      "page": "https://pqt-19a6ffd695e12a.pages.dev/feed/2026-05-11-liboqs-xmss-and-lms-verification-out-of-bounds-r/"
    },
    {
      "date": "2025-11-14",
      "title": "Laser fault injection on WOTS verification demonstrated for XMSS on a microcontroller",
      "summary": "Wagner, Schink, Streit, Klein and Freud, in a study published by the BSI, practically evaluated the WOTS fault attack with laser fault injection on a standard microcontroller, targeting the kind of signature verification used in secure boot and firmware update. The attack applies to LMS, XMSS and SPHINCS+ and can target signing as well as verification. The study describes the attacker's practical difficulties and an easy-to-implement countermeasure; it needs physical access and laboratory equipment.",
      "type": "implementation",
      "practicality": "practical",
      "action": "monitor",
      "affects": [
        "xmss",
        "lms-hss",
        "slh-dsa"
      ],
      "id": "2025-11-14-laser-fault-injection-on-wots-verification-demon",
      "classification": "Implementation vulnerability · Demonstrated",
      "page": "https://pqt-19a6ffd695e12a.pages.dev/feed/2025-11-14-laser-fault-injection-on-wots-verification-demon/"
    },
    {
      "date": "2025-06",
      "title": "RFC 9802 published: HSS and XMSS hash-based signatures in X.509",
      "summary": "The IETF published algorithm identifiers for the stateful hash-based signatures HSS/LMS and XMSS in X.509 certificates as a Proposed Standard. This is the certificate profile for the SP 800-208 algorithms used in firmware and software signing.",
      "type": "standard",
      "affects": [
        "lms-hss",
        "xmss"
      ],
      "id": "2025-06-rfc-9802-published-hss-and-xmss-hash-based-signa",
      "classification": "Standards action",
      "page": "https://pqt-19a6ffd695e12a.pages.dev/feed/2025-06-rfc-9802-published-hss-and-xmss-hash-based-signa/"
    },
    {
      "date": "2023-10-11",
      "title": "Fault attack on WOTS checksum allows forgeries in LMS, XMSS and SPHINCS+ implementations",
      "summary": "Wagner, Wesselkamp, Oberhansl, Schink and Strieder (PQCrypto 2023) described a fault-injection attack on the Winternitz one-time signature checksum that enables existential and, in stronger settings, universal forgery, and that applies to both signing and verification in LMS, XMSS and SPHINCS+. The paper explains the attack, estimates its practicability, pinpoints the vulnerable code in the reference implementations and proposes countermeasures. It requires physical fault injection on the device; the schemes' mathematical security is unaffected.",
      "type": "implementation",
      "practicality": "theoretical",
      "action": "monitor",
      "affects": [
        "slh-dsa",
        "lms-hss",
        "xmss"
      ],
      "id": "2023-10-11-fault-attack-on-wots-checksum-allows-forgeries-i",
      "classification": "Implementation vulnerability",
      "page": "https://pqt-19a6ffd695e12a.pages.dev/feed/2023-10-11-fault-attack-on-wots-checksum-allows-forgeries-i/"
    },
    {
      "date": "2022-09-07",
      "title": "NSA announces CNSA 2.0 for National Security Systems",
      "summary": "NSA published the advisory 'Announcing the Commercial National Security Algorithm Suite 2.0', naming CRYSTALS-Kyber and CRYSTALS-Dilithium (Level V) plus LMS/XMSS for software and firmware signing. It set the original per-technology timeline (prefer by 2025-2030, exclusive use by 2030-2033). Those per-technology dates have since been overtaken by the CNSSP 15 dates quoted in the October 2026 FAQ.",
      "type": "policy",
      "affects": [
        "ml-kem",
        "ml-dsa",
        "lms-hss",
        "xmss"
      ],
      "id": "2022-09-07-nsa-announces-cnsa-2-0-for-national-security-sys",
      "classification": "Policy",
      "page": "https://pqt-19a6ffd695e12a.pages.dev/feed/2022-09-07-nsa-announces-cnsa-2-0-for-national-security-sys/"
    },
    {
      "date": "2020-10-29",
      "title": "NIST publishes SP 800-208 (stateful hash-based signatures LMS/HSS and XMSS/XMSS^MT)",
      "summary": "NIST finalized SP 800-208, approving the stateful hash-based signature schemes LMS/HSS and XMSS/XMSS^MT. These remain the earliest NIST-approved quantum-resistant signatures, mainly for firmware and software signing.",
      "type": "standard",
      "affects": [
        "lms-hss",
        "xmss"
      ],
      "id": "2020-10-29-nist-publishes-sp-800-208-stateful-hash-based-si",
      "classification": "Standards action",
      "page": "https://pqt-19a6ffd695e12a.pages.dev/feed/2020-10-29-nist-publishes-sp-800-208-stateful-hash-based-si/"
    }
  ],
  "deployments_table": "https://pqt-19a6ffd695e12a.pages.dev/deployments/?alg=xmss",
  "deployments_listed": [
    {
      "project": "Infineon OPTIGA TPM SLB 9672",
      "org": "Infineon",
      "use": "TPM firmware update verification",
      "mechanism": "XMSS",
      "mode": "Default",
      "since": "2022-02-15"
    },
    {
      "project": "Utimaco u.trust Se-Series",
      "org": "Utimaco",
      "use": "HSM signing and key encapsulation",
      "mechanism": "ML-KEM, ML-DSA, LMS, XMSS",
      "mode": "Available",
      "since": "2025-04-02"
    },
    {
      "project": "QRL",
      "org": "Quantum Resistant Ledger",
      "use": "Transaction signatures",
      "mechanism": "XMSS",
      "mode": "Default",
      "since": "2018-06-26",
      "version": "QRL 1.x"
    }
  ]
}
