CVE-2016-1000343: High severity bouncycastle Legion-of-the-bouncy-castle-java-crytography-api vulnerability

Published Jun 4, 2018
·
Updated

Bouncy Castle JCE Provider could provide weaker than expected security, caused by a flaw in the DSA key pair generator. A remote attacker could exploit this vulnerability to launch further attacks.

Other sources

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.

Upstream patch:

https://github.com/bcgit/bc-java/commit/50a53068c094d6cff37659da33c9b4505becd389#diff-5578e61500abb2b87b300d3114bdfd7d

— Red Hat

Affected Software

6 affected componentsFixes available
redhat/bouncycastle<1.56
1.56
bouncycastle Legion-of-the-bouncy-castle-java-crytography-api<=1.55
Debian Debian Linux=8.0
IBM GDE<=3.0.0.2
bouncycastle bc-java<=1.55
debian/bouncycastle
1.68-21.72-21.80-3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/bouncycastle to a version that resolves this vulnerability.

    Fixed in 1.56
  2. Upgrade

    Upgrade debian/bouncycastle to a version that resolves this vulnerability.

    Fixed in 1.68-2Fixed in 1.72-2Fixed in 1.80-3
  3. Compensating control

    When using the Bouncy Castle JCE Provider, explicitly initialize the DSA key pair generator with DSA parameters instead of relying on default values.

Event History

Jun 4, 2018
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityAffected Software
Updated
via Ubuntu·12:00 AM
RemedyDescriptionAffected Software
Updated
via Ubuntu·12:00 AM
Description
CVE Published
via MITRE·01:00 PM
Data Sourced
via MITRE·01:00 PM
Description
Aug 24, 2020
Data Sourced
via IBM·12:00 AM
DescriptionSeverityAffected Software
Updated
via IBM·12:00 AM
Affected Software
Oct 20, 2020
Data Sourced
10:15 PM
Weakness
Aug 8, 2023
Data Sourced
via Red Hat·04:54 PM
DescriptionSeverityAffected Software
Nov 7, 2023
Data Sourced
via NVD·02:29 AM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
02:29 AM
Affected Software
May 12, 2025
Updated
via NVD·05:37 PM
RemedyAffected Software
Jun 17, 2026
Updated
via NVD·12:38 AM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is CVE-2016-1000343?

CVE-2016-1000343 is a vulnerability in the Bouncy Castle JCE Provider that could provide weaker than expected security due to a flaw in the DSA key pair generator.

2

How does CVE-2016-1000343 affect Bouncy Castle JCE Provider?

CVE-2016-1000343 affects Bouncy Castle JCE Provider version 1.55 and earlier.

3

What is the severity of CVE-2016-1000343?

CVE-2016-1000343 has a severity rating of high (7.5).

4

Is there a fix available for CVE-2016-1000343 in Bouncy Castle JCE Provider?

Yes, the fix for CVE-2016-1000343 is available in version 1.56-1 of Bouncy Castle JCE Provider.

5

Where can I find more information about CVE-2016-1000343?

More information about CVE-2016-1000343 can be found at the following references: [CVE-2016-1000343](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-1000343), [Ubuntu Security Notice USN-3727-1](https://ubuntu.com/security/notices/USN-3727-1), [NIST CVE-2016-1000343](https://nvd.nist.gov/vuln/detail/CVE-2016-1000343).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203