Has it been Pwned
MathTheoretical impact

SPHINCS+ with SHA-256 falls short of category 5

Sydney Antonov showed on the pqc-forum that SPHINCS+'s SHA-256-based tweakable hash lacked the multi-target second-preimage property it needs at NIST category 5. NIST's Ray Perlner, John Kelsey and David Cooper turned this into a complete forgery attack. It cuts about 40 bits from the classical security of the SHA-256 category-5 parameter sets.

A separate source-review date has not been recorded for this historical entry. Corrections.

Broken math. This entry concerns mathematics, algorithm design or parameter justification. Its stated scope distinguishes an attack from a defect in a security argument; a proof or accounting error alone does not establish practical key recovery.

Background

This was the second such problem. In February 2021 Mikhail Stern had pointed out a related weakness in SHA-256-based message hashing, which the SPHINCS+ team patched. Antonov's April 2022 observation was not covered by that patch. The root cause is that SHA-256 has a 256-bit Merkle-Damgård chaining state, so multi-target and length-related shortcuts cap its security below what a 'random function' proof assumes at the 256-bit level. NIST IR 8413 notes that SHA-256 'is not well designed to provide more than category 2 security in a wide variety of circumstances'.

The fix, in FIPS 205 (SLH-DSA), keeps SHA-256 for the security category 1 SHA2 sets but uses SHA-512 for H_msg, PRF_msg, H and T in the category 3 and 5 SHA2 sets. SHAKE-based parameter sets were never affected. The attack does not touch hash-based signatures in general: it is a mismatch between a parameter set's claimed level and the hash function chosen to instantiate it.

Sources

  1. paperPerlner, Kelsey, Cooper: Breaking Category Five SPHINCS+ with SHA-256 (PQCrypto 2022)IACR ePrint, eprint.iacr.org
  2. announcementAntonov: Round 3 official comment: SPHINCS+pqc-forum, groups.google.com
  3. standardNIST IR 8413-upd1: Status Report on the Third Round of the NIST PQC Standardization ProcessNIST, nvlpubs.nist.gov
  4. standardFIPS 205: Stateless Hash-Based Digital Signature StandardNIST, csrc.nist.gov