CVE-2019-14318
CVE-2019-14318 is a medium-severity vulnerability in Cryptopp Crypto++ with a CVSS 3.x base score of 5.9. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-417.
Key facts
- Severity: Medium (CVSS 3.x base score 5.9)
- CVSS v2: 4.3
- EPSS exploit prediction: 3% (87th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-417
- Affected product: Cryptopp Crypto++
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2019-14318?
- 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.
- How severe is CVE-2019-14318?
- CVE-2019-14318 has a CVSS 3.x base score of 5.9, rated medium severity. It is exploitable over network with high attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity none, and availability none.
- Is CVE-2019-14318 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 3% (87th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2019-14318?
- CVE-2019-14318 affects Cryptopp Crypto++. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2019-14318?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2019-14318 published?
- CVE-2019-14318 was published on 2019-07-30 and last updated on 2026-06-17.
References
- http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00066.html
- http://www.openwall.com/lists/oss-security/2019/10/02/2
- https://eprint.iacr.org/2011/232.pdf
- https://github.com/weidai11/cryptopp/issues/869
- https://minerva.crocs.fi.muni.cz/
- https://tches.iacr.org/index.php/TCHES/article/view/7337
Affected products (1)
- cpe:2.3:a:cryptopp:crypto\+\+:*:*:*:*:*:*:*:*
More vulnerabilities in Cryptopp Crypto++
- CVE-2023-50981 — High (CVSS 7.5): ModularSquareRoot in Crypto++ (aka cryptopp) through 8.9.0 allows attackers to cause a denial of service (infinite…
- CVE-2023-50980 — High (CVSS 7.5): gf2n.cpp in Crypto++ (aka cryptopp) through 8.9.0 allows attackers to cause a denial of service (application crash) via…
- CVE-2022-48570 — High (CVSS 7.5): Crypto++ through 8.4 contains a timing side channel in ECDSA signature generation. Function…
- CVE-2016-3995 — High (CVSS 7.5): The timing attack protection in Rijndael::Enc::ProcessAndXorBlock and Rijndael::Dec::ProcessAndXorBlock in Crypto++…
- CVE-2016-9939 — High (CVSS 7.5): Crypto++ (aka cryptopp and libcrypto++) 5.6.4 contained a bug in its ASN.1 BER decoding routine. The library will…
- CVE-2016-7544 — High (CVSS 7.5): Crypto++ 5.6.4 incorrectly uses Microsoft's stack-based _malloca and _freea functions. The library will request a block…
All CVEs affecting Cryptopp Crypto++ →
Other CWE-417 vulnerabilities
- CVE-2019-9855 — Critical (CVSS 9.8): LibreOffice is typically bundled with LibreLogo, a programmable turtle vector graphics script, which can execute…
- CVE-2017-1000197 — Critical (CVSS 9.8): October CMS build 412 is vulnerable to file path modification in asset move functionality resulting in creating…
- CVE-2017-7480 — Critical (CVSS 9.8): rkhunter versions before 1.4.4 are vulnerable to file download over insecure channel when doing mirror update resulting…
- CVE-2017-6520 — Critical (CVSS 9.1): The Multicast DNS (mDNS) responder used in BOSE Soundtouch 30 inadvertently responds to IPv4 unicast queries with…
- CVE-2017-3969 — High (CVSS 8.2): Abuse of communication channels vulnerability in the server in McAfee Network Security Management (NSM) before…
- CVE-2017-7760 — High (CVSS 7.8): The Mozilla Windows updater modifies some files to be updated by reading the original file and applying changes to it.…