---
title: "LMS / HSS (Leighton-Micali Signatures, Hierarchical Signature System)"
description: "LMS and its multi-tree variant HSS are stateful hash-based signatures specified in RFC 8554 (2019-04) and approved by NIST in SP 800-208 (2020-10). They are the signature schemes CNSA 2.0 requires for firmware and software signing, and are the first post-quantum signatures many hardware roots of trust support."
url: "https://pqt-19a6ffd695e12a.pages.dev/algorithms/lms-hss/"
site: "PQ Tracker, maintained by zkSecurity"
reviewed: "2026-11-25"
license: "https://creativecommons.org/licenses/by/4.0/"
---

# LMS / HSS (Leighton-Micali Signatures, Hierarchical Signature System)

Stateful signature · Hash-based (stateful)

LMS and its multi-tree variant HSS are stateful hash-based signatures specified in RFC 8554 (2019-04) and approved by NIST in SP 800-208 (2020-10). They are the signature schemes CNSA 2.0 requires for firmware and software signing, and are the first post-quantum signatures many hardware roots of trust support.

**zkSecurity** · Reviewed 2026-11-25

## Security standing

> 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 is a complete break, and occurred through a library defect in 2026.

## Assumptions

A failure of any one breaks the scheme · [Comparison](https://pqt-19a6ffd695e12a.pages.dev/assumptions/)

- [Hash security](https://pqt-19a6ffd695e12a.pages.dev/assumptions/hash-functions/): Security reduces to second-preimage resistance of SHA-256 / SHAKE256 (proof in the random oracle model)
- [Random oracle model](https://pqt-19a6ffd695e12a.pages.dev/assumptions/random-oracle-model/): The LMS security analysis models the hash as a random oracle

## Parameter sets

Sizes in bytes

| Parameter set | Category | Public key | Secret key | Signature |
| --- | --- | --- | --- | --- |
| LMS_SHA256_M32_H10 (typical) | 5 | 60 | varies | 1456 |
| HSS with 2 levels of H10 (typical) | 5 | 60 | varies | 2964 |

NIST security categories: 1 ≈ AES-128, 2 ≈ SHA-256 collision, 3 ≈ AES-192, 5 ≈ AES-256.

## Deployment

6 listed · [Deployments table](https://pqt-19a6ffd695e12a.pages.dev/deployments/?alg=lms-hss)

- CNSA 2.0 firmware and software signing (exclusive use required by 2030)
- Hardware roots of trust, secure boot, HSM-backed code signing

## Audit scope

- State management is the whole game: a one-time key reused once allows forgery. Audit state persistence, atomic updates, backups, HSM cloning, and crash recovery
- SP 800-208 restricts key generation and signing to hardware cryptographic modules for FIPS validation
- Parameter-set validation on the verifier, including the Winternitz parameter and tree height
- Domain separation constants and the exact hash-input layouts of RFC 8554

Full scope: [post-quantum audit checklist](https://pqt-19a6ffd695e12a.pages.dev/audit-checklist/).

## Record

9 entries · [In the feed](https://pqt-19a6ffd695e12a.pages.dev/feed/?scheme=lms-hss)

- 2026-10 · Policy · [NSA issues CNSA 2.0 FAQ Version 2.2: 2027 / 2030 / 2031 dates, no new algorithms planned](https://pqt-19a6ffd695e12a.pages.dev/feed/2026-10-nsa-issues-cnsa-2-0-faq-version-2-2-2027-2030-20/)
- 2026-10-24 · Reduced security margin · Action: monitor · [Preprints: herding attacks lower security of SHA-256 LMS/HSS and XMSS parameter sets](https://pqt-19a6ffd695e12a.pages.dev/feed/2026-10-24-preprints-herding-attacks-lower-security-of-sha/)
- 2026-10-06 · Implementation vulnerability · Demonstrated · Action: patch · [liboqs LMS signing: ignored lock failures allow one-time key reuse and forgery](https://pqt-19a6ffd695e12a.pages.dev/feed/2026-10-06-liboqs-lms-signing-ignored-lock-failures-allow-o/)
- 2026-05-11 · Implementation vulnerability · Demonstrated · Action: patch · [liboqs XMSS and LMS verification: out-of-bounds reads on malformed inputs (three CVEs)](https://pqt-19a6ffd695e12a.pages.dev/feed/2026-05-11-liboqs-xmss-and-lms-verification-out-of-bounds-r/)
- 2025-11-14 · Implementation vulnerability · Demonstrated · Action: monitor · [Laser fault injection on WOTS verification demonstrated for XMSS on a microcontroller](https://pqt-19a6ffd695e12a.pages.dev/feed/2025-11-14-laser-fault-injection-on-wots-verification-demon/)
- 2025-06 · Standards action · [RFC 9802 published: HSS and XMSS hash-based signatures in X.509](https://pqt-19a6ffd695e12a.pages.dev/feed/2025-06-rfc-9802-published-hss-and-xmss-hash-based-signa/)
- 2023-10-11 · Implementation vulnerability · Action: monitor · [Fault attack on WOTS checksum allows forgeries in LMS, XMSS and SPHINCS+ implementations](https://pqt-19a6ffd695e12a.pages.dev/feed/2023-10-11-fault-attack-on-wots-checksum-allows-forgeries-i/)
- 2022-09-07 · Policy · [NSA announces CNSA 2.0 for National Security Systems](https://pqt-19a6ffd695e12a.pages.dev/feed/2022-09-07-nsa-announces-cnsa-2-0-for-national-security-sys/)
- 2020-10-29 · Standards action · [NIST publishes SP 800-208 (stateful hash-based signatures LMS/HSS and XMSS/XMSS^MT)](https://pqt-19a6ffd695e12a.pages.dev/feed/2020-10-29-nist-publishes-sp-800-208-stateful-hash-based-si/)

- **Type**: Digital signature (stateful)
- **Family**: Hash-based (stateful)
- **Standard**: [RFC 8554, SP 800-208](https://csrc.nist.gov/pubs/sp/800/208/final)
- **Standardized by**: IRTF CFRG, NIST
- **Published**: 2020-10-29 (RFC 8554: 2019-04; SP 800-208: 2020-10-29)
- **Status**: Final

**Primary sources (2)**

- [RFC 8554, Leighton-Micali Hash-Based Signatures](https://datatracker.ietf.org/doc/rfc8554/)
- [NIST SP 800-208, Recommendation for Stateful Hash-Based Signature Schemes](https://csrc.nist.gov/pubs/sp/800/208/final)

### Audit

zkSecurity audits LMS / HSS implementations and integrations. [Request an audit](https://www.zksecurity.xyz/contact.html).

### Data

[data.json](https://pqt-19a6ffd695e12a.pages.dev/algorithms/lms-hss/data.json)
