{"id":"JLSEC-2025-221","aliases":["JLSEC-2025-221"],"related":["CVE-2021-36647"],"kind":"vulnerability","state":"published","title":"Use of a Broken or Risky Cryptographic Algorithm in the function `mbedtls_mpi_exp_mod()` in lignum.c...","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.","summaryFormat":"markdown","summarySource":"jlsec","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.","format":"markdown","source":"jlsec"}],"published":"2025-11-21T15:59:04.054Z","modified":"2026-07-23T22:30:20.016Z","severity":{"scorer":"Julia Security Advisories","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":"Julia Security Advisories","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":[],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.27.0+0"}],"ecosystem":"Julia","package":"MbedTLS_jll","purl":"pkg:julia/MbedTLS_jll?uuid=c8ffd9c3-330d-5841-b78e-0817d7145fa1","source":"jlsec"}],"references":[{"url":"https://github.com/ARMmbed/mbedtls/releases/","tags":["web"],"sources":["jlsec"]},{"url":"https://kouzili.com/Load-Step.pdf","tags":["web"],"sources":["jlsec"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/06/msg00034.html","tags":["web"],"sources":["jlsec"]},{"url":"https://tls.mbed.org/tech-updates/security-advisories/mbedtls-security-advisory-2021-07-1","tags":["web"],"sources":["jlsec"]}],"credits":[],"sources":[{"source":"jlsec","name":"Julia Security Advisories","id":"JLSEC-2025-221","url":"https://osv.dev/vulnerability/JLSEC-2025-221","licence":"CC-BY-4.0","modified":"2026-07-23T22:30:20.016Z"}],"updatedAt":"2026-11-25T22:56:25.773Z"}