An issue was discovered in Mbed TLS before 2.25.0 (and before 2.16.9 LTS and before 2.7.18 LTS). The calculations performed by mbedtlsmpiexp_mod are not limited; thus, supplying overly large parameters could lead to denial of service when generating Diffie-Hellman key pairs.
{
"license": "CC-BY-4.0",
"sources": [
{
"id": "CVE-2020-36475",
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2020-36475",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2020-36475",
"modified": "2024-11-21T05:29:37.603Z",
"imported": "2025-11-20T23:04:00.323Z",
"published": "2021-08-23T02:15:06.930Z"
}
]
}