CVE-2025-54764
MediumCVSS 6.2Exploitation Probability (EPSS)
Low risk13th percentile - higher than 13% of all known CVEs
Summary
Mbed TLS before 3.6.5 allows a local timing attack against certain RSA operations, and direct calls to mbedtls_mpi_mod_inv or mbedtls_mpi_gcd. An attacker with local access may exploit timing differences to extract information about cryptographic operations.
Risk Assessment
This could lead to disclosure of sensitive data or cryptographic keys, weakening the security of applications using Mbed TLS.
Recommendation
Update Mbed TLS to version 3.6.5 or later to eliminate the timing attack vulnerability.
Other vulnerabilities in Mbed TLS
See all- CVE-2026-34877Critical
A vulnerability in Mbed TLS (versions 2.19.0 to 3.6.5 and 4.0.0) is caused by insufficient protection of serialized SSL structures. An attacker can modify these structures, leading to memory corruption and potential arbitrary code execution.
- CVE-2026-87044Medium
In the Mbed TLS crypto shim driver (drivers/crypto/crypto_mbedtls_shim.c), error paths in mbedtls_cbc() and mbedtls_aead() after a successful psa_cipher_encrypt_setup()/psa_aead_decrypt_setup() return without calling psa_cipher_abort()/psa_aead_abort(). This permanently leaks the heap-allocated mbedtls_aes_context (about 288 bytes) from Mbed TLS's fixed static heap (default 512 bytes) on each failed operation. An unauthenticated attacker can exhaust the heap by sending 802.15.4 frames with a bogus MIC or via the OSDP channel, permanently breaking subsequent cryptographic operations until reboot.
- CVE-2026-73064Low
In Mbed TLS 3.2.0 through 3.6.6 and 4.0.0 through 4.1.0, an attacker who can cause an entropy source to fail can remove or inject bytes into the start of the TLS stream. This only affects TLS 1.3 servers.
- CVE-2026-25832Low
In Mbed TLS 3.6.x before 3.6.7 and 4.1.x before 4.1.2, the TLS 1.3 client accepts a HelloRetryRequest selecting a group that was not advertised. This can violate TLS 1.3 protocol negotiation expectations.
- CVE-2026-34876High
Mbed TLS 3.x before 3.6.6 has an out-of-bounds read vulnerability in mbedtls_ccm_finish() due to missing validation of the tag_len parameter. An attacker can obtain adjacent CCM context data.
- CVE-2025-66442Medium
In Mbed TLS through 4.0.0, a compiler-induced timing side channel (in RSA and CBC/ECB decryption) occurs only with LLVM's select-optimize feature. TF-PSA-Crypto through 1.0.0 is also affected.
- CVE-2025-59438Medium
Mbed TLS through 3.6.4 has an Observable Timing Discrepancy vulnerability. This may allow an attacker to infer information based on timing differences in cryptographic operations.
Original NVD description (English source)
Mbed TLS before 3.6.5 allows a local timing attack against certain RSA operations, and direct calls to mbedtls_mpi_mod_inv or mbedtls_mpi_gcd.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

