{"id":"CVE-2016-1000346","published":"2018-06-04T21:00:00Z","modified":"2024-08-06T03:55:27Z","title":"In the Bouncy Castle JCE Provider version 1.55 and earlier the other party DH public key is not fully validated","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.0213,"percentile":0.82402,"provenance":"source"},"cwes":[],"references":[{"url":"https://lists.debian.org/debian-lts-announce/2018/07/msg00009.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2669","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://usn.ubuntu.com/3727-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2927","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://www.oracle.com/security-alerts/cpuoct2020.html","tags":["x_refsource_MISC"]},{"url":"https://security.netapp.com/advisory/ntap-20181127-0004/","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/bcgit/bc-java/commit/1127131c89021612c6eefa26dbe5714c194e7495#diff-d525a20b8acaed791ae2f0f770eb5937","tags":["x_refsource_CONFIRM"]}],"priority":{"score":16.5,"factors":[{"name":"EPSS percentile","points":16.48}]},"affected":[{"ecosystem":"Maven","package":"org.bouncycastle:bcprov-jdk14","vulnerableRanges":["<1.56"],"patched":["1.56"],"from":["GHSA-fjqm-246c-mwqg"],"provenance":"source"},{"ecosystem":"Maven","package":"org.bouncycastle:bcprov-jdk15","vulnerableRanges":["<1.56"],"patched":["1.56"],"from":["GHSA-fjqm-246c-mwqg"],"provenance":"source"},{"ecosystem":"Maven","package":"org.bouncycastle:bcprov-jdk15on","vulnerableRanges":["<1.56"],"patched":["1.56"],"from":["GHSA-fjqm-246c-mwqg"],"provenance":"source"}],"summary":{"text":"The Bouncy Castle JCE Provider, in version 1.55 and earlier, fails to fully validate the other party's Diffie-Hellman public key during key agreement. An attacker who can supply a crafted key, with the vulnerability reachable where static Diffie-Hellman is in use, could potentially learn details about the other party's private key.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:34:49Z"},"euvd":{"id":"EUVD-2018-0591","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-org-bouncycastle-bcprov-jdk14-cve-2016-1000339","parents":[{"from":"CVE-2016-1000339","to":"CVE-2016-1000346","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["core/src/main/java/org/bouncycastle/crypto/params/DHPublicKeyParameters.java"],"commits":["https://github.com/bcgit/bc-java/commit/8a73f08931450c17c749af067b6a8185abdfd2c0","https://github.com/bcgit/bc-java/commit/413b42f4d770456508585c830cfcde95f9b0e93b","https://github.com/bcgit/bc-java/commit/1127131c89021612c6eefa26dbe5714c194e7495"],"basis":"shared function","functions":["validate"]}]},{"from":"CVE-2016-1000345","to":"CVE-2016-1000346","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["core/src/main/java/org/bouncycastle/crypto/engines/IESEngine.java"],"commits":["https://github.com/bcgit/bc-java/commit/21dcb3d9744c83dcf2ff8fcee06dbca7bfa4ef35","https://github.com/bcgit/bc-java/commit/1127131c89021612c6eefa26dbe5714c194e7495"],"basis":"rarely changed file"}]}]}}