What’s Vulnerable › Vulnerabilities
CVE-2021-43398
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.0% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2021-11-04 · updated 2026-06-17
- Weakness: CWE-203
Description
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
Affected products
- Cryptopp Crypto++: through 8.6.0
References
- https://cryptopp.com
- https://github.com/weidai11/cryptopp/issues/1080
- https://github.com/weidai11/cryptopp/issues/1080#issuecomment-996492222
- https://cryptopp.com
- https://github.com/weidai11/cryptopp/issues/1080
- https://github.com/weidai11/cryptopp/issues/1080#issuecomment-996492222
Get alerted when CVE-2021-43398 or the next vulnerability affects your stack