{"id":"CVE-2016-1000339","published":"2018-06-04T13:00:00Z","modified":"2024-08-06T03:55:27Z","title":"In the Bouncy Castle JCE Provider version 1.55 and earlier the primary engine class used for AES was AESFastEngine","vendor":null,"product":null,"tier":"tail","description":{"text":"In the Bouncy Castle JCE Provider version 1.55 and earlier the primary engine class used for AES was AESFastEngine. Due to the highly table driven approach used in the algorithm it turns out that if the data channel on the CPU can be monitored the lookup table accesses are sufficient to leak information on the AES key being used. There was also a leak in AESEngine although it was substantially less. AESEngine has been modified to remove any signs of leakage (testing carried out on Intel X86-64) and is now the primary AES class for the BC JCE provider from 1.56. Use of AESFastEngine is now only recommended where otherwise deemed appropriate.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.02659,"percentile":0.86052,"provenance":"source"},"cwes":[],"references":[{"url":"https://lists.debian.org/debian-lts-announce/2018/07/msg00009.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2669","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://usn.ubuntu.com/3727-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2927","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://www.oracle.com/security-alerts/cpuoct2020.html","tags":["x_refsource_MISC"]},{"url":"https://github.com/bcgit/bc-java/commit/8a73f08931450c17c749af067b6a8185abdfd2c0#diff-494fb066bed02aeb76b6c005632943f2","tags":["x_refsource_CONFIRM"]},{"url":"https://security.netapp.com/advisory/ntap-20181127-0004/","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/bcgit/bc-java/commit/413b42f4d770456508585c830cfcde95f9b0e93b#diff-54656f860db94b867ba7542430cd2ef0","tags":["x_refsource_CONFIRM"]}],"priority":{"score":17.2,"factors":[{"name":"EPSS percentile","points":17.21}]},"affected":[{"ecosystem":"Maven","package":"org.bouncycastle:bcprov-jdk14","vulnerableRanges":["<1.56"],"patched":["1.56"],"from":["GHSA-c8xf-m4ff-jcxj"],"provenance":"source"},{"ecosystem":"Maven","package":"org.bouncycastle:bcprov-jdk15","vulnerableRanges":["<1.56"],"patched":["1.56"],"from":["GHSA-c8xf-m4ff-jcxj"],"provenance":"source"},{"ecosystem":"Maven","package":"org.bouncycastle:bcprov-jdk15on","vulnerableRanges":["<1.56"],"patched":["1.56"],"from":["GHSA-c8xf-m4ff-jcxj"],"provenance":"source"}],"summary":{"text":"The flaw lies in the AESFastEngine class, which was the primary AES engine in the Bouncy Castle JCE Provider up to version 1.55 and earlier. Because the algorithm relies heavily on table lookups, an attacker able to monitor the CPU's data channel can observe those lookup accesses and leak information about the AES key in use; a smaller leak also existed in AESEngine.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:30:17Z"},"euvd":{"id":"EUVD-2018-0572","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-org-bouncycastle-bcprov-jdk14-cve-2016-1000339","children":[{"from":"CVE-2016-1000339","to":"CVE-2016-1000344","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["prov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/IESCipher.java"],"commits":["https://github.com/bcgit/bc-java/commit/8a73f08931450c17c749af067b6a8185abdfd2c0","https://github.com/bcgit/bc-java/commit/413b42f4d770456508585c830cfcde95f9b0e93b","https://github.com/bcgit/bc-java/commit/9385b0ebd277724b167fe1d1456e3c112112be1f"],"basis":"shared function","functions":["ECIESwithAESCBC"]}]},{"from":"CVE-2016-1000339","to":"CVE-2016-1000346","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["core/src/main/java/org/bouncycastle/crypto/params/DHPublicKeyParameters.java"],"commits":["https://github.com/bcgit/bc-java/commit/8a73f08931450c17c749af067b6a8185abdfd2c0","https://github.com/bcgit/bc-java/commit/413b42f4d770456508585c830cfcde95f9b0e93b","https://github.com/bcgit/bc-java/commit/1127131c89021612c6eefa26dbe5714c194e7495"],"basis":"shared function","functions":["validate"]}]},{"from":"CVE-2016-1000339","to":"CVE-2016-1000352","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["prov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/IESCipher.java"],"commits":["https://github.com/bcgit/bc-java/commit/8a73f08931450c17c749af067b6a8185abdfd2c0","https://github.com/bcgit/bc-java/commit/413b42f4d770456508585c830cfcde95f9b0e93b","https://github.com/bcgit/bc-java/commit/9385b0ebd277724b167fe1d1456e3c112112be1f"],"basis":"shared function","functions":["ECIESwithAESCBC"]}]}]}}