CVE-2015-7940
publishedbouncycastle: Invalid curve attack allowing to extract private keys
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Debian | jessie | bouncycastle | Advisory build | 1.49+dfsg-3+deb8u1 | DSA-3417-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | bouncycastleaarch64 | Advisory build | 1.54-1.2 | OPENSUSE-SU-2024:10486-1 |
| Ubuntu | trusty | bouncycastle | Advisory build | 1.49+dfsg-2ubuntu0.1 | USN-3727-1 |
| Debian | squeeze | bouncycastle | Advisory build | 1.44+dfsg-2+deb6u1 | DLA-361-1 |
| Debian | wheezy | bouncycastle | Advisory build | 1.44+dfsg-3.1+deb7u1 | DSA-3417-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | bouncycastleppc64le | Advisory build | 1.54-1.2 | OPENSUSE-SU-2024:10486-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | bouncycastles390x | Advisory build | 1.54-1.2 | OPENSUSE-SU-2024:10486-1 |
Show 9 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | bouncycastlex86_64 | Advisory build | 1.54-1.2 | OPENSUSE-SU-2024:10486-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | bouncycastle-javadocaarch64 | Advisory build | 1.54-1.2 | OPENSUSE-SU-2024:10486-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | bouncycastle-javadocppc64le | Advisory build | 1.54-1.2 | OPENSUSE-SU-2024:10486-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | bouncycastle-javadocs390x | Advisory build | 1.54-1.2 | OPENSUSE-SU-2024:10486-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | bouncycastle-javadocx86_64 | Advisory build | 1.54-1.2 | OPENSUSE-SU-2024:10486-1 |
| Ubuntu | trusty | libbcmail-java | Advisory build | 1.49+dfsg-2ubuntu0.1 | USN-3727-1 |
| Ubuntu | trusty | libbcpg-java | Advisory build | 1.49+dfsg-2ubuntu0.1 | USN-3727-1 |
| Ubuntu | trusty | libbcpkix-java | Advisory build | 1.49+dfsg-2ubuntu0.1 | USN-3727-1 |
| Ubuntu | trusty | libbcprov-java | Advisory build | 1.49+dfsg-2ubuntu0.1 | USN-3727-1 |
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."
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
21- FEDORA-2015-7d95466eda http://lists.fedoraproject.org/pipermail/package-announce/2016-January/174915.html
- openSUSE-SU-2015:1911 http://lists.opensuse.org/opensuse-security-announce/2015-11/msg00012.html
- RHSA-2016:2035 http://rhn.redhat.com/errata/RHSA-2016-2035.html
- RHSA-2016:2036 http://rhn.redhat.com/errata/RHSA-2016-2036.html
- http://web-in-security.blogspot.ca/2015/09/practical-invalid-curve-attacks.html
- DSA-3417 http://www.debian.org/security/2015/dsa-3417
- [oss-security] 20151022 CVE Request: invalid curve attack on bouncycastle http://www.openwall.com/lists/oss-security/2015/10/22/7
- [oss-security] 20151022 Re: CVE Request: invalid curve attack on bouncycastle 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
- 79091 http://www.securityfocus.com/bid/79091
- 1037036 http://www.securitytracker.com/id/1037036
- 1037046 http://www.securitytracker.com/id/1037046
- 1037053 http://www.securitytracker.com/id/1037053
- USN-3727-1 https://usn.ubuntu.com/3727-1/
- https://www.oracle.com/security-alerts/cpuapr2020.html
- https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 93937133b26c15552cec9c1493fee20c36dfac4e13f29f775cf7502ebde113dc
- Ingested
- 23 Sep 2026, 07:40:50 UTC
- Source record
- Official CVE record