Skip to main content
EPSS 0.3%top 81%

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.

0
Medium
Published: 05/07/2026 (05/07/2026, 01:13:04 UTC)
Source: GCVE Database
Vendor/Project: Microsoft Security Response Center
Product: Microsoft

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

Affected versions
=3.0<=4.0.0<=1.0.0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/07/2026, 19:56:58 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses