Description
liboqs is a C-language cryptographic library that provides implementations of post-quantum cryptography algorithms. A control-flow timing lean has been identified in the reference implementation of the Kyber key encapsulation mechanism when it is compiled with Clang 15-18 for `-Os`, `-O1`, and other compilation options. A proof-of-concept local attack on the reference implementation leaks the entire ML-KEM 512 secret key in ~10 minutes using end-to-end decapsulation timing measurements. The issue has been fixed in version 0.10.1. As a possible workaround, some compiler options may produce vectorized code that does not leak secret information, however relying on these compiler options as a workaround may not be reliable.
Published: 2024-06-10
Score: 5.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2024-36062 liboqs is a C-language cryptographic library that provides implementations of post-quantum cryptography algorithms. A control-flow timing lean has been identified in the reference implementation of the Kyber key encapsulation mechanism when it is compiled with Clang 15-18 for `-Os`, `-O1`, and other compilation options. A proof-of-concept local attack on the reference implementation leaks the entire ML-KEM 512 secret key in ~10 minutes using end-to-end decapsulation timing measurements. The issue has been fixed in version 0.10.1. As a possible workaround, some compiler options may produce vectorized code that does not leak secret information, however relying on these compiler options as a workaround may not be reliable.
History

Wed, 20 Aug 2025 18:00:00 +0000

Type Values Removed Values Added
First Time appeared Openquantumsafe
Openquantumsafe liboqs
CPEs cpe:2.3:a:openquantumsafe:liboqs:*:*:*:*:*:*:*:*
Vendors & Products Openquantumsafe
Openquantumsafe liboqs

Sat, 31 May 2025 00:00:00 +0000

Type Values Removed Values Added
References

Wed, 28 May 2025 17:00:00 +0000

Type Values Removed Values Added
References

Thu, 22 May 2025 06:45:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Subscriptions

Open Quantum Safe Liboqs
Openquantumsafe Liboqs
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2024-08-02T03:37:05.189Z

Reserved: 2024-05-27T15:59:57.031Z

Link: CVE-2024-36405

cve-icon Vulnrichment

Updated: 2024-08-02T03:37:05.189Z

cve-icon NVD

Status : Analyzed

Published: 2024-06-10T13:15:50.700

Modified: 2025-08-20T17:48:01.953

Link: CVE-2024-36405

cve-icon Redhat

Severity : Moderate

Publid Date: 2024-06-10T00:00:00Z

Links: CVE-2024-36405 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2025-07-13T11:21:45Z

Weaknesses