CVE-2016-1000339
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.
What to do
Fixed builds are available from Debian, Maven, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | bouncycastle | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | bouncycastle | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | bouncycastle | Fix pending | UBUNTU-CVE-2016-1000339 | |
| Ubuntu 14.04 | bouncycastle | Fixed | 1.49+dfsg-2ubuntu0.1 | UBUNTU-CVE-2016-1000339 |
| Debian 14 | bouncycastle | Fixed | 1.56-1 | DEBIAN-CVE-2016-1000339 |
| Debian 13 | bouncycastle | Fixed | 1.56-1 | DEBIAN-CVE-2016-1000339 |
| Debian 12 | bouncycastle | Fixed | 1.56-1 | DEBIAN-CVE-2016-1000339 |
| Maven library | org.bouncycastle:bcprov-jdk14 | Fixed | 1.56 | GHSA-c8xf-m4ff-jcxj |
| Maven library | org.bouncycastle:bcprov-jdk15 | Fixed | 1.56 | GHSA-c8xf-m4ff-jcxj |
| Maven library | org.bouncycastle:bcprov-jdk15on | Fixed | 1.56 | GHSA-c8xf-m4ff-jcxj |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2018:2669 (vendor-advisory)
- https://usn.ubuntu.com/3727-1/ (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2018:2927 (vendor-advisory)
References
- https://lists.debian.org/debian-lts-announce/2018/07/msg00009.html
- https://access.redhat.com/errata/RHSA-2018:2669
- https://usn.ubuntu.com/3727-1/
- https://access.redhat.com/errata/RHSA-2018:2927
- https://www.oracle.com/security-alerts/cpuoct2020.html
- https://github.com/bcgit/bc-java/commit/8a73f08931450c17c749af067b6a8185abdfd2c0#diff-494fb066bed02aeb76b6c005632943f2
- https://security.netapp.com/advisory/ntap-20181127-0004/
- https://github.com/bcgit/bc-java/commit/413b42f4d770456508585c830cfcde95f9b0e93b#diff-54656f860db94b867ba7542430cd2ef0
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.