What is XMSS (eXtended Merkle Signature Scheme)?

XMSS is a stateful hash-based digital signature scheme specified in RFC 8391, used for firmware signing, software signing and root CA certificates. This page explains what it is, where you will meet it and what it means for a migration.

On this page

What is XMSS and who will meet it in their work

XMSS (eXtended Merkle Signature Scheme) is a hash-based digital signature system specified in RFC 8391, and its security rests on properties of the underlying hash function rather than on the hardness of structured lattice or number-theoretic problems. It is used to sign firmware, software and CA certificates. In practice, the term means that a signer holds a private key that tracks which one-time key it will use next, and a verifier checks the signature against a public key made of a tree root and a public seed. Because the scheme is stateful, a signing device must never lose or roll back its key state, which is the operational point that most often matters to the people who meet the name.

Security leads, engineers reading vendor answers, auditors and procurement reviewers meet XMSS in several kinds of document. Vendor questionnaires for firmware and software signing may ask whether a product uses XMSS, LMS or SLH-DSA, and the answer determines what key management the vendor must describe. Standards that define certificate formats, including RFC 9802 for X.509 certificates and certificate revocation lists, use XMSS and XMSS^MT identifiers, so a PKI reviewer may see the name in a certificate profile. NIST SP 800-208 covers XMSS and its multi-tree variant alongside LMS and HSS, and it is the reference that a reviewer will check against. Tender language may simply say "stateful hash-based signatures," in which case the reviewer should ask which scheme is meant.

When you see XMSS in a document, confirm three things before accepting the answer. First, check the exact parameter set and version, such as XMSS-SHA2_20_256, because the RFCs name several optional sets and the numeric identifiers differ by namespace. Second, ask how the vendor records used one-time key indexes and prevents reuse after backup or restore, since RFC 9802 warns that a simple restore can cause key reuse. Third, do not assume XMSS is the same as SLH-DSA: RFC 9909 states that SLH-DSA and SPHINCS+ are not compatible, and XMSS is a different, stateful family. Confirm compatibility for the exact versions you run, and check the RFCs and NIST documents directly rather than relying on a summary.

Which XMSS names and parameter sets appear in specifications

This table lists the XMSS names, parameter sets, optional variants and numeric identifiers that appear in RFC 8391, RFC 9802 and NIST SP 800-208. Read each row as a separate name or identifier, and confirm the exact string your product, certificate profile or vendor document uses before you match it to a row. Identifiers from different namespaces must not be mixed.

Name or identifierWhere it appearsWhat it refers toNotes for reviewers
eXtended Merkle Signature Scheme (XMSS)RFC 8391, NIST SP 800-208Single-tree hash-based signature scheme built on WOTS+Stateful. The private key must be updated on every signature.
XMSS^MT (multi-tree XMSS)RFC 8391, NIST SP 800-208 as XMSS-MTMulti-tree variant of XMSSStateful. Specifications name it separately from XMSS.
XMSS-SHA2_10_256RFC 8391 (required)SHA2-256, tree height 10Identifier 0x00000001 in the XMSS namespace.
XMSS-SHA2_16_256RFC 8391 (required)SHA2-256, tree height 16Identifier 0x00000002 in the XMSS namespace.
XMSS-SHA2_20_256RFC 8391 (required)SHA2-256, tree height 20Identifier 0x00000003 in the XMSS namespace. Signature length is 2,820 bytes per RFC 8391.
Optional SHA2-512 and SHAKE setsRFC 8391 (optional)SHA2 with 512-bit output and SHAKE with 256-bit and 512-bit output, at heights 10, 16 and 20Confirm whether your implementation supports these before relying on them.
XMSSMT-SHA2_20/2_256RFC 8391 (XMSS^MT namespace)Multi-tree parameter setIdentifier 0x00000001 in the XMSS^MT namespace. Do not use it where an XMSS identifier is expected.
OID id-alg-xmss-hashsigRFC 9802X.509 algorithm identifier for XMSS1.3.6.1.5.5.7.6.34. Parameters field must be absent.
OID id-alg-xmssmt-hashsigRFC 9802X.509 algorithm identifier for XMSS^MT1.3.6.1.5.5.7.6.35. Parameters field must be absent.

