CVE-2025-66442 Details
Description
In Mbed TLS through 4.0.0, there is a compiler-induced timing side channel (in RSA and CBC/ECB decryption) that only occurs with LLVM's select-optimize feature. TF-PSA-Crypto through 1.0.0 is also affected.
A timing side channel vulnerability has been identified in Mbed TLS versions through 4.0.0 and in TF-PSA-Crypto versions through 1.0.0. This vulnerability, which affects RSA and CBC/ECB decryption, is introduced by certain compiler optimizations that can disrupt constant-time operations, potentially allowing an attacker to exploit padding oracle conditions. The issue arises when Mbed TLS is compiled with Clang 18 using the LLVM select-optimize feature, particularly for 64-bit RISC-V architectures.
Users can disable the LLVM select-optimize feature when compiling with Clang, for example by using the default optimization flags -O2 or -Os. Additionally, rebuilding Mbed TLS or TF-PSA-Crypto with these flags can address the vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 1, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-385 | Covert Timing Channel | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| arm mbed tls | <= 4.0.0 |
CPE
Remediation
| |
| arm tf-psa-crypto | <= 1.0.0 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 4, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 3, 2026 | Initial Analysis | [email protected] |
| Apr 1, 2026 | New CVE Received | [email protected] |
| Apr 1, 2026 | CVE Modified | CISA-ADP |