CVE-2019-14318: Crypto++ - Timing Side Channel in ECDSA
- Cve: CVE-2019-14318
- Name: Crypto++ - Timing Side Channel in ECDSA
- Description: Crypto++ 8.3.0 and earlier contains a timing side channel in ECDSA signature generation. This allows a local or remote attacker, able to measure the duration of hundreds to thousands of signing operations, to compute the private key used. The issue occurs because scalar multiplication in ecp.cpp (prime field curves, small leakage) and algebra.cpp (binary field curves, large leakage) is not constant time and leaks the bit length of the scalar among other information.
- Impact: Attackers can recover private keys by analyzing timing differences, leading to complete compromise of cryptographic security.
- Remediation: Update to the latest version of Crypto++, or apply security patches that implement constant-time scalar multiplication.
- Vulnerability type: side_channel
- Vulnerability impact: information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.9
- Cvss vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- Epss score: 0.03104
- Epss percentile: 0.88098
- Assignee: [email protected]
- Published at: 2019-07-30T17:15:12Z
- Age in days: 2674
- Modified at: 2026-06-17T02:18:11Z
- Patch available: yes
- Public exploits total: 1
- References total: 6
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2019-14318
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-417 | — |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://eprint.iacr.org/2011/232.pdf | nvd | 2019-07-30 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/weidai11/cryptopp/issues/869 | Patch, Third Party Advisory |
| https://eprint.iacr.org/2011/232.pdf | Exploit, Third Party Advisory |
| https://tches.iacr.org/index.php/TCHES/article/view/7337 | Third Party Advisory |
| http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00066.html | |
| http://www.openwall.com/lists/oss-security/2019/10/02/2 | |
| https://minerva.crocs.fi.muni.cz/ |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| cryptopp:crypto++ | <= 8.3.0 | no | nvd | /v1/products/cryptopp/crypto++ |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| weidai11/cryptopp | issues | yes | /v1/repositories/weidai11/cryptopp |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2019-07-30
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts