Home / Arm / Mbed Tls / CVE-2021-36647
CVE-2021-36647: is it exploited, and which versions of Arm Mbed Tls are affected and fixed?
CVE-2021-36647 is a broken or risky cryptography vulnerability in Arm Mbed Tls. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:09 UTC). Affected: mbed tls before 2.16.11, mbed tls from 2.17.0 before 2.27.0 and mbed tls from 2.28.0 before 3.0.0 (NVD). Fixed in 2.16.11, 2.27.0 and 3.0.0 (NVD). Severity: Medium (4.7, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:09 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:42 UTC.
What is CVE-2021-36647?
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.
From the CVE record by mitre, last updated November 3, 2025, 19:26 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| arm | mbed tls | before 2.16.11 | application |
| arm | mbed tls | from 2.17.0 before 2.27.0 | application |
| trustedfirmware | mbed tls | from 2.28.0 before 3.0.0 | application |
NVD analysis (status Modified), last modified June 17, 2026, 03:58 UTC.
How severe is CVE-2021-36647?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.7 | CVSS 3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N | CISA-ADP |
| Medium 4.7 | CVSS 3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-36647 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, April 8, 2025)
- EPSS
- 0.17% probability of exploitation activity in the next 30 days, percentile 6.9 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-327 Use of a Broken or Risky Cryptographic Algorithm
Where are the vendor advisories and references?
- https://kouzili.com/Load-Step.pdf
- https://github.com/ARMmbed/mbedtls/releases/
- https://tls.mbed.org/tech-updates/security-advisories/mbedtls-security-advisory-2021-07-1
- https://lists.debian.org/debian-lts-announce/2025/06/msg00034.html
When was it published, and where is the official record?
- Reserved
- July 12, 2021
- Published
- January 17, 2023, 00:00 UTC
- CVE record updated
- November 3, 2025, 19:26 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 03:58 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:42 UTC; KEV December 3, 2026, 18:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Mbed Tls?
- Apr 2, 2026CVE-2026-34877 Arm Mbed Tls: runs with more privileges than needed
- Apr 1, 2026CVE-2026-34872 Arm Mbed Tls: cryptographic signature not verified
- Apr 1, 2026CVE-2026-34871 Arm Mbed Tls: weak random number generator
- Apr 1, 2026CVE-2026-25835 Arm Mbed Tls: incorrect Usage of Seeds in Pseudo-Random Number Generator (PRNG)
- Apr 1, 2026CVE-2025-66442 Arm Mbed Tls: covert Timing Channel
- Oct 21, 2025CVE-2025-59438 Arm Mbed Tls: timing side channel
- Oct 20, 2025CVE-2025-54764 Arm Mbed Tls: timing side channel
- Mar 29, 2024CVE-2024-28960 Arm Mbed Crypto: improper access control
Questions about CVE-2021-36647
Is CVE-2021-36647 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:09 UTC. FIRST's EPSS gives it a 0.17% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Arm Mbed Tls are affected by CVE-2021-36647?
mbed tls before 2.16.11, mbed tls from 2.17.0 before 2.27.0 and mbed tls from 2.28.0 before 3.0.0, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2021-36647?
2.16.11, 2.27.0 and 3.0.0, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-36647?
Medium (4.7, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2021-36647?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.