MediumGHSA-c8xf-m4ff-jcxjCVE-2016-1000339

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

Published 17 Oct 2018 · Updated 12 Sept 2025

Is your project on an affected org.bouncycastle:bcprov-jdk14?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected packages

Affected
<1.56
Fixed in
1.56
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.bouncycastle:bcprov-jdk14 -DdepVersion=1.56 -DforceVersion=true
Affected
<1.56
Fixed in
1.56
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.bouncycastle:bcprov-jdk15 -DdepVersion=1.56 -DforceVersion=true
Affected
<1.56
Fixed in
1.56
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.bouncycastle:bcprov-jdk15on -DdepVersion=1.56 -DforceVersion=true

Details

In the Bouncy Castle JCE Provider version 1.55 and earlier the primary engine class used for AES was AESFastEngine. Due to the highly table driven approach used in the algorithm it turns out that if the data channel on the CPU can be monitored the lookup table accesses are sufficient to leak information on the AES key being used. There was also a leak in AESEngine although it was substantially less. AESEngine has been modified to remove any signs of leakage (testing carried out on Intel X86-64) and is now the primary AES class for the BC JCE provider from 1.56. Use of AESFastEngine is now only recommended where otherwise deemed appropriate.

Is GHSA-c8xf-m4ff-jcxj in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected org.bouncycastle:bcprov-jdk14, and gives you the command that fixes it.

More advisories for org.bouncycastle:bcprov-jdk14

  • CriticalCVE-2025-14813Bouncy Castle for Java GOST 28147 CTR mode reuses keystream after 255 blocks · 17 Apr 2026
  • HighCVE-2026-5598Bouncy Castle Has Covert Timing Channel Vulnerability · 17 Apr 2026
  • MediumCVE-2026-0636Bouncy Castle has an LDAP injection · 17 Apr 2026
  • MediumCVE-2025-8885Bouncy Castle for Java on All (API modules) allows Excessive Allocation · 12 Aug 2025
  • MediumCVE-2024-29857Bouncy Castle certificate parsing issues cause high CPU usage during parameter evaluation. · 14 May 2024
  • MediumCVE-2024-30172Bouncy Castle crafted signature and public key can be used to trigger an infinite loop · 14 May 2024
All 26 advisories for org.bouncycastle:bcprov-jdk14

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.