Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.bouncycastle/bcprov-jdk15on
  4. ›
  5. CVE-2015-7940

CVE-2015-7940: Moderate severity vulnerability that affects org.bouncycastle:bcprov-jdk14 and org.bouncycastle:bcprov-jdk15

October 17, 2018 (updated September 12, 2025)

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.”

References

  • github.com/advisories/GHSA-4mv7-cq75-3qjm
  • nvd.nist.gov/vuln/detail/CVE-2015-7940
  • usn.ubuntu.com/3727-1
  • www.oracle.com/security-alerts/cpuapr2020.html
  • www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html

Code Behaviors & Features

Detect and mitigate CVE-2015-7940 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.51

Fixed versions

  • 1.51

Solution

Upgrade to version 1.51 or above.

Impact 5 MEDIUM

AV:N/AC:L/Au:N/C:P/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor

Source file

maven/org.bouncycastle/bcprov-jdk15on/CVE-2015-7940.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:29 +0000.