Mbed-TLS.mbedtls is vulnerable to Observable Timing Discrepancy
53
CVE Score
Medium
Observable Timing Discrepancy
When decrypting with block cipher modes that use padding, Mbed TLS translates internal cipher error codes into PSA error codes in a way that is not constant time. A local attacker who can request decryptions and observe timing through shared resources such as caches or the branch predictor learns whether padding was valid, forming a padding oracle. This allows partial or full recovery of plaintext encrypted with CBC-PKCS7. The fix removes the timing difference and adds a padding-aware finish function for safer error handling.
Upgrade the Mbed-TLS.mbedtls library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and your application decrypts untrusted ciphertext with a padded CBC or ECB mode through the PSA API.
1.0.0 - 3.6.4
Fixed in 3.6.5Mbed-TLS.mbedtls is vulnerable to Observable Timing Discrepancy in versions 1.0.0 - 3.6.4.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.