Do Not Disturb a Sleeping Falcon: Floating-Point Error Sensitivity of the Falcon Sampler and Its Consequences
Shows Falcon's discrete Gaussian sampler leaks the secret key when called twice on the same input under small floating-point discrepancies, affecting derandomized Falcon variants.
Schemes: Falcon, Peikert's sampler, Prest's hybrid sampler
Findings (quotes checked against the source text)
-
Falcon's sampler, when called twice on the same input with small floating-point discrepancies, has a small but significant chance of outputting two lattice points whose difference reveals the secret key.
we find that, when called twice on the same input, the Falcon sampler has a small but significant chance (on the order of once in a few thousand calls) of outputting two different lattice points with a very structured difference, that immediately reveals the secret key.
-
Standard Falcon signatures include a salt, so the impact on Falcon signatures per se is limited; the risk is concentrated in derandomized variants.
Correctly generated Falcon signatures include a salt that should in principle prevent the sampler to ever be called on the same input twice.
-
Derandomized Falcon variants used for identity-based encryption, SNARK-friendly signatures, and sublinear aggregation are critically exposed to this issue.
On the other hand, it is critical for derandomized variants of Falcon, which have been proposed for use in numerous settings.
-
Peikert's sampler and Prest's hybrid sampler are stable with respect to small floating-point errors, unlike Falcon's sampler.
This is in contrast to other lattice Gaussian sampling algorithms like Peikert's sampler and Prest's hybrid sampler, that are stable with respect to small floating-point errors.
-
Key exposure risk persists even with the slower integer-based emulated floating-point arithmetic of Falcon's reference implementation.
For all these settings, small floating point discrepancies have a chance of resulting in full private key exposure, even when using the slower, integer-based emulated floating-point arithmetic of Falcon's reference implementation.
Numbers (as extracted, not quote-checked)
- Failure rate of double-call key leak in Falcon sampler: on the order of once in a few thousand calls
For builders
Use Falcon only non-derandomized, or avoid deterministic re-signing with Falcon-based derandomized schemes; prefer Peikert or Prest samplers when determinism is needed.
Limits
Abstract-only input; full text not read. Impact on standard salted Falcon is stated as little; rate and attack details come from the abstract, not verified against the full paper.
Topics: sig-lattice implementation-sidechannel cryptanalysis