Where XMSS shows up in certificates, firmware and vendor documents

XMSS appears in four places a reader is likely to meet it: X.509 certificates and certificate revocation lists, firmware and software signing, the specifications that define it, and the vendor answers and tenders that name it. Each card below describes one of these places, what it commits the reader to, and what to confirm before relying on it. The cards are ordered from the standards that define XMSS to the documents where it is named in practice.

X.509 certificates and CRLs under RFC 9802

RFC 9802 is the Standards Track document that carries XMSS into X.509 certificates and certificate revocation lists. It assigns id-alg-xmss-hashsig the OID 1.3.6.1.5.5.7.6.34 and id-alg-xmssmt-hashsig the OID 1.3.6.1.5.5.7.6.35, and it requires the AlgorithmIdentifier parameters to be absent. It also applies no digest before signing. When you review a certificate or CRL that carries one of these OIDs, check that the parameters field is empty and that your PKI software reads these identifiers at all, because a verifier that does not recognize them will reject the object. Confirm the exact OIDs against the RFC text rather than a vendor summary.

RFC 9802 text

Where XMSS certificates are suited

RFC 9802 says these schemes suit firmware signing, software signing and CA certificates. It says a root CA is a better fit than a subordinate CA, and that XMSS is generally not suited to end-entity certificates. This matters for design because a root CA signs relatively few objects and can manage its state carefully, while an end-entity certificate is issued in volume. A PKI plan that puts XMSS on leaf certificates contradicts the RFC's guidance and should be questioned in review. Ask the vendor or internal team which certificate tier each XMSS key is assigned to.

Firmware and software signing

Firmware and software signing is the most common setting where the RFC 9802 guidance applies. A signing key for an update package is used for a bounded, controlled set of releases, which fits the one-time nature of stateful signatures. The main operational risk is state: a signing key must never reuse an index. RFC 9802 warns that simple backup and restore of a stateful key can cause one-time key reuse. Before adopting XMSS for release signing, confirm how the build system records used indexes, whether it limits signatures per key, and whether it reserves future states. Ask the vendor to show these controls in writing.

Stateful key backup and restore risk

Backup and restore is a distinct risk worth its own review item, because it is easy to overlook in a routine disaster recovery plan. An XMSS private key changes with every signature, so restoring an older copy of the key can roll the index back and allow a one-time key to be used again. RFC 9802 suggests recording used indexes, limiting the number of signatures or reserving future states as mitigations. When a tender or vendor document describes backup of signing keys, check whether it says how the index state is preserved and whether a restored key is blocked from signing until the state is verified.

NIST SP 800-208 as the reference

NIST SP 800-208, "Recommendation for Stateful Hash-Based Signature Schemes", was finalized in October 2020 after a draft of 11 December 2019. It specifies LMS, XMSS and their multi-tree variants HSS and XMSS-MT. RFC 9802 makes SP 800-208 a normative reference, and it says XMSS key and signature generation follows section 7.2 of that document. For a reviewer, this means the security requirements in SP 800-208 are part of what an XMSS implementation is expected to meet, not optional background. Ask for the implementation's stated conformance to that section when assessing a product.

SP 800-208 final

Relationship to FIPS 205 and SLH-DSA

NIST published FIPS 205, "Stateless Hash-Based Digital Signature Standard", as a final standard on 13 August 2024, specifying SLH-DSA. XMSS is stateful, while SLH-DSA is stateless, so the two are not interchangeable in operational terms. A reader who sees a hash-based signature in a vendor document should establish which family is meant, because the state-handling obligations differ. RFC 9909 specifies SLH-DSA identifiers for X.509 and states that SLH-DSA and SPHINCS+ are not compatible. Do not treat XMSS and SLH-DSA as equivalent when comparing vendor claims.

FIPS 205 final

