Back
CVE-2015-7940
The Bouncy Castle Java library before 1.51 does not validate a point is withing the elliptic curve, which makes it easier for remote…
Medium5.0EPSS 4.7%
- Published
- Updated
- Reserved
- Assigned by
- mitre
Description
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."
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
- EPSS (exploitation in 30 days)
- 4.7% · top 8.2% of all CVEs (3 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.0.
Weakness
Affected products
n/a
- affected n/a
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.bouncycastle:bcprov-jdk14GHSA-4mv7-cq75-3qjm (opens in a new tab)
- Mavenorg.bouncycastle:bcprov-jdk15GHSA-4mv7-cq75-3qjm (opens in a new tab)
- Mavenorg.bouncycastle:bcprov-jdk15onGHSA-4mv7-cq75-3qjm (opens in a new tab)
References (21)
- RHSA-2016:2035 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- 79091 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- openSUSE-SU-2015:1911 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- FEDORA-2015-7d95466eda (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- http://www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- RHSA-2016:2036 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- http://www.oracle.com/technetwork/security-advisory/cpuoct2017-3236626.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- USN-3727-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- [oss-security] 20151022 Re: CVE Request: invalid curve attack on bouncycastle (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- http://www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- 1037036 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- [oss-security] 20151022 CVE Request: invalid curve attack on bouncycastle (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- DSA-3417 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- http://www.oracle.com/technetwork/security-advisory/cpujul2017-3236622.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://web-in-security.blogspot.ca/2015/09/practical-invalid-curve-attacks.html (opens in a new tab)x_refsource_MISCx_transferred
- 1037046 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- 1037053 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- https://www.oracle.com/security-alerts/cpuapr2020.html (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-4mv7-cq75-3qjm (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2015-7940)Record last updated .