{"id":"CVE-2016-3995","aliases":["DEBIAN-CVE-2016-3995","EUVD-2016-5004","GHSA-rfvf-996j-mmvf","MGASA-2016-0147","UBUNTU-CVE-2016-3995"],"status":"published","title":"The timing attack protection in Rijndael::Enc::ProcessAndXorBlock and Rijndael::Dec:...","description":"The timing attack protection in Rijndael::Enc::ProcessAndXorBlock and Rijndael::Dec::ProcessAndXorBlock in Crypto++ (aka cryptopp) before 5.6.4 may be optimized out by the compiler, which allows attackers to conduct timing attacks.","severity":{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.01858,"percentile":0.79366,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-200"],"published":"2016-04-25T07:57:21Z","modified":"2026-10-20T10:47:38Z","fixes":[{"ecosystem":"Debian:12","package":"libcrypto++","fixed_in":["5.6.3-6"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"libcrypto++","fixed_in":["5.6.3-6"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"libcrypto++","fixed_in":["5.6.3-6"],"sources":["osv"]},{"ecosystem":"Mageia:5","package":"libcryptopp","fixed_in":["5.6.3-1.1.mga5"],"sources":["osv"]},{"ecosystem":"Ubuntu:14.04:LTS","package":"libcrypto++","fixed_in":["5.6.1-6+deb8u3build0.14.04.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"libcrypto++","fixed_in":["5.6.1-9ubuntu0.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"libcrypto++","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.6.3-6"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"libcrypto++","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.6.3-6"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"libcrypto++","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.6.3-6"}]}]},{"source":"osv","ecosystem":"Mageia:5","package":"libcryptopp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.6.3-1.1.mga5"}]}]},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"libcrypto++","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.6.1-6+deb8u3build0.14.04.1"}]}],"versions":["5.6.1-6","5.6.1-6+deb8u1build0.14.04.1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"libcrypto++","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.6.1-9ubuntu0.1"}]}],"versions":["5.6.1-8","5.6.1-9"]}],"products":[{"vendor":"cryptopp","product":"crypto\\+\\+"}],"references":[{"url":"http://www.openwall.com/lists/oss-security/2016/04/11/2","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Patch","Third Party Advisory","fix"]},{"url":"https://github.com/weidai11/cryptopp/issues/146","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix"]},{"url":"http://www.securityfocus.com/bid/85975","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-3995"},{"url":"https://github.com/advisories/GHSA-rfvf-996j-mmvf"},{"url":"https://security-tracker.debian.org/tracker/CVE-2016-3995","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2016-0147.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=18184","tags":["report"]},{"url":"https://lists.fedoraproject.org/pipermail/package-announce/2016-April/182297.html","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2016-3995","tags":["report"]},{"url":"http://www.openwall.com/lists/oss-security/2016/04/10/6","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2016-3995","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2016-3995","description":"The timing attack protection in Rijndael::Enc::ProcessAndXorBlock and Rijndael::Dec::ProcessAndXorBlock in Crypto++ (aka cryptopp) before 5.6.4 may be optimized out by the compiler, which allows attackers to conduct timing attacks.","status":"published","published":"2017-02-13T18:00:00Z","modified":"2024-08-06T00:17:29.952Z","updated_at":"2026-11-02T14:33:34.094161Z"}],"euvd":[{"id":"EUVD-2016-5004","description":"The timing attack protection in Rijndael::Enc::ProcessAndXorBlock and Rijndael::Dec::ProcessAndXorBlock in Crypto++ (aka cryptopp) before 5.6.4 may be optimized out by the compiler, which allows attackers to conduct timing attacks.","status":"published","published":"2017-02-13T18:00:00Z","modified":"2024-08-06T00:17:29Z","updated_at":"2026-11-03T02:22:48.270082Z"}],"ghsa":[{"id":"GHSA-rfvf-996j-mmvf","title":"The timing attack protection in Rijndael::Enc::ProcessAndXorBlock and Rijndael::Dec:...","description":"The timing attack protection in Rijndael::Enc::ProcessAndXorBlock and Rijndael::Dec::ProcessAndXorBlock in Crypto++ (aka cryptopp) before 5.6.4 may be optimized out by the compiler, which allows attackers to conduct timing attacks.","status":"published","published":"2022-05-17T02:57:03Z","modified":"2023-01-27T05:06:16Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"cwes":["CWE-200"],"updated_at":"2026-11-02T14:42:52.881185Z"}],"nvd":[{"id":"CVE-2016-3995","description":"The timing attack protection in Rijndael::Enc::ProcessAndXorBlock and Rijndael::Dec::ProcessAndXorBlock in Crypto++ (aka cryptopp) before 5.6.4 may be optimized out by the compiler, which allows attackers to conduct timing attacks.","status":"published","published":"2017-02-13T18:59:00.517Z","modified":"2026-06-17T00:46:42.31Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-200"],"updated_at":"2026-11-02T14:03:35.822579Z"}],"osv":[{"id":"CVE-2016-3995","description":"The timing attack protection in Rijndael::Enc::ProcessAndXorBlock and Rijndael::Dec::ProcessAndXorBlock in Crypto++ (aka cryptopp) before 5.6.4 may be optimized out by the compiler, which allows attackers to conduct timing attacks.","status":"published","published":"2017-02-13T18:59:00.517Z","modified":"2026-10-20T10:47:38.243512591Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"updated_at":"2026-11-02T15:44:02.454775Z"},{"id":"DEBIAN-CVE-2016-3995","description":"The timing attack protection in Rijndael::Enc::ProcessAndXorBlock and Rijndael::Dec::ProcessAndXorBlock in Crypto++ (aka cryptopp) before 5.6.4 may be optimized out by the compiler, which allows attackers to conduct timing attacks.","status":"published","published":"2017-02-13T18:59:00.517Z","modified":"2026-09-22T07:00:45.851137501Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"updated_at":"2026-11-02T15:45:27.627285Z"},{"id":"UBUNTU-CVE-2016-3995","description":"The timing attack protection in Rijndael::Enc::ProcessAndXorBlock and Rijndael::Dec::ProcessAndXorBlock in Crypto++ (aka cryptopp) before 5.6.4 may be optimized out by the compiler, which allows attackers to conduct timing attacks.","status":"published","published":"2017-02-13T18:59:00Z","modified":"2026-04-22T10:42:48.189015Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"updated_at":"2026-11-02T15:54:12.261906Z"},{"id":"MGASA-2016-0147","title":"Updated libcryptopp packages fix CVE-2016-3995","description":"Updated libcryptopp packages fix security vulnerability:\n\nIn libcryptopp, for both Rijndael::Enc::ProcessAndXorBlock and\nRijndael::Dec::ProcessAndXorBlock there is some code to avoid timing attacks,\nhowever it is removed by the compiler due to optimizations, making the binary\nvulnerable to timing attacks (CVE-2016-3995).\n\nThis update also corrects some bugs with the package.\n","status":"published","published":"2016-04-25T07:57:21Z","modified":"2026-04-16T06:22:44.771760671Z","updated_at":"2026-11-02T15:49:39.792687Z"}]}}
