High

In Bouncy Castle JCE Provider the DHIES implementation allowed the use of ECB mode

  • Disclosed: 18.10.2018
  • Updated: 11.10.2026 12:22

In the Bouncy Castle JCE Provider version 1.55 and earlier the DHIES implementation allowed the use of ECB mode. This mode is regarded as unsafe and support for it has been removed from the provider.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.bouncycastle:bcprov-jdk14 < 1.56 1.56
Java / Kotlin (Maven) org.bouncycastle:bcprov-jdk15 < 1.56 1.56
Java / Kotlin (Maven) org.bouncycastle:bcprov-jdk15on < 1.56 1.56

References

CVSS score 7.4/10
CVSS vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Weakness (CWE)
CWE-1310
Platform
Java / Kotlin (Maven)
Package
org.bouncycastle:bcprov-jdk14, org.bouncycastle:bcprov-jdk15, org.bouncycastle:bcprov-jdk15on
Disclosed
18.10.2018
Updated
11.10.2026 12:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-2j2x-hx4g-2gf4 - CC BY 4.0

Vulnerability history: org.bouncycastle:bcprov-jdk15

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (16) in the archive
Total entries
16
First → latest
10.2018 11.2023
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • High 8
  • Medium 7
  • Low 1

Disclosures per year

  1. 2018: 12
  2. 2019: 0
  3. 2020: 0
  4. 2021: 3
  5. 2022: 0
  6. 2023: 1
  7. 2024: 0
  8. 2025: 0
  9. 2026: 0
Severity:
  1. High · 8.1 CVE-2020-28052 >= 1.65, < 1.67 1.67
  2. In Bouncy Castle JCE Provider the DHIES implementation allowed the use of ECB mode this entry
    High · 7.4 CVE-2016-1000344 < 1.56 1.56
  3. High · 7.5 CVE-2016-1000340 >= 1.51, < 1.56 1.56

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.