Skip to main content

falcon-rust CVE-2026-77382

| EUVDEUVD-2026-130395 MEDIUM
Use of a Cryptographic Primitive with a Risky Implementation (CWE-1240)
2026-11-19 GitHub_M GHSA-25rm-9wvm-m38v
5.9
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Collect large volume of target signatures
  2. Exploit
    Measure secret-dependent Gaussian sampler bias
  3. Execution
    Apply statistical/HNP learning over transcript
  4. Impact
    Attempt secret-key/trapdoor recovery (unproven)

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Cryptographic implementation review
Exploitation Conditions

Affects all uses of falcon-rust <= 0.1.3 by default - there is no configuration toggle; the defect lives in src/samplerz.rs where approx_exp, ber_exp, and sampler_z evaluate acceptance probabilities in FixedPoint64 (32 fractional bits, FRAC_UNIT = 1<<32), quantizing the FACCT polynomial argument to ~2^-32 and yielding ~2^-33 relative error in the exp step, below Falcon's required ~2^-40..-46 bound. Because the same sampler runs at both key-generation and signing, both the secret key and signature distributions are affected. Key LIMITING factors for any real-world attack: no special conditions enable it, but realizing the confidentiality impact would require observing a very large signature transcript and succeeding at a statistical/HNP learning attack whose feasibility at a 2^-33 per-sample bias is unproven and is scoped by the reporter as an open question - hence AC:H. The only complete fix is upgrading to 0.2.0 (acceptance path computed in FixedPoint128); no partial mitigation or configuration workaround is stated.

Impact

