CVE-2016-1000343
HIGH 7.5CVSS 3.0In Bouncy Castle JCE Provider the DSA key pair generator generates a weak private key if used with default values
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.
- Published
- 4 Jun 2018
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-310
- Also known as
- GHSA-rrvx-pwf8-p59p
- Sources
- NVDJSONOSV GHSA-rrvx-pwf8-p59pJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | bouncycastle | bc-javacpe:2.3:a:bouncycastle:bc-java:*:*:*:*:*:*:*:* |
<= 1.55 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* |
= 8.0 | |
| OSV | Maven | org.bouncycastle:bcprov-jdk14 | < 1.56 | 1.56 |
| OSV | Maven | org.bouncycastle:bcprov-jdk15 | < 1.56 | 1.56 |
| OSV | Maven | org.bouncycastle:bcprov-jdk15on | < 1.56 | 1.56 |
References
- https://access.redhat.com/errata/RHSA-2018:2669 · WEB
- https://access.redhat.com/errata/RHSA-2018:2927 · WEB
- https://github.com/bcgit/bc-java/commit/50a53068c094d6cff37659da33c9b4505becd389#diff-5578e61500abb2b87b300d3114bdfd7d · Patch, Third Party Advisory, WEB
- https://lists.apache.org/thread.html/708d94141126eac03011144a971a6411fcac16d9c248d1d535a39451%40%3Csolr-user.lucene.apache.org%3E
- https://lists.debian.org/debian-lts-announce/2018/07/msg00009.html · Third Party Advisory, WEB
- https://security.netapp.com/advisory/ntap-20181127-0004/ · WEB
- https://usn.ubuntu.com/3727-1/ · WEB
- https://www.oracle.com/security-alerts/cpuoct2020.html · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2016-1000343 · ADVISORY
- https://github.com/advisories/GHSA-rrvx-pwf8-p59p · ADVISORY
- https://github.com/bcgit/bc-java · PACKAGE
- https://lists.apache.org/thread.html/708d94141126eac03011144a971a6411fcac16d9c248d1d535a39451@%3Csolr-user.lucene.apache.org%3E · WEB
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 4 Jun 2018)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 17 Oct 2018)