Skip to content
Fencer Intel
high 7.5

CVE-2016-1000343 json

In Bouncy Castle JCE Provider the DSA key pair generator generates a weak private key if used with default values

published 8y ago modified 4mo ago also GHSA-rrvx-pwf8-p59p , EUVD-2018-0689

cvss
7.5
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
3.3%
EPSS 3.3% chance of exploitation in 30 days, percentile 88%
public exploits
0
none known

Summary

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.

Patch / fix

  • maven org.bouncycastle:bcprov-jdk14 1.56
  • maven org.bouncycastle:bcprov-jdk15 1.56
  • maven org.bouncycastle:bcprov-jdk15on 1.56
  • bouncycastle Debian 14, Debian 13, Debian 12 1.56-1

debian advisories DEBIAN-CVE-2016-1000343

  • bouncycastle Ubuntu 14.04 LTS 1.49+dfsg-2ubuntu0.1

ubuntu advisories UBUNTU-CVE-2016-1000343

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • v8 satellite capsule 6.4 1:3.14.5.10-19.el7sat
  • tfm satellite capsule 6.4, satellite 6.4 4.0-3.el7sat
  • kobo satellite capsule 6.4, satellite 6.4 0.5.1-1.el7sat
  • pulp satellite capsule 6.4, satellite 6.4 2.16.4.1-1.el7sat
  • gofer satellite capsule 6.4, satellite 6.4 2.12.1-1.el7sat
  • ostree satellite capsule 6.4, satellite 6.4 2017.1-2.atomic.el7
  • SOAPpy satellite capsule 6.4, satellite 6.4 0.11.6-17.el7
  • foreman satellite capsule 6.4, satellite 6.4 1.18.0.37-1.el7sat

red hat advisories RHSA-2018:2927

  • bouncycastle openSUSE Tumbleweed 1.68-3.2

opensuse advisories openSUSE-SU-2024:10661-1

Is CVE-2016-1000343 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2016-1000343 updated cvss 2.9

bouncycastle: DSA key pair generator generates a weak private key by default

  • Red Hat JBoss Data Virtualization 6 bouncycastle bouncycastle
    affected: no fix planned “Out of support scope”
  • Red Hat JBoss Fuse 6 bouncycastle bouncycastle Red Hat Software Collections rh-eclipse46-bouncycastle, rh-eclipse46-bouncycastle-javadoc Red Hat Subscription Asset Manager bouncycastle
    affected: no fix planned “Will not fix”
  • Red Hat Fuse 7
    fixed: vendor fix RHSA-2018:2669
  • Red Hat Satellite 6.4 tfm 4.0-3.el7sat, kobo 0.5.1-1.el7sat, SOAPpy 0.11.6-17.el7, candlepin 2.4.8-1.el7, gofer 2.12.1-1.el7sat, liquibase 3.1.0-1.el7, +383 more Red Hat Satellite Capsule 6.4 tfm 4.0-3.el7sat, kobo 0.5.1-1.el7sat, SOAPpy 0.11.6-17.el7, gofer 2.12.1-1.el7sat, katello 3.7.0-8.el7sat, pulp 2.16.4.1-1.el7sat, +217 more
    fixed: vendor fix RHSA-2018:2927
  • Red Hat JBoss Developer Studio 11 bouncycastle bouncycastle Red Hat JBoss Data Grid 7 bouncycastle bouncycastle Red Hat JBoss Enterprise Application Platform 7 bouncycastle bouncycastle Red Hat JBoss Fuse Integration Service 2 bouncycastle bouncycastle Red Hat OpenShift Application Runtimes bouncycastle bouncycastle Red Hat Single Sign-On 7 bouncycastle bouncycastle
    +1 more products
    Red Hat Virtualization 4 eap7-bouncycastle
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

3.25% chance of exploitation in the next 30 days, higher than 88% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 3.0 7.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD 2.0 5.0 AV:N/AC:L/Au:N/C:P/I:N/A:N
GitHub 3.0 7.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected packages

ecosystem package affected fixed in
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

Classification

Weakness

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.