CVE-2016-1000343Bouncycastle Bc-java
High 7.5 No auth needed
Follow: this CVE · Bouncycastle · Bouncycastle Bc-java We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.0
- 7.5
- EPSS
- 3.2% probability of exploitation in 30 days · percentile 89
- 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:H/I:N/A:N
What happens
In the Bouncy Castle JCE Provider version 1.55 and earlier the DSA key pair generator generates a weak private key if used with default values. If the JCA key pair generator is not explicitly initialised with DSA parameters, 1.55 and earlier generates a private value assuming a 1024 bit key size. In earlier releases this can be dealt with by explicitly passing parameters to the key pair generator.
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-rrvx-pwf8-p59p). 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
- lists.apache.org
- lists.debian.org Third Party Advisory
- security.netapp.com
- usn.ubuntu.com
- www.oracle.com