falcon-rust: Discrete-Gaussian sampler runs at 2^-33 precision, far below Falcon's requirement (reference KAT vectors no longer pass)
- State
- Published
- Severity
- 5.9 Medium
- Published
- Nov 19, 2026
- Updated
- Nov 19, 2026
- Reserved
- Aug 20, 2026
Description
falcon-rust is a Rust implementation of the Falcon post-quantum signature scheme. Prior to 0.2.0, the discrete-Gaussian sampler in src/samplerz.rs evaluates approx_exp, ber_exp, and sampler_z acceptance probabilities with FixedPoint64 values having only 32 fractional bits. The scaling in approx_exp quantizes its input and limits relative precision to about 2^-33, below Falcon's required bound, causing reference known-answer vectors to diverge and invalidating the proof assumption that secret-dependent signature and key distributions are negligibly close to the ideal discrete Gaussian. This is a cryptographic-soundness defect and no practical key-recovery attack has been demonstrated. This issue is fixed in version 0.2.0.
| Product | Versions |
|---|---|
| falcon-rust aszepieniec | < 0.2.0 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 5.9 Medium | GitHub_M |
Weaknesses
- CWE-1240 Use of a Cryptographic Primitive with a Risky Implementation
References
- https://github.com/aszepieniec/falcon-rust/security/advisories/GHSA-25rm-9wvm-m38v
- https://github.com/aszepieniec/falcon-rust/commit/930d766256f9d67ec9b6d437557286cf47f042ca
- https://github.com/aszepieniec/falcon-rust/commit/bf2cf000e63a9803f7ab1a34f629a5a0e9c49cf6
- https://github.com/aszepieniec/falcon-rust/releases/tag/v0.2.0
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.