Vendor documents and tenders that name XMSS

XMSS and XMSS^MT are named in vendor documents and tender questions where a supplier claims hash-based signing support. The sources supporting this page do not establish that any product or vendor supports XMSS, so a supplier's statement should be checked against its own documentation, the algorithm identifiers it actually emits, and its conformance to RFC 9802 and SP 800-208. Ask for the specific XMSS parameter set, the identifiers used, the state-management design, and a test showing a verifier accepts the output. Treat a bare mention of XMSS in a datasheet as a claim to be verified rather than evidence of support.

RFC 8391 text

How XMSS is used in a system, described by role

In a system, XMSS is used as a signature scheme for data that a verifier must trust: firmware images, software packages and certificates. The signer holds a private key and produces a signature over the data. Anyone holding the matching public key can check that signature. In the XMSS design described in RFC 8391, the public key is the root of a binary tree plus a public seed, and the tree holds 2^h WOTS+ one-time key pairs, where h is the tree height. The verifier only needs the public key and the signature, so the role on the verifying side is the same as for any other public-key signature. The difference lies in what the signing side must manage. RFC 9802 applies XMSS to firmware signing, software signing and CA certificates, and says root CAs are a better fit than subordinate CAs and generally not end-entity certificates. Confirm which of these uses your product or vendor supports before you plan around them.

The stateful behaviour is the part that changes how a system must be operated. Each XMSS signature uses one of the WOTS+ one-time keys in the tree, and the private key tracks the index of the next unused key. Signing therefore changes the private key. RFC 8391 states that implementations must update the private key before outputting a signature, and that signing APIs must return an updated key state. In practice, the signing component must store the new state durably before the signature is released, or a crash could lead to the same index being used twice. RFC 9802 warns that simple backup and restore of a stateful key can cause one-time key reuse, and suggests recording used indexes, limiting the number of signatures or reserving future states. Check with your vendor how the key state is stored, backed up and restored, and who is responsible for preventing reuse.

For planning, treat the signing service as the place where key state is held and protected, and make that an explicit item in the design review. Ask the vendor or implementer to show how the signing API returns updated state, where that state lives, how it is backed up without reusing indexes, and what happens when the signing count approaches the limit set by the tree height. RFC 8554 and RFC 8391 both say the schemes should not be used except in systems that prevent the reuse of secret key states, which makes this a precondition rather than an optional safeguard. NIST SP 800-208 covers the stateful schemes and is a normative reference for RFC 9802, so the operational requirements in it are the reference to check the design against.

Standardization status of XMSS and which bodies recommend it

XMSS has been standardized in several documents, and each one has a different status. RFC 8391, XMSS: eXtended Merkle Signature Scheme, was published in May 2018 as an Informational RFC from the IRTF Crypto Forum Research Group. That status means the document records the scheme and its specification, but it does not set a standards-track requirement. NIST followed with SP 800-208, Recommendation for Stateful Hash-Based Signature Schemes, which was finalized in October 2020 after a draft dated 11 December 2019. SP 800-208 covers XMSS together with LMS and their multi-tree variants, HSS and XMSS-MT. RFC 9802, published in June 2025 as a Standards Track RFC, then defines algorithm identifiers and ASN.1 encodings for HSS, XMSS and XMSS^MT in X.509 certificates and certificate revocation lists.

For security requirements, the normative reference is NIST SP 800-208. RFC 9802 makes that document a normative reference whose security requirements must be taken into account, so a reviewer checking an XMSS implementation against the standards should start there rather than with the RFCs. RFC 9802 also states that XMSS key and signature generation follows section 7.2 of SP 800-208. Readers should confirm the section numbering in the current publication before citing it in a vendor answer or audit response, since the sources listed here do not establish which revision a given product follows.

The sources do not describe XMSS as mandatory for commercial organizations. They describe it as a specified and referenced scheme, not as a requirement imposed on private companies. If a procurement or compliance document asks whether a product supports XMSS, the reader should ask the vendor which document and which revision it implements, and whether its state management meets the requirements in SP 800-208 and RFC 9802. RFC 8391 and RFC 8554 both advise against using these schemes except in systems that prevent reuse of secret key states, so that caution should be checked in any deployment plan.

