{"schema_version":"1.7.3","id":"GHSA-4mv7-cq75-3qjm","published":"2018-10-17T16:27:50Z","modified":"2025-09-12T20:11:53.388848Z","aliases":["CVE-2015-7940"],"summary":"Moderate severity vulnerability that affects org.bouncycastle:bcprov-jdk14 and org.bouncycastle:bcprov-jdk15","details":"The Bouncy Castle Java library before 1.51 does not validate a point is withing the elliptic curve, which makes it easier for remote attackers to obtain private keys via a series of crafted elliptic curve Diffie Hellman (ECDH) key exchanges, aka an \"invalid curve attack.\"","affected":[{"package":{"name":"org.bouncycastle:bcprov-jdk15","ecosystem":"Maven","purl":"pkg:maven/org.bouncycastle/bcprov-jdk15"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.51"}]}],"versions":["1.32","1.38","1.40","1.43","1.44","1.45","1.46"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/10/GHSA-4mv7-cq75-3qjm/GHSA-4mv7-cq75-3qjm.json"}},{"package":{"name":"org.bouncycastle:bcprov-jdk14","ecosystem":"Maven","purl":"pkg:maven/org.bouncycastle/bcprov-jdk14"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.51"}]}],"versions":["1.38","1.43","1.44","1.45","1.46","1.47","1.48","1.49","1.50"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/10/GHSA-4mv7-cq75-3qjm/GHSA-4mv7-cq75-3qjm.json"}},{"package":{"name":"org.bouncycastle:bcprov-jdk15on","ecosystem":"Maven","purl":"pkg:maven/org.bouncycastle/bcprov-jdk15on"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.51"}]}],"versions":["1.46","1.47","1.48","1.49","1.50"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/10/GHSA-4mv7-cq75-3qjm/GHSA-4mv7-cq75-3qjm.json"}}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2015-7940"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-4mv7-cq75-3qjm"},{"type":"WEB","url":"https://usn.ubuntu.com/3727-1"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpuapr2020.html"},{"type":"WEB","url":"https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html"},{"type":"WEB","url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-January/174915.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2015-11/msg00012.html"},{"type":"WEB","url":"http://rhn.redhat.com/errata/RHSA-2016-2035.html"},{"type":"WEB","url":"http://rhn.redhat.com/errata/RHSA-2016-2036.html"},{"type":"WEB","url":"http://web-in-security.blogspot.ca/2015/09/practical-invalid-curve-attacks.html"},{"type":"WEB","url":"http://www.debian.org/security/2015/dsa-3417"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2015/10/22/7"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2015/10/22/9"},{"type":"WEB","url":"http://www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html"},{"type":"WEB","url":"http://www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html"},{"type":"WEB","url":"http://www.oracle.com/technetwork/security-advisory/cpujul2017-3236622.html"},{"type":"WEB","url":"http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html"},{"type":"WEB","url":"http://www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.html"},{"type":"WEB","url":"http://www.oracle.com/technetwork/security-advisory/cpuoct2017-3236626.html"},{"type":"WEB","url":"http://www.securityfocus.com/bid/79091"},{"type":"WEB","url":"http://www.securitytracker.com/id/1037036"},{"type":"WEB","url":"http://www.securitytracker.com/id/1037046"},{"type":"WEB","url":"http://www.securitytracker.com/id/1037053"}],"database_specific":{"cwe_ids":["CWE-200"],"github_reviewed":true,"github_reviewed_at":"2020-06-16T20:58:37Z","nvd_published_at":"2015-11-09T16:59:09Z","severity":"MODERATE"}}