Falcon-rust sampler truncates precision below specification
Nov 24 find · published Nov 20CVcvereports.com · 2 min readRead original
Falcon implementation flawDiscrete-Gaussian sampler precision lossML-DSA/Falcon cryptographic defect
Falcon-rust versions before 0.2.0 use 32-bit fixed-point arithmetic in the discrete-Gaussian rejection sampler, achieving only 2^-33 precision instead of the Falcon specification's required 2^-40 minimum. This violates the Rényi divergence bounds that protect the signing key from statistical leakage. The implementation left-shifted polynomial inputs by 31 bits, zero-filling lower bits and quantizing the input grid to 2^-32. Version 0.2.0 restores precision to 2^-50.80 by migrating to 128-bit fixed-point arithmetic, restoring cryptographic soundness.
2^-33Achieved precision in affected versions
2^-40Specification minimum required
2^-50.80Precision in version 0.2.0
Comments
Sign in to join the conversation.