CVE-2021-43398

MEDIUM
5.3
CVSS Score
Published: November 4, 2021 at 08:06 PM UTC
Updated: June 17, 2026 at 04:10 AM UTC
1 product affected across 1 vendorCrypto++

Using N/A by N/A?

Get instant alerts when new vulnerabilities affect N/A - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.3
Exploit prediction
EPSS 2%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≤ 8.6.0

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

Patch and advisory references

References (3)

x_refsource_MISCVendor Advisory
https://cryptopp.com
x_refsource_MISCExploitThird Party Advisory
https://github.com/weidai11/cryptopp/issues/1080
x_refsource_MISCExploitIssue TrackingThird Party Advisory
https://github.com/weidai11/cryptopp/issues/1080#issuecomment-996492222

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-203

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card