CVE-2015-7940 json
Moderate severity vulnerability that affects org.bouncycastle:bcprov-jdk14 and org.bouncycastle:bcprov-jdk15
published 2015-11-09 11 y ago modified 2026-06-17 4 mo ago also GHSA-4mv7-cq75-3qjm , EUVD-2018-0502
- cvss
- 5.0
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.7%
- EPSS 4.7% chance of exploitation in 30 days, percentile 91%
- public exploits
- 0
- none known
Summary
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."
Patch / fix
- maven org.bouncycastle:bcprov-jdk15 1.51
- maven org.bouncycastle:bcprov-jdk14 1.51
- maven org.bouncycastle:bcprov-jdk15on 1.51
- bouncycastle Debian 14, Debian 13, Debian 12 1.51-1
debian advisories DEBIAN-CVE-2015-7940
- bouncycastle Ubuntu 14.04 LTS 1.49+dfsg-2ubuntu0.1
ubuntu advisories UBUNTU-CVE-2015-7940
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- bouncycastle openSUSE Tumbleweed 1.54-1.2
opensuse advisories openSUSE-SU-2024:10486-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2015-7940 updated cvss 3.7
bouncycastle: Invalid curve attack allowing to extract private keys
-
Red Hat JBoss A-MQ 6 fabric8 fabric8 Red Hat JBoss Fuse 6 fabric8 fabric8affected: no fix available
-
Red Hat Satellite 6 bouncycastle Red Hat Subscription Asset Manager bouncycastleaffected: no fix planned “Will not fix”
-
Red Hat JBoss A-MQ 6.3fixed: vendor fix RHSA-2016:2036
-
Red Hat JBoss Fuse 6.3fixed: vendor fix RHSA-2016:2035
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
4.69% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.bouncycastle:bcprov-jdk15 | <1.51 |
1.51 |
| maven | org.bouncycastle:bcprov-jdk14 | <1.51 |
1.51 |
| maven | org.bouncycastle:bcprov-jdk15on | <1.51 |
1.51 |
Classification
References
-
rhn.redhat.com
/errata/RHSA-2016-2035.html
vendor-advisory, web
-
lists.opensuse.org
/opensuse-security-announce/2015-11/msg00012.html
vendor-advisory, web, third-party-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2016-January/174915.html
vendor-advisory, web
-
rhn.redhat.com
/errata/RHSA-2016-2036.html
vendor-advisory, web
-
usn.ubuntu.com
/3727-1/
vendor-advisory
-
debian.org
/security/2015/dsa-3417
vendor-advisory, web
-
oracle.com
/technetwork/security-advisory/cpujul2018-4258247.html
web
-
oracle.com
/technetwork/security-advisory/cpujan2018-3236628.html
web
-
oracle.com
/technetwork/security-advisory/cpujan2019-5072801.html
web
-
securityfocus.com
/bid/79091
vdb-entry, web
-
oracle.com
/technetwork/security-advisory/cpuoct2016-2881722.html
web, third-party-advisory
-
oracle.com
/technetwork/security-advisory/cpuoct2017-3236626.html
web
-
openwall.com
/lists/oss-security/2015/10/22/9
mailing-list, web, third-party-advisory, vdb-entry
-
oracle.com
/technetwork/security-advisory/cpuapr2018-3678067.html
web
-
securitytracker.com
/id/1037036
vdb-entry, web
-
openwall.com
/lists/oss-security/2015/10/22/7
mailing-list, web, third-party-advisory, vdb-entry
-
oracle.com
/technetwork/security-advisory/cpujul2017-3236622.html
web
-
web-in-security.blogspot.ca
/2015/09/practical-invalid-curve-attacks.html
web, technical-description
-
securitytracker.com
/id/1037046
vdb-entry, web
-
securitytracker.com
/id/1037053
vdb-entry, web
-
oracle.com
/security-alerts/cpuapr2020.html
web
-
nvd.nist.gov
/vuln/detail/CVE-2015-7940
advisory
-
github.com
/advisories/GHSA-4mv7-cq75-3qjm
advisory
-
usn.ubuntu.com
/3727-1
web
Sources
- CVE List CVE-2015-7940
- GitHub Advisory GHSA-4mv7-cq75-3qjm
- NVD CVE-2015-7940
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.