CVE-2016-1000339: In the Bouncy Castle JCE Provider version 1.55 and earlier the primary engine class used for AES was AESFastEngine.
Noroxi assessment
Priority: Monitor (action score 22/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 2.6% (FIRST EPSS); higher than 85.9% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: bouncycastle (Debian:12) 1.56-1; bouncycastle (Debian:8) 1.49+dfsg-3+deb8u3; org.bouncycastle:bcprov-jdk14 (Maven) 1.56.
Low priority for now. Upgrade to bouncycastle (Debian:12) 1.56-1; bouncycastle (Debian:8) 1.49+dfsg-3+deb8u3; org.bouncycastle:bcprov-jdk14 (Maven) 1.56 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Jun 4, 2018
- Updated
- Jun 16, 2026
- EPSS
- 2.6% · 85th percentile
- CWE
- CWE-310
Report tools
Action score
22
Low priority for now.
- CVSS
- 21 / 40 · 5.3 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 2.6%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| bouncycastle | bc-java | cpe:2.3:a:bouncycastle:bc-java |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- bouncycastle bc-javaup to 1.55 inclusive
- debian debian linux8.0
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | bouncycastle | before 1.56-1 | 1.56-1 |
| Debian:8 | bouncycastle | before 1.49+dfsg-3+deb8u3 | 1.49+dfsg-3+deb8u3 |
| Maven | org.bouncycastle:bcprov-jdk14 | before 1.56 | 1.56 |
| Maven | org.bouncycastle:bcprov-jdk15 | before 1.56 | 1.56 |
| Maven | org.bouncycastle:bcprov-jdk15on | before 1.56 | 1.56 |
| openSUSE:Tumbleweed | bouncycastle | before 1.68-3.2 | 1.68-3.2 |
| Red Hat:satellite_capsule:6.4::el7 | ansiblerole-insights-client | before 0:1.5-1.el7sat | 0:1.5-1.el7sat |
| Red Hat:satellite_capsule:6.4::el7 | createrepo_c | before 0:0.7.4-1.el7sat | 0:0.7.4-1.el7sat |
| Red Hat:satellite_capsule:6.4::el7 | createrepo_c-debuginfo | before 0:0.7.4-1.el7sat | 0:0.7.4-1.el7sat |
| Red Hat:satellite_capsule:6.4::el7 | createrepo_c-libs | before 0:0.7.4-1.el7sat | 0:0.7.4-1.el7sat |
| Red Hat:satellite_capsule:6.4::el7 | foreman | before 0:1.18.0.37-1.el7sat | 0:1.18.0.37-1.el7sat |
| Red Hat:satellite_capsule:6.4::el7 | foreman-bootloaders-redhat | before 0:201801241201-3.el7sat | 0:201801241201-3.el7sat |
| Red Hat:satellite_capsule:6.4::el7 | foreman-bootloaders-redhat-tftpboot | before 0:201801241201-3.el7sat | 0:201801241201-3.el7sat |
| Red Hat:satellite_capsule:6.4::el7 | foreman-debug | before 0:1.18.0.37-1.el7sat | 0:1.18.0.37-1.el7sat |
| Red Hat:satellite_capsule:6.4::el7 | foreman-installer | before 1:1.18.0.2-1.el7sat | 1:1.18.0.2-1.el7sat |
| Red Hat:satellite_capsule:6.4::el7 | foreman-installer-katello | before 0:3.7.0.10-1.el7sat | 0:3.7.0.10-1.el7sat |
| Red Hat:satellite_capsule:6.4::el7 | foreman-proxy | before 0:1.18.0.1-1.el7sat | 0:1.18.0.1-1.el7sat |
| Red Hat:satellite_capsule:6.4::el7 | foreman-proxy-content | before 0:3.7.0-8.el7sat | 0:3.7.0-8.el7sat |
| Red Hat:satellite_capsule:6.4::el7 | foreman-selinux | before 0:1.18.0.1-1.el7sat | 0:1.18.0.1-1.el7sat |
| Red Hat:satellite_capsule:6.4::el7 | gofer | before 0:2.12.1-1.el7sat | 0:2.12.1-1.el7sat |
| Red Hat:satellite_capsule:6.4::el7 | hfsplus-tools | before 0:332.14-12.el7 | 0:332.14-12.el7 |
| Red Hat:satellite_capsule:6.4::el7 | hfsplus-tools-debuginfo | before 0:332.14-12.el7 | 0:332.14-12.el7 |
| Red Hat:satellite_capsule:6.4::el7 | katello | before 0:3.7.0-8.el7sat | 0:3.7.0-8.el7sat |
| Red Hat:satellite_capsule:6.4::el7 | katello-certs-tools | before 0:2.4.0-2.el7sat | 0:2.4.0-2.el7sat |
+96
Same product
bouncycastle: all recordsOther highest-scoring records for the same primary product.
- CVE-2017-13098BouncyCastle JCE TLS Bleichenbacher/ROBOT60This week
- CVE-2007-6721The Legion of the Bouncy Castle Java Cryptography API before release 1.38, as used in Crypto Provider Package before 1.36, has unknown…41Plan
- CVE-2018-1000613Legion of the Bouncy Castle Legion of the Bouncy Castle Java Cryptography APIs 1.58 up to but not including 1.60 contains a CWE-470: Use of…40Plan
Published before and after this one in the same product
- ← EarlierCVE-2016-2427Apr 17, 2016 · The AES-GCM specification in RFC 5084, as used in Android 5.x and 6.x, recommends 12 octets for the aes-ICVlen parameter field, which might…22Monitor
- ← EarlierCVE-2018-5382Apr 16, 2018 · Bouncy Castle BKS-V1 keystore files vulnerable to trivial hash collisions17Monitor
- Later →CVE-2016-1000340Jun 4, 2018 · In the Bouncy Castle JCE Provider versions 1.51 to 1.55, a carry propagation bug was introduced in the implementation of squaring for…31Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:bouncycastle | 1.56-1 · Debian:12 | Package registry (OSV) |
| Maven:org.bouncycastle:bcprov-jdk14 | 1.56 | Package registry (OSV) |
| Maven:org.bouncycastle:bcprov-jdk15 | 1.56 | Package registry (OSV) |
| Maven:org.bouncycastle:bcprov-jdk15on | 1.56 | Package registry (OSV) |
| opensuse:bouncycastle | 1.68-3.2 · openSUSE:Tumbleweed | Package registry (OSV) |
| red hat:ansiblerole-insights-client | 0:1.5-1.el7sat · Red Hat:satellite_capsule:6.4::el7 | Package registry (OSV) |
| red hat:createrepo_c | 0:0.7.4-1.el7sat · Red Hat:satellite_capsule:6.4::el7 | Package registry (OSV) |
| red hat:createrepo_c-debuginfo | 0:0.7.4-1.el7sat · Red Hat:satellite_capsule:6.4::el7 | Package registry (OSV) |
| red hat:createrepo_c-libs | 0:0.7.4-1.el7sat · Red Hat:satellite_capsule:6.4::el7 | Package registry (OSV) |
| red hat:foreman | 0:1.18.0.37-1.el7sat · Red Hat:satellite_capsule:6.4::el7 | Package registry (OSV) |
| red hat:foreman-bootloaders-redhat | 0:201801241201-3.el7sat · Red Hat:satellite_capsule:6.4::el7 | Package registry (OSV) |
| red hat:foreman-bootloaders-redhat-tftpboot | 0:201801241201-3.el7sat · Red Hat:satellite_capsule:6.4::el7 | Package registry (OSV) |
| red hat:foreman-debug | 0:1.18.0.37-1.el7sat · Red Hat:satellite_capsule:6.4::el7 | Package registry (OSV) |
| red hat:foreman-installer | 1:1.18.0.2-1.el7sat · Red Hat:satellite_capsule:6.4::el7 | Package registry (OSV) |
| red hat:foreman-installer-katello | 0:3.7.0.10-1.el7sat · Red Hat:satellite_capsule:6.4::el7 | Package registry (OSV) |
| red hat:foreman-proxy | 0:1.18.0.1-1.el7sat · Red Hat:satellite_capsule:6.4::el7 | Package registry (OSV) |
| red hat:SOAPpy | 0:0.11.6-17.el7 · Red Hat:satellite_capsule:6.4::el7 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Not on record for this CVE: EPSS history · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- low · data can be read
- Integrity
- none
- Availability
- none
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- Low
- Integrity impact
- None
- Availability impact
- None
Weakness class (CWE)
CWE-310 · Cryptographic IssuesCVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (7 more)Show less
- access.redhat.com/errata/RHSA-2018:2927
- github.com/bcgit/bc-java/commit/413b42f4d770456508585c830cfcde95f9b0e93b#diff-54656f860db94b867ba7542430cd2ef0
- github.com/bcgit/bc-java/commit/8a73f08931450c17c749af067b6a8185abdfd2c0#diff-494fb066bed02aeb76b6c005632943f2
- lists.debian.org/debian-lts-announce/2018/07/msg00009.html
- security.netapp.com/advisory/ntap-20181127-0004/
- usn.ubuntu.com/3727-1/
- www.oracle.com/security-alerts/cpuoct2020.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.