Every CVE Search/ Get API key

CVE-2019-14318

Crypto++ 8.3.0 and earlier contains a timing side channel in ECDSA signature generation. This...

5.9 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
High
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
None
Availability
None

Exploit likelihood

3.10%Up 1.3 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 5.9

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.

Record
CVE-2019-14318
CVSS 3.0
5.9 MediumCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS 2.0
4.3 MediumAV:N/AC:M/Au:N/C:P/I:N/A:N
Weakness
CWE-417
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2019-14318
Updated
2026-11-02
EUVDEUVD-2019-5542 No score

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.

Record
EUVD-2019-5542
Updated
2026-11-03
GitHub AdvisoriesGHSA-j77v-9g36-cfp2 5.9

Crypto++ 8.3.0 and earlier contains a timing side channel in ECDSA signature generation. This...

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.

Record
GHSA-j77v-9g36-cfp2
CVSS 3.0
5.9 MediumCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSV 5.9

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.

Record
CVE-2019-14318
CVSS 3.0
5.9 MediumCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSVDEBIAN-CVE-2019-14318 5.9

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.

Record
DEBIAN-CVE-2019-14318
CVSS 3.0
5.9 MediumCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
Show 4 moreShow less
OSVUBUNTU-CVE-2019-14318 5.9

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.

Record
UBUNTU-CVE-2019-14318
CVSS 3.0
5.9 MediumCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSVMGASA-2019-0362 No score

Updated libcryptopp packages fix security vulnerability

The updated packages fix a security vulnerability:

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 (CVE-2019-14318).

Record
MGASA-2019-0362
Updated
2026-11-02
OSVopenSUSE-SU-2019:1968-1 No score

Security update for libcryptopp

This update for libcryptopp fixes the following issues:

  • CVE-2019-14318: Fixed a timing side channel vulnerability in the ECDSA signature generation (boo#1143532).
Record
openSUSE-SU-2019:1968-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:10933-1 No score

libcryptopp-devel-8.6.0-1.1 on GA media

These are all security issues fixed in the libcryptopp-devel-8.6.0-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:10933-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
libcrypto++
Debian:12
before 5.6.4-9
5.6.4-9
libcrypto++
Debian:13
before 5.6.4-9
5.6.4-9
libcrypto++
Debian:14
before 5.6.4-9
5.6.4-9
libcryptopp
Mageia:7
before 7.0.0-1.1.mga7
7.0.0-1.1.mga7
libcrypto++
Ubuntu:Pro:14.04:LTS
All versions, plus listed versions
5.6.1-65.6.1-6+deb8u1build0.14.04.15.6.1-6+deb8u3build0.14.04.15.6.1-6+deb8u3ubuntu0.1~esm1
None known
libcrypto++
Ubuntu:Pro:16.04:LTS
All versions, plus listed versions
5.6.1-85.6.1-95.6.1-9ubuntu0.15.6.1-9ubuntu0.1+esm1
None known
libcrypto++
Ubuntu:18.04:LTS
All versions, plus listed versions
5.6.4-8
None known
libcryptopp
SUSE:Package Hub 15
before 5.6.5-bp151.4.3.1
5.6.5-bp151.4.3.1
libcryptopp
SUSE:Package Hub 15 SP1
before 5.6.5-bp151.4.3.1
5.6.5-bp151.4.3.1
libcryptopp
openSUSE:Leap 15.0
before 5.6.5-bp151.4.3.1
5.6.5-bp151.4.3.1
libcryptopp
openSUSE:Leap 15.1
before 5.6.5-bp151.4.3.1
5.6.5-bp151.4.3.1
libcryptopp
openSUSE:Tumbleweed
From an advisory covering 2 CVEs
before 8.6.0-1.1
8.6.0-1.1

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2019-14318 is a medium vulnerability (CVSS 5.9) in Cryptopp Crypto\+\+, published July 30, 2019. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.10%, the 87th percentile. Fixed in libcrypto++ 5.6.4-9.

References

Show 12 moreShow less
MoveEnter Open