Moderate severity vulnerability that affects org.bouncycastle:bcprov-jdk14 and org.bouncycastle:bcprov-jdk15
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 software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.bouncycastle:bcprov-jdk14 | < 1.51 | 1.51 |
| Java / Kotlin (Maven) | org.bouncycastle:bcprov-jdk15 | < 1.51 | 1.51 |
| Java / Kotlin (Maven) | org.bouncycastle:bcprov-jdk15on | < 1.51 | 1.51 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2015-7940
- https://github.com/advisories/GHSA-4mv7-cq75-3qjm
- https://usn.ubuntu.com/3727-1
- https://www.oracle.com/security-alerts/cpuapr2020.html
- https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html
- http://lists.fedoraproject.org/pipermail/package-announce/2016-January/174915.html
- http://lists.opensuse.org/opensuse-security-announce/2015-11/msg00012.html
- http://rhn.redhat.com/errata/RHSA-2016-2035.html
- http://rhn.redhat.com/errata/RHSA-2016-2036.html
- http://web-in-security.blogspot.ca/2015/09/practical-invalid-curve-attacks.html
- http://www.debian.org/security/2015/dsa-3417
- http://www.openwall.com/lists/oss-security/2015/10/22/7
- http://www.openwall.com/lists/oss-security/2015/10/22/9
- http://www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html
- http://www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html
- http://www.oracle.com/technetwork/security-advisory/cpujul2017-3236622.html
- http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html
- http://www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.html
- http://www.oracle.com/technetwork/security-advisory/cpuoct2017-3236626.html
- http://www.securityfocus.com/bid/79091
- http://www.securitytracker.com/id/1037036
- http://www.securitytracker.com/id/1037046
- http://www.securitytracker.com/id/1037053
- Weakness (CWE)
CWE-200- Platform
- Java / Kotlin (Maven)
- Package
org.bouncycastle:bcprov-jdk14, org.bouncycastle:bcprov-jdk15, org.bouncycastle:bcprov-jdk15on- Disclosed
- 17.10.2018
- Updated
- 11.10.2026 12:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-4mv7-cq75-3qjm - CC BY 4.0
Vulnerability history: org.bouncycastle:bcprov-jdk14
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 26
- First → latest
- 10.2018 04.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Critical 1
- High 10
- Medium 14
- Low 1
Disclosures per year
- 2018: 12
- 2019: 1
- 2020: 0
- 2021: 3
- 2022: 0
- 2023: 2
- 2024: 4
- 2025: 1
- 2026: 3
-
Moderate severity vulnerability that affects org.bouncycastle:bcprov-jdk14 and org.bouncycastle:bcprov-jdk15 this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.