Stateful signature · Hash-based (stateful)

LMS / HSS Leighton-Micali Signatures, Hierarchical Signature System

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.

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 schemeComparison →
  • Hash securitySecurity reduces to second-preimage resistance of SHA-256 / SHAKE256 (proof in the random oracle model)
  • Random oracle modelThe LMS security analysis models the hash as a random oracle

Parameter sets

Sizes in bytes
Parameter setCategoryPublic keySecret keySignature
LMS_SHA256_M32_H10 (typical)560varies1456
HSS with 2 levels of H10 (typical)560varies2964

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

Deployment

6 listedDeployments table →
  • 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.

Record

9 entriesIn the feed →
  1. Implementation vulnerability·Demonstrated·Action: patch

    liboqs LMS signing: ignored lock failures allow one-time key reuse and forgery

  2. Implementation vulnerability·Demonstrated·Action: monitor

    Laser fault injection on WOTS verification demonstrated for XMSS on a microcontroller

Show all 9 entries