CVE-2025-66442: mbedtls · Covert Timing Channel
Affects mbedtlsSource CVE Database V5
Not known to be exploited · CVSS 5.1 Medium.
Data as of 26 Oct 2026, 17:16 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 19% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 1 Apr 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubmbed-tls/mbedtlspkg:github/mbed-tls/mbedtlsOther threats | Affected
| Fixed in– |
GitHubmbed-tls/TF-PSA-Cryptopkg:github/mbed-tls/TF-PSA-CryptoOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
To mitigate CVE-2025-66442, organizations should first identify whether their cryptographic libraries are compiled with LLVM's select-optimize feature enabled. If so, recompiling Mbed TLS and TF-PSA-Crypto without this optimization or using alternative compiler settings that avoid the timing side channel is recommended. Developers should apply any patches or updates released by the Mbed TLS and TF-PSA-Crypto maintainers once available. Employing constant-time cryptographic coding practices that are resilient to compiler optimizations is essential to prevent similar issues. Additionally, performing side channel analysis and testing on cryptographic builds can help detect timing leaks introduced by compiler behavior. For critical systems, consider using hardware-based cryptographic modules that are less susceptible to software timing attacks. Monitoring cryptographic operations for anomalous timing patterns and restricting access to cryptographic keys can further reduce risk. Finally, maintain awareness of compiler updates and security advisories related to cryptographic libraries and build environments.
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.
References
- github.com/Mbed-TLS/mbedtls/releases (opens in a new tab)
- mbed-tls.readthedocs.io/en/latest/security-advisories/ (opens in a new tab)
- github.com/Mbed-TLS/TF-PSA-Crypto/releases (opens in a new tab)
- mbed-tls.readthedocs.io/en/latest/security-advisories/mbedtls-security-advisory-2026-03-compiler-induced-constant-time-violations/ (opens in a new tab)