Skip to main content

liboqs EUVDEUVD-2026-118513

| CVE-2026-44519 MEDIUM
Covert Timing Channel (CWE-385)
2026-11-06 GitHub_M
5.1
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Gain local co-resident execution
  2. Delivery
    Query FrodoKEM decapsulation oracle repeatedly
  3. Exploit
    Flush+Reload probe on secret-key cache lines
  4. Execution
    Distinguish real vs rejection path residency
  5. Impact
    Aggregate oracle to recover private key

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Covert timing channel
Exploitation Conditions

Exploitation requires liboqs version 0.15.0 or earlier compiled specifically with Clang 17 or later at an optimization level that emits conditional-move code - notably -Os - and only affects the FrodoKEM-640, FrodoKEM-976, and FrodoKEM-1344 AES and SHAKE reference variants. The default liboqs -O3 build is NOT vulnerable because it vectorizes both source loads unconditionally. Beyond the build condition, the attacker needs local co-residency and the ability to perform repeated Flush+Reload cache-timing measurements across many decapsulation operations against a static (reused) private key, applying the Guo-Johansson-Nilsson technique. Limiting factors: non-default compiler/optimization combination, local-only access, no network vector, confidentiality-only impact, and the statistical, high-query-volume nature of the oracle, which together make successful key recovery slow and targeted rather than broadly practical.

Impact

This is a genuine but narrow, low-urgency issue - a medium-severity (CVSS 5.1) cryptographic side channel, not a high-CVSS-but-trivial problem, and the real-world risk is bounded by stacked preconditions rather than the raw score. The CVSS vector (AV:L/AC:H/PR:N/UI:N/C:H) correctly captures the shape: local attack vector, high attack complexity, and confidentiality-only impact (private-key recovery), with no integrity or availability effect. The high complexity is well-justified by the evidence and is not merely a severity artifact: the leak only manifests when liboqs ≤0.15.0 is compiled with Clang 17+ at an optimization level such as -Os that emits a conditional-move load, while the default -O3 build vectorizes both source loads and does not exhibit the behavior at all. No EPSS score, KEV listing, or SSVC automatable/technical-impact signal was supplied in the input; the vuln.today decision label is 'this_month', consistent with a real-but-not-emergency priority. No public exploit identified at time of analysis - the GHSA advisory confirms the oracle via a Flush+Reload experiment and references the Guo-Johansson-Nilsson (CRYPTO 2020) key-recovery methodology, but no working exploit code is published in the provided data. Authentication is not required to reach the decapsulation oracle (PR:N), but exploitation still demands local co-residency and repeated cache-timing measurements. Net: patch on a normal cadence; prioritize only if you knowingly ship FrodoKEM reference variants built with Clang at a non-default optimization level in a shared-tenancy environment.

Exploit ScenarioDerived

An attacker with local code execution co-resident on a host running a service that performs FrodoKEM decapsulation (built from liboqs ≤0.15.0 with Clang 17+ at -Os) repeatedly submits ciphertexts and uses a Flush+Reload cache-timing probe to distinguish whether the FO implicit-rejection path or the real-secret path was taken after each decapsulation. Aggregating this success/failure oracle over many queries against the static private key, the attacker reconstructs the key using the Guo-Johansson-Nilsson approach. No public exploit code is provided, but the advisory confirms the distinguishing signal experimentally; the high complexity (non-default build plus statistical measurement) makes this a slow, targeted attack rather than a commodity one.

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

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

Alert me

AnalysisAIv1 – Nov 06, 2026

FrodoKEM decapsulation in liboqs 0.15.0 and earlier can leak private-key cache residency when the library is built with Clang 17 or later at optimization levels such as -Os, because a missing value barrier lets the compiler emit a secret-dependent conditional load (cmov/csel) in the Fujisaki-Okamoto implicit-rejection path. Only the FrodoKEM-640, -976 and -1344 AES and SHAKE reference variants are affected, and only in non-default builds - the default -O3 build vectorizes both source loads unconditionally and does not exhibit the behavior. A local attacker able to co-reside and take repeated Flush+Reload cache-timing measurements across many decapsulations of a static private key could use the resulting oracle in a Guo-Johansson-Nilsson style key-recovery attack (CVSS 5.1, AV:L/AC:H/PR:N/C:H). No public exploit code has been identified at time of analysis, though the reporting researcher confirmed the cache-residency difference experimentally; the issue is fixed in 0.16.0.