What XMSS means for your migration and what to check first

This sequence establishes which systems use XMSS, whether their stateful key handling can reuse one-time indexes, and what the vendor documents and records, so that you can judge an XMSS deployment against the requirements in RFC 8391 and RFC 9802 before you rely on it.

  1. Find firmware, software and CA signing systems

    Start with your inventory of cryptography. List every place where code or certificates are signed with a hash-based scheme, focusing on firmware signing, software update signing and certificate authority signing systems. Ask each product owner and vendor whether XMSS or XMSS^MT is in use, since RFC 9802 says these schemes suit firmware signing, software signing and CA certificates. The step is done when each candidate system has a named owner and a recorded answer on the signing algorithm in use.

  2. Confirm the stateful key management the vendor uses

    For each system that uses XMSS, ask the vendor how the private key state is stored, updated and protected. RFC 8391 says that signing changes the private key and that implementations must update the key before outputting a signature, so the key store has to persist that state reliably. Request the vendor's written description of the key management design. The step is done when you have that description on file and can name where the current index is kept.

  3. Check that backup and restore cannot reuse indexes

    Review the backup, restore, cloning and failover procedures for every XMSS signing key. RFC 9802 warns that simple backup and restore of a stateful key can cause one-time key reuse, so a restored copy with an older index could sign with a key that was already used. Confirm whether the vendor records used indexes across restores, reserves future states, or limits the number of signatures. The step is done when you have a written answer for each recovery path and a test record showing the behavior.

  4. Verify the parameter set and identifier from vendor documents

    Take the parameter set and algorithm identifier from the vendor's documentation and compare them with the values in the RFCs. RFC 8391 requires XMSS-SHA2_10_256, XMSS-SHA2_16_256 and XMSS-SHA2_20_256, with numeric identifiers 0x00000001, 0x00000002 and 0x00000003, and RFC 9802 gives the X.509 OIDs 1.3.6.1.5.5.7.6.34 and 1.3.6.1.5.5.7.6.35. Confirm that the vendor names the exact set in use, and that the signature length matches what your systems expect (RFC 8391 gives 2,820 bytes for XMSS-SHA2_20_256). The step is done when each system's parameter set and identifier are written in your inventory, with the vendor document cited.

  5. Ask how the vendor records used states and limits signatures

    Send the vendor a written question asking how they record used states, how many signatures a key can produce, and what happens when the limit is reached. RFC 9802 suggests recording used indexes, limiting the number of signatures, or reserving future states, so the answer should name one of these controls explicitly. RFC 8554 and RFC 8391 both say the schemes should not be used except in systems that prevent reuse of secret key states. The step is done when the vendor's answer is on file and matches the design you reviewed in earlier steps.

Where XMSS sits among the stateful and stateless signature families

This diagram starts at the hash-based signature families and splits them into two branches. The stateful branch, specified in NIST SP 800-208, holds XMSS and its multi-tree variant XMSS^MT alongside LMS and HSS, and each of these is built on a one-time scheme: WOTS+ for XMSS and LM-OTS for LMS. The stateless branch holds SLH-DSA, specified in FIPS 205. The key check is the branch itself: XMSS is stateful, so the private key state must be tracked and protected, and an organization that cannot guarantee that should not use it. Confirm which branch any vendor's product falls into before you assume the properties of the other.

XMSS and XMSS^MT sit in the stateful family, while SLH-DSA sits in the stateless family.

Common mix-ups between XMSS, SPHINCS+ and the other hash-based names

Hash-based signature names are easy to confuse because they share a design idea and several standards. The cards below separate the names that tenders and vendor answers most often blur, and say what each one means for an XMSS deployment.

XMSS is not SLH-DSA or SPHINCS+

