CVE-2021-43398Cryptopp Crypto++
Medium 5.3 No auth needed
Follow: this CVE · Cryptopp · Cryptopp Crypto++ We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- 2.1% probability of exploitation in 30 days · percentile 82
- Auth required
- No
- Published
- Nov 4, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-203
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
What happens
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
What to do
- Apply the vendor's security update for Crypto++.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| cryptopp | crypto++ | ≤ 8.6.0 |
Official sources
References
Links published by the sources. Open them with care.
- cryptopp.com Vendor Advisory
- github.com Exploit Third Party Advisory
- github.com Exploit Issue Tracking Third Party Advisory