Live threats

All CVEs / Cryptopp

CVE-2021-43398Cryptopp Crypto++

Medium 5.3 No auth needed

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Crypto++.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
cryptoppcrypto++≤ 8.6.0

Official sources

References

Links published by the sources. Open them with care.