Skip to content
Fencer Intel
medium 5.0

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 fabric8
    affected: no fix available
  • Red Hat Satellite 6 bouncycastle Red Hat Subscription Asset Manager bouncycastle
    affected: no fix planned “Will not fix”
  • Red Hat JBoss A-MQ 6.3
    fixed: vendor fix RHSA-2016:2036
  • Red Hat JBoss Fuse 6.3
    fixed: 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

Weakness
  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
  • CWE-310 Cryptographic Issues

References

Sources

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.