{"id":"CVE-2021-36647","aliases":["CVE-2021-36647"],"related":[],"kind":"vulnerability","state":"published","title":"Use of a Broken or Risky Cryptographic Algorithm in the function mbedtlsmpiexpmod() in lignum.c in Mbed TLS Mbed TLS all versions before 3.…","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"Uso de un algoritmo criptográfico roto o riesgoso en la función mbedtls_mpi_exp_mod() en lignum.c en Mbed TLS Mbed TLS todas las versiones anteriores a 3.0.0, 2.27.0 o 2.16.11 permite a los atacantes acceder a información de tiempo y acceso a memoria suficientemente precisa (normalmente un sistema operativo que no es de confianza que ataca un enclave seguro como SGX o el mundo seguro TrustZone) para recuperar las claves privadas utilizadas en RSA.","source":"nvd"}],"published":"2023-01-17T00:00:00.000Z","modified":"2026-06-17T03:58:59.387Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","score":4.7,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","score":4.7,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","score":4.7,"rating":"MEDIUM"}],"cwes":["CWE-327"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"status":"affected","fixed":"2.16.11"},{"status":"affected","introduced":"2.17.0","fixed":"2.27.0"}],"vendor":"arm","product":"mbed_tls","cpe":"cpe:2.3:a:arm:mbed_tls:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","introduced":"2.28.0","fixed":"3.0.0"}],"vendor":"trustedfirmware","product":"mbed_tls","cpe":"cpe:2.3:a:trustedfirmware:mbed_tls:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://kouzili.com/Load-Step.pdf","tags":["third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/ARMmbed/mbedtls/releases/","tags":["third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://tls.mbed.org/tech-updates/security-advisories/mbedtls-security-advisory-2021-07-1","tags":["vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/06/msg00034.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-04-08T20:30:16.965Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-36647","url":"https://www.cve.org/CVERecord?id=CVE-2021-36647","licence":"CVE Terms of Use","modified":"2025-11-03T19:26:11.739Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-36647","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-36647","licence":"Public domain","modified":"2026-06-17T03:58:59.387Z"}],"updatedAt":"2026-11-25T22:58:08.132Z","epss":{"score":0.00172,"percentile":0.06919,"date":"2026-12-01T12:00:22.000Z"}}