CVE-2025-49087: Medium severity Mbed TLS Mbed TLS vulnerability
In Mbed TLS 3.6.1 through 3.6.3 before 3.6.4, a timing discrepancy in block cipher padding removal allows an attacker to recover the plaintext when PKCS#7 padding mode is used.
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.4-r0 - Upgrade
Upgrade
alpine/mbedtls3to a version that resolves this vulnerability.Fixed in 3.6.4-r0 - Upgrade
Upgrade
Mbed TLSto a version that resolves this vulnerability.Fixed in 3.6.4
Event History
Frequently Asked Questions
What is the severity of CVE-2025-49087?
The severity of CVE-2025-49087 is considered high due to the potential for plaintext recovery through timing discrepancies.
How do I fix CVE-2025-49087?
To fix CVE-2025-49087, you should upgrade Mbed TLS to version 3.6.4 or later.
Which versions of Mbed TLS are affected by CVE-2025-49087?
Mbed TLS versions 3.6.1 to 3.6.3 are affected by CVE-2025-49087.
Who is impacted by CVE-2025-49087?
Any application using Mbed TLS versions 3.6.1 through 3.6.3 with PKCS#7 padding mode is impacted by CVE-2025-49087.
What type of vulnerability is CVE-2025-49087?
CVE-2025-49087 is a timing attack vulnerability related to block cipher padding removal.