CVE-2021-36647
Severity CVSS v4.0:
Pending analysis
Type:
CWE-327
Use of a Broken or Risky Cryptographic Algorithm
Publication date:
17/01/2023
Last modified:
03/11/2025
Description
Use of a Broken or Risky Cryptographic Algorithm in the function mbedtls_mpi_exp_mod() in lignum.c in Mbed TLS Mbed TLS all versions before 3.0.0, 2.27.0 or 2.16.11 allows attackers with access to precise enough timing and memory access information (typically an untrusted operating system attacking a secure enclave such as SGX or the TrustZone secure world) to recover the private keys used in RSA.
Impact
Base Score 3.x
4.70
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:arm:mbed_tls:*:*:*:*:*:*:*:* | 2.16.11 (excluding) | |
| cpe:2.3:a:arm:mbed_tls:*:*:*:*:*:*:*:* | 2.17.0 (including) | 2.27.0 (excluding) |
| cpe:2.3:a:arm:mbed_tls:*:*:*:*:*:*:*:* | 2.28.0 (including) | 3.0.0 (excluding) |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://github.com/ARMmbed/mbedtls/releases/
- https://kouzili.com/Load-Step.pdf
- https://tls.mbed.org/tech-updates/security-advisories/mbedtls-security-advisory-2021-07-1
- https://github.com/ARMmbed/mbedtls/releases/
- https://kouzili.com/Load-Step.pdf
- https://lists.debian.org/debian-lts-announce/2025/06/msg00034.html
- https://tls.mbed.org/tech-updates/security-advisories/mbedtls-security-advisory-2021-07-1