RemediationAI

Vendor-released patch: upgrade to liboqs 0.16.0 (https://github.com/open-quantum-safe/liboqs/releases/tag/0.16.0), which contains commit d95fc734f5de9bdfc80c8c65d8166b30e9cff5cd from PR https://github.com/open-quantum-safe/liboqs/pull/2431 and adds the OQS_MEM_BLACK_BOX inline-assembly barrier to the FrodoKEM ct_select path. Users who cannot upgrade immediately should build with the default -O3, under which the affected functions are vectorized to load both source buffers unconditionally and the issue does not manifest per the advisory; the trade-off is that -O3 is a performance/tuning choice rather than a guarantee for every toolchain, so affected deployments that must stay on an older release should confirm their generated assembly contains no secret-dependent conditional move in the FrodoKEM decapsulation path. Do not define OQS_DISABLE_MEM_BLACK_BOX - it exists for internal testing only and re-enables the side channel with explicit compiler warnings. Where FrodoKEM private keys are long-lived and shared across mutually untrusted workloads on the same host, rotating keys after patching limits exposure from any prior measurement campaign.

Affected VersionsENISA

liboqs < 0.16.0

Affected Packages

euvd liboqs fix: 0.16.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

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

Technical ContextAI · show details

liboqs is Open Quantum Safe's C reference library of post-quantum KEM and signature schemes. The flaw is CWE-385 (covert timing channel) in ct_select() in src/kem/frodokem/external/util.c: the constant-time selection used by the Fujisaki-Okamoto implicit-rejection path lacks a compiler value barrier, so Clang 17+ at optimization levels like -Os may legally transform the branchless selection into a conditional load of the secret buffer. Decapsulation success versus rejection then leaves different cache residency for the long-term private key, observable with Flush+Reload - the same general class as CVE-2024-36405 in the Kyber/ML-KEM code. ML-KEM already carries an inline-assembly barrier; the advisory states that NTRU, NTRU-Prime, BIKE, HQC, Classic McEliece and Kyber ship no explicit barrier but showed no compiler-introduced secret-dependent memory access in the FO rejection path. The fix introduces OQS_MEM_BLACK_BOX(), an inline-asm optimization barrier, in src/common/common.h and applies it to the selector in ct_verify()/ct_select(); an escape hatch macro OQS_DISABLE_MEM_BLACK_BOX exists for internal testing only and emits compiler warnings because it reintroduces side channels. Non-GNUC/Clang toolchains get only a pragma warning and no barrier guarantee. Trigger conditions are build- and compiler-specific: the advisory confirms -Os and other levels that produce conditional-move code, while the default -O3 build vectorizes both loads and does not manifest the pattern; the exact set of other affected optimization levels is not enumerated in the available sources.

Know when Liboqs 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.1 MEDIUM
AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 5.1 MEDIUM

Local cache-timing side channel (AV:L); AC:H because it needs a non-default Clang/-Os build plus repeated statistical measurements; PR:N since the decapsulation oracle needs no auth; C:H for key recovery, no I/A impact.

3.1 AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:L/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
Local
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

1
Patch available
Nov 06, 2026 - 22:03 EUVD

DescriptionCVE.org

liboqs is a C-language cryptographic library that provides implementations of post-quantum cryptography algorithms. Prior to 0.16.0, the ct_select function in src/kem/frodokem/external/util.c for the FrodoKEM-640, FrodoKEM-976, and FrodoKEM-1344 AES and SHAKE reference variants lacks a value barrier in the Fujisaki-Okamoto implicit-rejection path. When compiled with Clang 17 or later at an affected optimization level such as -Os, the compiler can emit a secret-dependent conditional load, causing the real and rejection secret paths to leave distinguishable cache residency after successful and failed decapsulation. A local attacker able to perform repeated cache-timing measurements may use this oracle as part of a private-key recovery attack. Default -O3 builds vectorize both source loads and do not exhibit the reported behavior, and the advisory does not report the same generated memory-access pattern in NTRU, NTRU-Prime, BIKE, HQC, Classic McEliece, Kyber, or the already-barriered ML-KEM implementation. This issue is fixed in version 0.16.0.

Threat Intelligence Overview

EPSS Score
0.1%
Top 98% exploitable
Prevalence
Low
specialized post-quantum crypto library, limited and non-default production deployment
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

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 No
EPSS 0.1%
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
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
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 Liboqs

View all

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