CVE-2025-54764: Medium severity Arm mbed TLS vulnerability
Mbed TLS before 3.6.5 allows a local timing attack against certain RSA operations, and direct calls to mbedtlsmpimodinv or mbedtlsmpigcd.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
alpine/mbedtlsto a version that resolves this vulnerability.Fixed in 3.6.5-r0 - Upgrade
Upgrade
alpine/mbedtls3to a version that resolves this vulnerability.Fixed in 3.6.5-r0 - Upgrade
Upgrade
debian/mbedtlsto a version that resolves this vulnerability.Fixed in 3.6.5-0.1~deb13u1 - Upgrade
Upgrade
debian/mbedtlsto a version that resolves this vulnerability.Fixed in 3.6.5-0.1 - Upgrade
Upgrade
debian/mbedtlsto a version that resolves this vulnerability.Fixed in 3.6.6-0.1~deb13u1Fixed in 3.6.7-3
Event History
Frequently Asked Questions
What is the severity of CVE-2025-54764?
CVE-2025-54764 is classified as a medium severity vulnerability due to its potential for local timing attacks.
How do I fix CVE-2025-54764?
To fix CVE-2025-54764, upgrade to Mbed TLS version 3.6.5 or later.
What types of operations are affected by CVE-2025-54764?
CVE-2025-54764 affects certain RSA operations, specifically involving mbedtls_mpi_mod_inv and mbedtls_mpi_gcd.
Who is affected by CVE-2025-54764?
Any users of Mbed TLS versions prior to 3.6.5 are potentially affected by CVE-2025-54764.
How can I identify if I am using a vulnerable version related to CVE-2025-54764?
You can identify your version of Mbed TLS by checking the version information in the library's documentation or within the implementation.