CVE-2016-1000346
In Bouncy Castle JCE Provider the other party DH public key is not fully validated
Reported by mitre · Published June 4, 2018
bcprov-jdk14 is fixed in 1.56 (Maven Central)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.bouncycastle:bcprov-jdk14 | Maven Central | 1.56 |
| org.bouncycastle:bcprov-jdk15 | Maven Central | 1.56 |
| org.bouncycastle:bcprov-jdk15on | Maven Central | 1.56 |
| bouncycastle | Ubuntu:14.04:LTS | 1.49+dfsg-2ubuntu0.1 |
| bc-java | bouncycastle | 1.55 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| Maven | org.bouncycastle:bcprov-jdk14 | 0 |
| Maven | org.bouncycastle:bcprov-jdk15 | 0 |
| Maven | org.bouncycastle:bcprov-jdk15on | 0 |
| n/a | n/a | * |
Timeline
- Jun 4, 2018 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Oct 24, 2025 CVE Updated
- Mar 5, 2026 Distribution Patch (3 in total, the first dated here)
- Mar 5, 2026 Security Advisory (4 in total, the first dated here)
- Oct 10, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2016-1000346
vulnetix vdb fixes CVE-2016-1000346
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2016-1000346/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- [debian-lts-announce] 20180707 [SECURITY] [DLA 1418-1] bouncycastle security update mailing-listx_refsource_MLIST
- RHSA-2018:2669 vendor-advisoryx_refsource_REDHAT
- USN-3727-1 vendor-advisoryx_refsource_UBUNTU
- RHSA-2018:2927 vendor-advisoryx_refsource_REDHAT
- x_refsource_MISC
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- https://nvd.nist.gov/vuln/detail/CVE-2016-1000346 advisory
- https://github.com/advisories/GHSA-fjqm-246c-mwqg advisory
- https://github.com/bcgit/bc-java url
- https://security.netapp.com/advisory/ntap-20181127-0004 advisory
- https://usn.ubuntu.com/3727-1 url