# CVE-2021-36647

- Priority: **Routine**
- Reason: Not severe (CVSS 4.7, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2023-01-17 · Modified: 2025-11-03
- Aliases: UBUNTU-CVE-2021-36647, DEBIAN-CVE-2021-36647
- Record: https://cvemate.com/vulnerability/CVE-2021-36647 · JSON: https://cvemate.com/vulnerability/CVE-2021-36647/json

## Description

```text
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.
```

## Signals

- CVSS: 4.7 medium (v3.1, CVE.org) CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
- EPSS: 0.172%, percentile 6.876%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- arm mbed\_tls: \< 2.16.11 \| ≥ 2.17.0, \< 2.27.0
- debian mbedtls (Debian): \< 2.16.11-0.1
- ubuntu mbedtls (Ubuntu): All versions (No fix recorded) \| \< 2.8.0-1ubuntu0.1~esm2 \| \< 2.16.4-1ubuntu2+esm2
- trustedfirmware mbed tls: ≥ 2.28.0, \< 3.0.0

## 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>
- <https://ubuntu.com/security/CVE-2021-36647>
- <https://www.cve.org/CVERecord?id=CVE-2021-36647>
- <https://security-tracker.debian.org/tracker/CVE-2021-36647>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-36647>
- <https://ubuntu.com/security/notices/USN-9384-1>

---

Data as of 2026-12-05T06:22:55.269Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