XMSS is specified in RFC 8391, while SLH-DSA is specified in NIST FIPS 205, published as a final standard on 13 August 2024. RFC 9909 says SLH-DSA is the standardized form of the algorithm formerly known as SPHINCS+, and that SLH-DSA and SPHINCS+ are not compatible. Treat the three as separate schemes when a vendor answer names one of them. Ask which standard and parameter set the product actually implements.

FIPS 205 standard

Parameter sets belong to one namespace

RFC 8391 assigns XMSS-SHA2_20_256 the value 0x00000003, but XMSSMT-SHA2_20/2_256 is 0x00000001 in a separate namespace. The same number therefore means different things in XMSS and XMSS^MT. When a tender or vendor document lists identifiers, check which registry each number belongs to before comparing them. Matching numbers across families does not show that two products are interoperable.

RFC 8391 registries

Hash-based does not mean stateless

XMSS keeps a private key that tracks the index of the next unused WOTS+ key, and RFC 8391 says signing changes that key and that implementations must return an updated key state. RFC 9802 warns that simple backup and restore can cause one-time key reuse. The name "hash-based" describes the security basis, not the key handling. Ask how the vendor records used indexes and prevents restore-driven reuse.

RFC 9802 key warning

Registry entries are not endorsements

IANA keeps registries for WOTS+, XMSS and XMSS^MT, and RFC 8391 states that registration does not endorse the scheme or its security. A product that cites a registry entry or an RFC number has shown that the identifier exists, not that the scheme is approved for a given use. For compliance purposes, ask which standard or agency guidance the deployment is measured against, and which configuration the vendor will support.

RFC 8391 text

XMSS and LMS are sibling schemes

XMSS is built on WOTS+ and specified in RFC 8391. LMS is built on LM-OTS and specified in RFC 8554. NIST SP 800-208 covers both families, so a document that cites SP 800-208 does not by itself say which one is in use. Ask which family the product implements before reading any security or key-handling statement across the two.

SP 800-208 text

Questions readers ask about XMSS, its status and what changes for them

What does XMSS stand for?

XMSS stands for eXtended Merkle Signature Scheme. RFC 8391, written by A. Huelsing, D. Butin, S. Gazdag, J. Rijneveld and A. Mohaisen, describes it as a hash-based digital signature system whose security rests on properties of the hash function. The name points to its structure: signatures are built on a Merkle tree, so the scheme depends on hash functions rather than on the number-theoretic problems used by RSA or elliptic curve signatures. Your vendor or specification should use the full name or the abbreviation XMSS consistently, and you should confirm the exact parameter set in use.

Is XMSS the same as LMS or SLH-DSA?

No. XMSS is a different scheme from LMS and from SLH-DSA, and they should not be treated as interchangeable. XMSS is built on WOTS+ and specified in RFC 8391. LMS is built on LM-OTS and specified in RFC 8554. Both are stateful hash-based schemes covered by NIST SP 800-208. SLH-DSA is a different, stateless design standardized in FIPS 205, published as a final standard on 13 August 2024. Because the schemes differ in construction, keys and signatures are not compatible across them. Confirm the exact algorithm identifier and parameter set in any certificate, firmware or software signing record before assuming equivalence.

Is XMSS standardized, and who standardized it?

XMSS is specified in RFC 8391, published in May 2018 as an Informational RFC from the IRTF Crypto Forum Research Group. NIST later covered it in NIST SP 800-208, "Recommendation for Stateful Hash-Based Signature Schemes", finalized in October 2020. RFC 9802, published in June 2025 as a Standards Track RFC, specifies algorithm identifiers and ASN.1 encodings for XMSS and XMSS^MT in X.509 certificates and certificate revocation lists, and it makes NIST SP 800-208 a normative reference. Confirm which document your product or procurement requirement cites, since an Informational RFC and a Standards Track RFC carry different weight.

What does the stateful requirement mean in practice?

