CVE-2025-66442

mbedtls: Mbed TLS and TF-PSA-Crypto: Information disclosure via compiler-induced timing side channel

Published Apr 1, 2026 CVSS 3.1 · 5.1 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

A compiler-induced timing side channel exists in Mbed TLS through version 4.0.0 and in TF-PSA-Crypto through version 1.0.0. The flaw manifests during RSA and CBC/ECB decryption when LLVM’s select‑optimize feature is enabled, allowing an adversary to infer secrets from subtle timing variations in the decryption process. This can lead to leakage of private keys or plaintext data.

Affected Systems

ARM’s Mbed TLS library up to and including release 4.0.0, and the TF-PSA-Crypto library up to and including release 1.0.0 are affected. Any applications or systems that use these libraries with LLVM’s select‑optimize enabled are potentially vulnerable.

Risk and Exploitability

The CVSS score of 5.1 indicates medium severity, but the EPSS score of less than 1 % and absence from the KEV catalog imply a low likelihood of active exploitation. Exploitation requires that the vulnerable library be compiled with LLVM’s select‑optimize enabled, so the attack surface is limited to developers or build environments that use these settings. If an attacker can influence the compilation of code containing the vulnerable libraries on a target system, they could measure timing differences and gain sensitive information, but widespread, automated exploitation is currently unlikely.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Verify the currently installed versions of Mbed TLS and TF-PSA-Crypto.
  • If the versions are 4.0.0 or earlier for Mbed TLS or 1.0.0 or earlier for TF-PSA-Crypto, upgrade to the latest released versions from the official repositories.
  • Rebuild all affected projects after the upgrade, ensuring that LLVM’s select‑optimize feature is disabled or removed from the build flags.
  • Validate that the rebuilt applications no longer exhibit the timing side channel by conducting side‑channel tests or following vendor guidance.
  • If a timely upgrade is not possible, monitor vendor advisories for future fixes and consider isolating cryptographic workloads that rely on the affected libraries.

Generated by OpenCVE AI on April 3, 2026 at 22:30 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Arm
Arm mbed Tls
Arm tf-psa-crypto
CPEs cpe:2.3:a:arm:mbed_tls:*:*:*:*:*:*:*:*
cpe:2.3:a:arm:tf-psa-crypto:*:*:*:*:*:*:*:*
Vendors & Products Arm
Arm mbed Tls
Arm tf-psa-crypto
Type Values Removed Values Added
First Time appeared Mbed-tls
Mbed-tls mbedtls
Mbed-tls tf-psa-crypto
Vendors & Products Mbed-tls
Mbed-tls mbedtls
Mbed-tls tf-psa-crypto
Type Values Removed Values Added
Title mbedtls: Mbed TLS and TF-PSA-Crypto: Information disclosure via compiler-induced timing side channel
Weaknesses CWE-733
References
Metrics threat_severity

None

threat_severity

Moderate

Type Values Removed Values Added
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.
Weaknesses CWE-385
References
Metrics cvssV3_1

{'score': 5.1, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses
  • CWE-385

    Covert Timing Channel

  • CWE-733

    Compiler Optimization Removal or Modification of Security-critical Code

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Apr 1, 2026, 8:00 PM
Reserved
Dec 1, 2025, 12:00 AM
Status
Analyzed
Published
Apr 1, 2026, 8:16 PM
Modified
Nov 4, 2026, 10:10 PM
Severity
Moderate
Public date
Apr 1, 2026, 12:00 AM