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.
CVE-2025-66442 is a compiler-induced timing side channel vulnerability affecting Mbed TLS through version 4.0.0 and TF-PSA-Crypto through version 1.0.0. This issue occurs specifically when LLVM's select-optimize feature is used, impacting RSA and CBC/ECB decryption operations. The vulnerability is related to improper handling of timing variations introduced by compiler optimizations. No CVSS score or patch information is provided, and no known exploits are reported in the wild. The affected software includes Mbed TLS versions up to 4.0.0 and TF-PSA-Crypto up to 1.0.0. The vulnerability is categorized under CWE-385 (Timing Side Channel).
AI Analysis
Technical Summary
This vulnerability arises from a compiler optimization feature in LLVM (select-optimize) that induces timing side channels in cryptographic operations within Mbed TLS (up to version 4.0.0) and TF-PSA-Crypto (up to version 1.0.0). The side channel affects RSA and CBC/ECB decryption, potentially leaking sensitive information through timing variations. The issue is compiler-induced rather than a direct flaw in the cryptographic implementation. No patch or remediation details are provided in the advisory, and no active exploitation has been reported.
Potential Impact
The impact is a potential timing side channel that could allow an attacker to infer sensitive cryptographic information during RSA and CBC/ECB decryption operations when LLVM's select-optimize feature is used. This could weaken the confidentiality guarantees of the affected cryptographic libraries. However, no known exploits in the wild have been reported, and the vulnerability depends on specific compiler optimization settings.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should consider disabling LLVM's select-optimize feature during compilation or avoid using affected versions of Mbed TLS and TF-PSA-Crypto with this compiler optimization enabled. Monitor official Microsoft Security Response Center advisories for updates.
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.
Description
CVE-2025-66442 is a compiler-induced timing side channel vulnerability affecting Mbed TLS through version 4.0.0 and TF-PSA-Crypto through version 1.0.0. This issue occurs specifically when LLVM's select-optimize feature is used, impacting RSA and CBC/ECB decryption operations. The vulnerability is related to improper handling of timing variations introduced by compiler optimizations. No CVSS score or patch information is provided, and no known exploits are reported in the wild. The affected software includes Mbed TLS versions up to 4.0.0 and TF-PSA-Crypto up to 1.0.0. The vulnerability is categorized under CWE-385 (Timing Side Channel).
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability arises from a compiler optimization feature in LLVM (select-optimize) that induces timing side channels in cryptographic operations within Mbed TLS (up to version 4.0.0) and TF-PSA-Crypto (up to version 1.0.0). The side channel affects RSA and CBC/ECB decryption, potentially leaking sensitive information through timing variations. The issue is compiler-induced rather than a direct flaw in the cryptographic implementation. No patch or remediation details are provided in the advisory, and no active exploitation has been reported.
Potential Impact
The impact is a potential timing side channel that could allow an attacker to infer sensitive cryptographic information during RSA and CBC/ECB decryption operations when LLVM's select-optimize feature is used. This could weaken the confidentiality guarantees of the affected cryptographic libraries. However, no known exploits in the wild have been reported, and the vulnerability depends on specific compiler optimization settings.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should consider disabling LLVM's select-optimize feature during compilation or avoid using affected versions of Mbed TLS and TF-PSA-Crypto with this compiler optimization enabled. Monitor official Microsoft Security Response Center advisories for updates.
Technical Details
- Gcve Source
- db.gcve.eu
- Csaf Category
- csaf_vex
- Csaf Version
- 2.0
- Publisher
- Microsoft Security Response Center
- Advisory Id
- msrc_CVE-2025-66442
- Cve Count
- 1
Threat ID: 6a998f63acd9273b49193434
Added to database: 09/03/2026, 15:16:51 UTC
Last enriched: 09/07/2026, 19:56:58 UTC
Last updated: 09/10/2026, 19:36:51 UTC
Views: 9
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.