CVE-2016-1000346: Medium severity bouncycastle Legion-of-the-bouncy-castle-java-crytography-api vulnerability

Published Jun 4, 2018
·
Updated

Bouncy Castle JCE Provider could allow a remote attacker to obtain sensitive information, caused by a flaw in the other party DH public key. A remote attacker could exploit this vulnerability to reveal details via invalid keys.

Other sources

In the Bouncy Castle JCE Provider version 1.55 and earlier the other party DH public key is not fully validated. This can cause issues as invalid keys can be used to reveal details about the other party's private key where static Diffie-Hellman is in use. As of release 1.56 the key parameters are checked on agreement calculation.

— Launchpad

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. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.56

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·09:00 PM
Data Sourced
via MITRE·09: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
Data Sourced
via NVD·10:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
10:15 PM
Affected Software
Aug 8, 2023
Data Sourced
via Red Hat·04:52 PM
DescriptionSeverityAffected 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-1000346?

CVE-2016-1000346 is a vulnerability in the Bouncy Castle JCE Provider that could allow a remote attacker to obtain sensitive information.

2

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

CVE-2016-1000346 affects Bouncy Castle JCE Provider versions 1.55 and earlier by not fully validating the other party DH public key, which can reveal details about the other party's private key in static Diffie-Hellman scenarios.

3

What is the severity of CVE-2016-1000346?

The severity of CVE-2016-1000346 is medium, with a CVSS score of 5.3.

4

How can I fix CVE-2016-1000346?

To fix CVE-2016-1000346, update Bouncy Castle JCE Provider to version 1.56 or later.

5

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

You can find more information about CVE-2016-1000346 in the references provided: [link1](https://github.com/bcgit/bc-java/commit/1127131c89021612c6eefa26dbe5714c194e7495#diff-d525a20b8acaed791ae2f0f770eb5937), [link2](https://bugzilla.redhat.com/show_bug.cgi/show_bug.cgi?id=1588328), [link3](https://access.redhat.com/security/updates/classification/).

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