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.
- 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 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.
- 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.
Reduced security margin·Action: monitor
Preprints: herding attacks lower security of SHA-256 LMS/HSS and XMSS parameter sets
Implementation vulnerability·Demonstrated·Action: patch
liboqs LMS signing: ignored lock failures allow one-time key reuse and forgery
Implementation vulnerability·Demonstrated·Action: patch
liboqs XMSS and LMS verification: out-of-bounds reads on malformed inputs (three CVEs)
Implementation vulnerability·Demonstrated·Action: monitor
Laser fault injection on WOTS verification demonstrated for XMSS on a microcontroller
Show all 9 entries
Standards action
RFC 9802 published: HSS and XMSS hash-based signatures in X.509
Implementation vulnerability·Action: monitor
Fault attack on WOTS checksum allows forgeries in LMS, XMSS and SPHINCS+ implementations