Improperly Implemented Security Check for Standard Affecting bouncycastle package, versions *


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
4.82% (91st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL10-BOUNCYCASTLE-9866193
  • published28 Apr 2025
  • disclosed14 Sept 2015

Introduced: 14 Sep 2015

CVE-2015-7940  (opens in a new tab)
CWE-358  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:10 bouncycastle.

NVD Description

Note: Versions mentioned in the description apply only to the upstream bouncycastle package and not the bouncycastle package as distributed by RHEL. See How to fix? for RHEL:10 relevant fixed versions and status.

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

CVSS Base Scores

version 3.1