XMSS is stateful. The private key tracks the index of the next unused one-time key, and each signature changes that state. RFC 8391 says implementations must update the private key before outputting a signature and that signing APIs must return an updated key state. If the same state is ever used twice, a one-time key is reused, which can break security. RFC 9802 warns that simple backup and restore of a stateful key can cause exactly this. Operationally, this means you need to record used indexes, limit the number of signatures, or reserve future states, and your signing process must be designed around that. RFC 8554 and RFC 8391 both say the schemes should not be used except in systems that prevent reuse of secret key states.

Which parameter sets does XMSS use, and how big are its signatures?

RFC 8391 requires three parameter sets: XMSS-SHA2_10_256, XMSS-SHA2_16_256 and XMSS-SHA2_20_256. All use SHA2-256 with tree heights 10, 16 and 20. Optional sets use SHA2 with 512-bit output and SHAKE with 256-bit and 512-bit output. RFC 8391 gives the signature length as 4 + n + (len + h) x n bytes, which is 2,820 bytes for XMSS-SHA2_20_256. Signature size and signing cost change with the parameter set, so check which set a vendor uses against the size limits in your certificate, firmware or protocol design.

Should I ask a vendor about XMSS, and what should I ask?

Yes, if a product signs firmware, software or CA certificates with XMSS or XMSS^MT. Ask which RFC or NIST document the implementation follows, and which parameter set and algorithm identifier it uses. Ask how the private key state is stored, backed up and restored, and whether the product prevents reuse of a used index. Ask what happens when a restore or failover reuses a state, and whether the product records used indexes or limits signatures. Ask which versions and editions the answers apply to. RFC 9802 suggests XMSS fits firmware signing, software signing and root CA certificates, and generally not end-entity certificates, so ask where the vendor applies it.

Does XMSS mean my systems are already quantum safe?

No. Using XMSS does not, by itself, make a system quantum safe, and no product should be described that way on the basis of this page. XMSS is one hash-based signature option. Whether a deployment is adequate depends on the algorithm and parameter set in use, the key state handling, the systems it protects and the requirements of your own policy or contract. Confirm the status of any specific product or configuration against the vendor's documentation and your own assessment, and check any certification claim against the module, version and issuer named in it.

Can we run XMSS ourselves, or do we need outside help?

Whether you can do it yourself depends on the system and the team. Signing with a stateful scheme needs reliable key state handling, backup procedures that avoid reuse, and monitoring of used indexes, so the work is as much operational as cryptographic. DeployOpen plans, implements, integrates, hardens and documents self-hosted platforms inside your own infrastructure, and runs security testing and compliance readiness work. Most engagements are fixed-scope, with scope and deliverables agreed in writing before work starts. DeployOpen does not publish a price list, and a quote follows from the written scope. DeployOpen does not issue audit reports or certifications; independent auditors and certification bodies do.

How DeployOpen works on this

DeployOpen plans and delivers XMSS-related migration work inside your own infrastructure, so your security, compliance and platform teams can review every component. Work follows a fixed written scope, with the signing components, key state handling and certificate profiles identified before any build starts.

How we scope

  • We confirm which systems sign firmware, software or CA certificates and whether XMSS is actually under consideration there.
  • The written scope lists the parameter sets, hash functions and certificate profiles in use, so the agreed work matches what you run.
  • We agree in writing how stateful key handling, backup and restore will be controlled before any signing workflow is changed.

How we build

  • We configure XMSS-capable signing tools and key stores in your environment, using the parameter sets your scope names.
  • We record used one-time key indexes and build controls that stop a restored key state from reusing an index.
  • We test signature generation, verification and key state updates against the RFC 8391 and RFC 9802 behavior your scope cites.

How we hand over

  • You receive documentation of the configured parameter sets, key state procedures and certificate profile decisions.
  • Handover covers the evidence your compliance and security teams need to review the XMSS components themselves.
  • We walk your operators through the key state limits and backup rules, so the procedures outlive the engagement.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer after handover.
  • Retainer work can cover re-testing when parameter sets, signing tools or certificate profiles change.
  • Confirm compatibility with the exact XMSS version and standard revision you run before relying on any setup.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.