{"id":"CVE-2019-14318","aliases":["DEBIAN-CVE-2019-14318","EUVD-2019-5542","GHSA-j77v-9g36-cfp2","MGASA-2019-0362","UBUNTU-CVE-2019-14318","openSUSE-SU-2019:1968-1","openSUSE-SU-2024:10933-1"],"status":"published","title":"Crypto++ 8.3.0 and earlier contains a timing side channel in ECDSA signature generation. This...","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.","severity":{"version":"3.0","score":5.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.03104,"percentile":0.87864,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-417"],"published":"2019-07-30T16:26:56Z","modified":"2026-10-20T10:52:21Z","fixes":[{"ecosystem":"Debian:12","package":"libcrypto++","fixed_in":["5.6.4-9"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"libcrypto++","fixed_in":["5.6.4-9"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"libcrypto++","fixed_in":["5.6.4-9"],"sources":["osv"]},{"ecosystem":"Mageia:7","package":"libcryptopp","fixed_in":["7.0.0-1.1.mga7"],"sources":["osv"]},{"ecosystem":"SUSE:Package Hub 15","package":"libcryptopp","fixed_in":["5.6.5-bp151.4.3.1"],"sources":["osv"]},{"ecosystem":"SUSE:Package Hub 15 SP1","package":"libcryptopp","fixed_in":["5.6.5-bp151.4.3.1"],"sources":["osv"]},{"ecosystem":"openSUSE:Leap 15.0","package":"libcryptopp","fixed_in":["5.6.5-bp151.4.3.1"],"sources":["osv"]},{"ecosystem":"openSUSE:Leap 15.1","package":"libcryptopp","fixed_in":["5.6.5-bp151.4.3.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"libcrypto++","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.6.4-9"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"libcrypto++","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.6.4-9"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"libcrypto++","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.6.4-9"}]}]},{"source":"osv","ecosystem":"Mageia:7","package":"libcryptopp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.0.0-1.1.mga7"}]}]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"libcrypto++","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.6.1-6","5.6.1-6+deb8u1build0.14.04.1","5.6.1-6+deb8u3build0.14.04.1","5.6.1-6+deb8u3ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"libcrypto++","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.6.1-8","5.6.1-9","5.6.1-9ubuntu0.1","5.6.1-9ubuntu0.1+esm1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"libcrypto++","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.6.4-8"]},{"source":"osv","ecosystem":"SUSE:Package Hub 15","package":"libcryptopp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.6.5-bp151.4.3.1"}]}]},{"source":"osv","ecosystem":"SUSE:Package Hub 15 SP1","package":"libcryptopp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.6.5-bp151.4.3.1"}]}]},{"source":"osv","ecosystem":"openSUSE:Leap 15.0","package":"libcryptopp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.6.5-bp151.4.3.1"}]}]},{"source":"osv","ecosystem":"openSUSE:Leap 15.1","package":"libcryptopp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.6.5-bp151.4.3.1"}]}]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"libcryptopp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.6.0-1.1"}]}],"bundled":2}],"products":[{"vendor":"cryptopp","product":"crypto\\+\\+"}],"references":[{"url":"https://eprint.iacr.org/2011/232.pdf","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","report"]},{"url":"https://tches.iacr.org/index.php/TCHES/article/view/7337","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","report"]},{"url":"https://github.com/weidai11/cryptopp/issues/869","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","report"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00066.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","web"]},{"url":"http://www.openwall.com/lists/oss-security/2019/10/02/2","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://minerva.crocs.fi.muni.cz/","tags":["x_refsource_MISC","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-14318"},{"url":"https://minerva.crocs.fi.muni.cz"},{"url":"https://github.com/advisories/GHSA-j77v-9g36-cfp2"},{"url":"https://security-tracker.debian.org/tracker/CVE-2019-14318","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2019-0362.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=25759","tags":["report"]},{"url":"https://lists.opensuse.org/opensuse-updates/2019-08/msg00155.html","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2019-14318","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-14318","tags":["report"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/PIBT23NESB2572K3CT3URDK6WH7QTD3Y/#PIBT23NESB2572K3CT3URDK6WH7QTD3Y","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1143532","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2019-14318","tags":["web"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2021-40530","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2019-14318","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.","status":"published","published":"2019-07-30T16:26:56Z","modified":"2024-08-05T00:12:43.277Z","updated_at":"2026-11-02T14:20:18.085548Z"}],"euvd":[{"id":"EUVD-2019-5542","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.","status":"published","published":"2019-07-30T16:26:56Z","modified":"2024-08-05T00:12:43Z","updated_at":"2026-11-03T02:40:40.053391Z"}],"ghsa":[{"id":"GHSA-j77v-9g36-cfp2","title":"Crypto++ 8.3.0 and earlier contains a timing side channel in ECDSA signature generation. This...","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.","status":"published","published":"2022-05-24T16:51:43Z","modified":"2024-04-04T01:25:16Z","cvss":[{"version":"3.0","score":5.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T14:55:58.413912Z"}],"nvd":[{"id":"CVE-2019-14318","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.","status":"published","published":"2019-07-30T17:15:12.687Z","modified":"2026-06-17T02:18:11.72Z","cvss":[{"version":"3.0","score":5.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:P/I:N/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-417"],"updated_at":"2026-11-02T14:05:21.892729Z"}],"osv":[{"id":"CVE-2019-14318","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.","status":"published","published":"2019-07-30T17:15:12.687Z","modified":"2026-10-20T10:52:21.580260575Z","cvss":[{"version":"3.0","score":5.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:11.029493Z"},{"id":"DEBIAN-CVE-2019-14318","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.","status":"published","published":"2019-07-30T17:15:12.687Z","modified":"2026-09-21T07:02:08.023424765Z","cvss":[{"version":"3.0","score":5.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T15:45:31.467893Z"},{"id":"UBUNTU-CVE-2019-14318","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.","status":"published","published":"2019-07-30T17:15:00Z","modified":"2026-04-22T12:09:59.296778Z","cvss":[{"version":"3.0","score":5.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T15:54:19.6877Z"},{"id":"MGASA-2019-0362","title":"Updated libcryptopp packages fix security vulnerability","description":"The updated packages fix a security vulnerability:\n\nCrypto++ 8.3.0 and earlier contains a timing side channel in ECDSA\nsignature generation. This allows a local or remote attacker, able to\nmeasure the duration of hundreds to thousands of signing operations,\nto compute the private key used. The issue occurs because scalar\nmultiplication in ecp.cpp (prime field curves, small leakage) and\nalgebra.cpp (binary field curves, large leakage) is not constant time\nand leaks the bit length of the scalar among other information\n(CVE-2019-14318).\n","status":"published","published":"2019-12-06T14:15:42Z","modified":"2026-04-16T04:40:45.723237559Z","updated_at":"2026-11-02T15:49:41.151324Z"},{"id":"openSUSE-SU-2019:1968-1","title":"Security update for libcryptopp","description":"This update for libcryptopp fixes the following issues:\n\n- CVE-2019-14318: Fixed a timing side channel vulnerability in the ECDSA signature generation (boo#1143532).\n","status":"published","published":"2019-08-20T10:57:58Z","modified":"2026-02-04T02:23:39.588288Z","updated_at":"2026-11-02T16:58:30.784344Z"},{"id":"openSUSE-SU-2024:10933-1","title":"libcryptopp-devel-8.6.0-1.1 on GA media","description":"These are all security issues fixed in the libcryptopp-devel-8.6.0-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T02:30:52.643956Z","updated_at":"2026-11-02T16:58:34.894275Z"}]}}
