Has it been Pwned
ImplementationLimited impactMedium confidence

Falcon's new constant-time code shipped a broken Gaussian sampler

Weeks after the Falcon team released a new constant-time implementation (August 2019), Markku-Juhani Saarinen found two bugs in its discrete Gaussian sampler: a wrong lookup table and a misplaced scaling constant. Signatures still verified, but they came from the wrong distribution and leaked information about the private key. The bug was fixed and disclosed on the pqc-forum in September 2019. In 2025 researchers showed the leak was concretely exploitable for key recovery from tens of millions of signatures.

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

Broken implementation. The underlying math is not broken by this. The failure is in code, hardware, or how the primitive is used.

Background

Falcon's signing needs a carefully shaped discrete Gaussian sample over a secret lattice basis. If the distribution is off, signatures slowly reveal the basis, the same failure that sank NTRUSign in 2006 (Nguyen-Regev). The bug was in code, not in the scheme: a correct implementation of the specification does not leak. Ordinary known-answer tests also cannot catch this class of bug, because every signature still verifies.

Implementing floating-point Gaussian sampling correctly and in constant time is hard, and that difficulty is widely cited as the reason FIPS 206 (FN-DSA) has lagged behind FIPS 204 (ML-DSA). In 2025 Calvin Abou Haidar and Mehdi Tibouchi published the missing full analysis of the buggy sampler (CCS 2025), and their 'Crowhammer' paper (with Quentin Payet) used the same statistical machinery to exploit Rowhammer-induced sampler faults.

Sources

  1. announcementpqc-forum: Falcon implementation bug disclosure (Sept 2019)pqc-forum, groups.google.com
  2. paperPornin: New Efficient, Constant-Time Implementations of FalconIACR ePrint, eprint.iacr.org
  3. blogCOSIC: CCS'25 paper exploiting the 2019 Falcon sampler bugKU Leuven COSIC, esat.kuleuven.be
  4. codePQClean SECURITY.md (affected versions)PQClean, github.com