{"id":"CVE-2021-43398","aliases":["CVE-2021-43398"],"related":[],"kind":"vulnerability","state":"published","title":"Crypto++ (aka Cryptopp) 8.6.0 and earlier contains a timing leakage in MakePublicKey().","summary":"Crypto++ (aka Cryptopp) 8.6.0 and earlier contains a timing leakage in MakePublicKey(). There is a clear correlation between execution time and private key length, which may cause disclosure of the length information of the private key. This might allow attackers to conduct timing attacks. NOTE: this report is disputed by the vendor and multiple third parties. The execution-time differences are intentional. A user may make a choice of a longer key as a tradeoff between strength and performance. In making this choice, the amount of information leaked to an adversary is of infinitesimal value","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Crypto++ (aka Cryptopp) 8.6.0 and earlier contains a timing leakage in MakePublicKey(). There is a clear correlation between execution time and private key length, which may cause disclosure of the length information of the private key. This might allow attackers to conduct timing attacks. NOTE: this report is disputed by the vendor and multiple third parties. The execution-time differences are intentional. A user may make a choice of a longer key as a tradeoff between strength and performance. In making this choice, the amount of information leaked to an adversary is of infinitesimal value","source":"cvelist"},{"lang":"es","text":"** EN DISPUTA ** Crypto++ (también se conoce como Cryptopp) versiones 8.6.0 y anteriores, contienen un filtrado de tiempo en la función MakePublicKey(). Se presenta una clara correlación entre el tiempo de ejecución y la longitud de la clave privada, que puede causar una divulgación de la información de la longitud de la clave privada. Esto podría permitir a atacantes conducir ataques de tiempo. NOTA: este informe es discutido por el vendedor y por múltiples terceros. Las diferencias de tiempo de ejecución son intencionadas. Un usuario puede elegir una clave más larga como compensación entre la fuerza y el rendimiento. Al hacer esta elección, la cantidad de información filtrada a un adversario es de valor infinitesimal","source":"nvd"}],"published":"2021-11-04T20:06:38.000Z","modified":"2026-06-17T04:10:55.000Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","score":5,"rating":"MEDIUM"}],"cwes":["CWE-203"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"8.6.0"}],"vendor":"cryptopp","product":"crypto++","cpe":"cpe:2.3:a:cryptopp:crypto\\+\\+:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/weidai11/cryptopp/issues/1080","tags":["exploit","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://cryptopp.com","tags":["vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/weidai11/cryptopp/issues/1080#issuecomment-996492222","tags":["exploit","issue-tracking","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-43398","url":"https://www.cve.org/CVERecord?id=CVE-2021-43398","licence":"CVE Terms of Use","modified":"2024-08-04T03:55:28.758Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-43398","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-43398","licence":"Public domain","modified":"2026-06-17T04:10:55.000Z"}],"updatedAt":"2026-11-25T22:24:35.927Z","epss":{"score":0.0207,"percentile":0.81976,"date":"2026-12-01T12:00:22.000Z"}}