GitHub Advisoryadvisory · Maven

GHSA-4mv7-cq75-3qjm Moderate severity vulnerability that affects org.bouncycastle:bcprov-jdk14 and org.bouncycastle:bcprov-jdk15

MEDIUM Published 2018-10-17 Modified 2025-09-12 Official page ↗
Aliases
CVE-2015-7940
Ecosystem
Maven
Packages
org.bouncycastle:bcprov-jdk15, org.bouncycastle:bcprov-jdk14, org.bouncycastle:bcprov-jdk15on
Severity
Moderate
Weaknesses
CWE-200
Reviewed
2020-06-16

Affected packages

• Maven org.bouncycastle:bcprov-jdk15: < 1.51 → fixed in 1.51 • Maven org.bouncycastle:bcprov-jdk14: < 1.51 → fixed in 1.51 • Maven org.bouncycastle:bcprov-jdk15on: < 1.51 → fixed in 1.51

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

Alias · CVE (1)

  • 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… vulnerability

Weakness · CWE (1)

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

References