CVE-2024-36405
published medium CVSS 3.1 · 5.9Control-flow timing leak in Kyber reference implementation when compiled with Clang 15-18 for -Os, -O1 and other options
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| open-quantum-safe | — | liboqs< 0.10.1 | Affected | Not stated | GitHub_M |
| open_quantum_safe | — | liboqs0 through 0.10.0 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| SUSE / openSUSE | SLE-15-SP6 | liboqs-develaarch64 | Advisory build | 0.12.0-150600.3.3.1 | SUSE-SU-2025:0005-1 |
| SUSE / openSUSE | SLE-15-SP6 | liboqs-develppc64le | Advisory build | 0.12.0-150600.3.3.1 | SUSE-SU-2025:0005-1 |
| SUSE / openSUSE | SLE-15-SP6 | liboqs-devels390x | Advisory build | 0.12.0-150600.3.3.1 | SUSE-SU-2025:0005-1 |
| SUSE / openSUSE | SLE-15-SP6 | liboqs-develx86_64 | Advisory build | 0.12.0-150600.3.3.1 | SUSE-SU-2025:0005-1 |
| SUSE / openSUSE | SLE-15-SP6 | liboqs7aarch64 | Advisory build | 0.12.0-150600.3.3.1 | SUSE-SU-2025:0005-1 |
| SUSE / openSUSE | SLE-15-SP6 | liboqs7ppc64le | Advisory build | 0.12.0-150600.3.3.1 | SUSE-SU-2025:0005-1 |
Show 28 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP6 | liboqs7s390x | Advisory build | 0.12.0-150600.3.3.1 | SUSE-SU-2025:0005-1 |
| SUSE / openSUSE | SLE-15-SP6 | liboqs7x86_64 | Advisory build | 0.12.0-150600.3.3.1 | SUSE-SU-2025:0005-1 |
| SUSE / openSUSE | SLE-15-SP6 | oqs-provideraarch64 | Advisory build | 0.7.0-150600.3.3.1 | SUSE-SU-2025:0005-1 |
| SUSE / openSUSE | SLE-15-SP6 | oqs-providerppc64le | Advisory build | 0.7.0-150600.3.3.1 | SUSE-SU-2025:0005-1 |
| SUSE / openSUSE | SLE-15-SP6 | oqs-providers390x | Advisory build | 0.7.0-150600.3.3.1 | SUSE-SU-2025:0005-1 |
| SUSE / openSUSE | SLE-15-SP6 | oqs-providerx86_64 | Advisory build | 0.7.0-150600.3.3.1 | SUSE-SU-2025:0005-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | liboqs-develaarch64 | Advisory build | 0.12.0-150600.3.3.1 | SUSE-SU-2025:0005-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | liboqs-develppc64le | Advisory build | 0.12.0-150600.3.3.1 | SUSE-SU-2025:0005-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | liboqs-devels390x | Advisory build | 0.12.0-150600.3.3.1 | SUSE-SU-2025:0005-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | liboqs-develx86_64 | Advisory build | 0.12.0-150600.3.3.1 | SUSE-SU-2025:0005-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | liboqs-devel-32bitx86_64 | Advisory build | 0.12.0-150600.3.3.1 | SUSE-SU-2025:0005-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | liboqs7aarch64 | Advisory build | 0.12.0-150600.3.3.1 | SUSE-SU-2025:0005-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | liboqs7ppc64le | Advisory build | 0.12.0-150600.3.3.1 | SUSE-SU-2025:0005-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | liboqs7s390x | Advisory build | 0.12.0-150600.3.3.1 | SUSE-SU-2025:0005-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | liboqs7x86_64 | Advisory build | 0.12.0-150600.3.3.1 | SUSE-SU-2025:0005-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | liboqs7-32bitx86_64 | Advisory build | 0.12.0-150600.3.3.1 | SUSE-SU-2025:0005-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | oqs-provideraarch64 | Advisory build | 0.7.0-150600.3.3.1 | SUSE-SU-2025:0005-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | oqs-providerppc64le | Advisory build | 0.7.0-150600.3.3.1 | SUSE-SU-2025:0005-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | oqs-providers390x | Advisory build | 0.7.0-150600.3.3.1 | SUSE-SU-2025:0005-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | oqs-providerx86_64 | Advisory build | 0.7.0-150600.3.3.1 | SUSE-SU-2025:0005-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | liboqs-develaarch64 | Advisory build | 0.10.1-1.1 | OPENSUSE-SU-2024:14039-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | liboqs-develppc64le | Advisory build | 0.10.1-1.1 | OPENSUSE-SU-2024:14039-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | liboqs-devels390x | Advisory build | 0.10.1-1.1 | OPENSUSE-SU-2024:14039-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | liboqs-develx86_64 | Advisory build | 0.10.1-1.1 | OPENSUSE-SU-2024:14039-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | liboqs5aarch64 | Advisory build | 0.10.1-1.1 | OPENSUSE-SU-2024:14039-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | liboqs5ppc64le | Advisory build | 0.10.1-1.1 | OPENSUSE-SU-2024:14039-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | liboqs5s390x | Advisory build | 0.10.1-1.1 | OPENSUSE-SU-2024:14039-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | liboqs5x86_64 | Advisory build | 0.10.1-1.1 | OPENSUSE-SU-2024:14039-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.9 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| open-quantum-safe | liboqs | < 0.10.1 (affected) | GitHub_M · cna |
| open_quantum_safe | liboqs | 0 through 0.10.0 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
2- CWE-208 CWE-208: Observable Timing Discrepancy
- CWE-385 CWE-385: Covert Timing Channel
References
4- https://github.com/open-quantum-safe/liboqs/blob/7eecda6095c003ddded7175a1ffdf35a2ce63ed5/src/kem/kyber/pqcrystals-kyber_kyber512_ref/poly.c#L166
- https://github.com/open-quantum-safe/liboqs/commit/982c762c242ef549c914891b47bf6e0ed6321f91
- https://github.com/open-quantum-safe/liboqs/security/advisories/GHSA-f2v9-5498-2vpp
- https://github.com/pq-crystals/kyber/commit/9b8d30698a3e7449aeb34e62339d4176f11e3c6c
Provider assertions
3GitHub_M · cna
Control-flow timing leak in Kyber reference implementation when compiled with Clang 15-18 for -Os, -O1 and other options
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 1aa973fbf81a172c201667ca1ad8ade37038a1d70779ceaef374ad016347c621
- Ingested
- 23 Sep 2026, 08:24:05 UTC
- Source record
- Official CVE record