CVE-2016-1000339Bouncycastle Bc-java
Medium 5.3 No auth needed
Follow: this CVE · Bouncycastle · Bouncycastle Bc-java We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.0
- 5.3
- EPSS
- 2.7% probability of exploitation in 30 days · percentile 86
- Auth required
- No
- Published
- Jun 4, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-310
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
What happens
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
- Apply the vendor's security update for Bc-java.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.bouncycastle:bcprov-jdk14 |
< 1.56 |
1.56 |
— |
| Maven | org.bouncycastle:bcprov-jdk15 |
< 1.56 |
1.56 |
— |
| Maven | org.bouncycastle:bcprov-jdk15on |
< 1.56 |
1.56 |
— |
Per OSV / GitHub Advisories (GHSA-c8xf-m4ff-jcxj). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| bouncycastle | bc-java | ≤ 1.55 |
| debian | debian_linux | 8.0 |
Official sources
References
Links published by the sources. Open them with care.
- access.redhat.com
- access.redhat.com
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- lists.debian.org Third Party Advisory
- security.netapp.com
- usn.ubuntu.com
- www.oracle.com