The signals are consistent in pointing to a real but non-urgent, largely theoretical issue. The CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N, 5.9 Medium) encodes high attack complexity and a confidentiality-only impact, and the C:H rating reflects the worst-case potential (secret-key/trapdoor leakage) rather than a demonstrated outcome - the advisory itself is explicit that no end-to-end key recovery has been shown. No EPSS score is provided in the input and the vulnerability is NOT in CISA KEV, so there is no evidence of active or at-scale exploitation. The vuln.today Decision label is 'this_month' (not act_now/emergency), which aligns with a serious-but-not-emergency crypto-soundness defect. A reproducible proof-of-concept is embedded in the GHSA advisory, but it only measures the 2^-33 sampler precision and the failing known-answer tests - it is not a working key-recovery exploit, so PoC availability here must not be read as exploitability of the secret-leak impact. Net: this is a genuine cryptographic-conformance defect worth remediating (the Falcon security proof's precondition is provably unmet and reference KAT vectors fail), but it is not a high-real-risk, widely-exploitable issue - the C:H in the vector overstates confirmed impact, and whether a practical statistical-learning attack is even feasible at a 2^-33 per-sample bias within a realistic signature budget is stated by the reporter as an open question.

Exploit ScenarioDerived

An attacker who can collect a very large number of Falcon signatures produced by falcon-rust (<= 0.1.3) could attempt statistical or hidden-number-problem learning against the secret-dependent bias in the discrete-Gaussian sampler to try to recover trapdoor/secret-key information. This is theoretical: the embedded PoC reproducibly demonstrates the 2^-33 precision defect and KAT-vector failure but does not demonstrate key recovery, and the AC:H rating reflects the substantial difficulty (huge signature volume plus unproven feasibility).

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 19, 2026

falcon-rust through version 0.1.3 evaluates the discrete-Gaussian sampler's exp() acceptance step at roughly 2^-33 relative precision, about 128x coarser than even the loosest cited Falcon requirement of 2^-40, so both secret keys (drawn at key generation) and signatures (drawn at signing) deviate from the specified discrete Gaussian in a secret-dependent way. The defect voids the precondition of Falcon's Renyi-divergence security proof and causes the reference known-answer vectors to fail, but the reporter explicitly scopes it as a cryptographic-soundness defect: no key recovery has been demonstrated, and whether a statistical/hidden-number-problem learning attack is feasible at a 2^-33 per-sample bias over a realistic signature budget is stated as an open question (the CVSS AC:H rating reflects that uncertainty). There is no CISA KEV entry for this issue, so it is not confirmed actively exploited; a public proof-of-concept precision-measurement harness accompanies the advisory, though it is not verified as working exploit code.

RemediationAI

Vendor-released patch: 0.2.0 (https://github.com/aszepieniec/falcon-rust/releases/tag/v0.2.0). Upgrade any dependency on falcon-rust at or below 0.1.3 to 0.2.0, which performs the sampler_z, ber_exp and approx_exp acceptance-probability computation in FixedPoint128 with 64 fractional bits via a lossless FixedPoint64-to-FixedPoint128 widening (fix commit https://github.com/aszepieniec/falcon-rust/commit/930d766256f9d67ec9b6d437557286cf47f042ca), while the public signature type remains FixedPoint64 so callers are unchanged. The referenced commit https://github.com/aszepieniec/falcon-rust/commit/bf2cf000e63a9803f7ab1a34f629a5a0e9c49cf6 is the counterpart discussed in the advisory. The advisory and the independent assessment state that updating is the only complete fix: no configuration workaround, feature toggle, or partial mitigation is documented, and because the same sampler runs at key generation, simply patching does not by itself address material produced by an affected version. The fix also restores the Falcon reference known-answer vectors as the test oracle, tightening the approximate-exp tolerance from 2^40 down to 2^23; the sources do not quantify any performance impact of the widened acceptance-path arithmetic.

Affected VersionsENISA

falcon-rust < 0.2.0

Affected Packages

cargo falcon-rust fix: 0.2.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in cargo

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

falcon-rust is a Rust implementation of Falcon, a lattice-based post-quantum signature scheme whose security proof requires the rejection sampler to output signatures statistically indistinguishable from an ideal discrete Gaussian. In src/samplerz.rs, approx_exp, ber_exp and sampler_z compute acceptance probabilities using FixedPoint64 (FRAC_UNIT = 1<<32, i.e. 32 fractional bits); approx_exp evaluates the FACCT polynomial with correct 63-bit coefficients but shifts its 32-bit argument left by 31 bits, zero-filling the low fractional bits and quantizing the polynomial argument to 2^-32. Measured against the crate's own compiled code, approx_exp reaches a maximum relative error of about 1.16e-10 (2^-33), versus roughly 2^-52 for the f64 sampler it replaced and about 2^-63 for the Falcon reference implementation, against a mandated bound cited between roughly 2^-40 and 2^-46. Because dss = 0.5*isigma^2 and ccs = sigma_min*isigma are derived from the per-leaf sigma obtained from the secret basis Gram-Schmidt norms during ffSampling, the resulting distribution error is secret-dependent - the property targeted by statistical and HNP learning attacks on biased Gaussian samplers, which maps to CWE-1240 (use of a cryptographic primitive with a risky implementation). The regression was introduced by commit bf2cf00, which removed f64 from the key-generation path; the in-tree tests were subsequently loosened to a tolerance of 2^40 rather than restoring the KAT oracle, and the fix moves the acceptance computation to the crate's existing FixedPoint128 (64 fractional bits) with a lossless FixedPoint64-to-FixedPoint128 widening while keeping the public signature type at FixedPoint64. Per the CVSS vector the issue is remotely reachable and unauthenticated (PR:N), with impact limited to confidentiality (C:H) and none to integrity or availability.

Know when Rust gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 5.9 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 5.9 MEDIUM

Signatures are observable without privileges (AV:N/PR:N/UI:N); AC:H because exploitation needs a large transcript and unproven statistical learning; C:H reflects potential secret-key exposure, with no integrity or availability impact.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

1
Patch available
Nov 19, 2026 - 18:19 EUVD

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.3%
Top 80% exploitable
Prevalence
Low
niche single-maintainer Rust post-quantum crate, limited production deployment
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Data Quality
4 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

50
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Rust

View all
CVE-2024-3566 CRITICAL POC
9.8 Apr 10

Command injection via Windows CreateProcess argument parsing affects multiple language runtimes and tooling (Node.js, PH

CVE-2021-31162 CRITICAL POC
9.8 Apr 14

In the standard library in Rust before 1.52.0, a double free can occur in the Vec::from_iter function if freeing the ele

CVE-2021-28879 CRITICAL POC
9.8 Apr 11

In the standard library in Rust before 1.52.0, the Zip implementation can report an incorrect size due to an integer ove

CVE-2026-58491 CRITICAL POC
9.3 Sep 21

Stored cross-site scripting and open redirect in Warpgate's SSO endpoints (versions prior to 0.25.5) allow an unauthenti

CVE-2021-29922 CRITICAL POC
9.1 Aug 07

library/std/src/net/parser.rs in Rust before 1.53.0 does not properly consider extraneous zero characters at the beginni

CVE-2026-77620 HIGH POC
8.7 Sep 22

Denial of service in the Vector observability pipeline's `logstash` source (versions 0.15.0 through 0.56.x) allows a rem

CVE-2019-12083 HIGH POC
8.1 May 13

The Rust Programming Language Standard Library 1.34.x before 1.34.2 contains a stabilized method which, if overridden, c

CVE-2026-96889 HIGH POC
7.8 Sep 23

Use-after-free in librsvg during rendering of crafted SVG documents with nested XInclude directives and duplicate entity

CVE-2021-28878 HIGH POC
7.5 Apr 11

In the standard library in Rust before 1.52.0, the Zip implementation calls __iterator_get_unchecked() more than once fo

CVE-2021-28875 HIGH POC
7.5 Apr 11

In the standard library in Rust before 1.50.0, read_to_end() does not validate the return value from Read in an unsafe c

CVE-2019-16760 HIGH POC
7.5 Sep 30

Cargo prior to Rust 1.26.0 may download the wrong dependency if your package.toml file uses the `package` configuration

CVE-2026-115905 CRITICAL
10.0 Oct 26

A parser differential in the Rust `zip` crate (zip2) through 9.0.4 lets a crafted archive present different filenames to

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy