Medium

Garbage collection issue in BC-FJA in Java 13 and later

  • Disclosed: 21.11.2022
  • Updated: 11.10.2026 13:19

An issue was discovered in the FIPS Java API of Bouncy Castle BC-FJA before 1.0.2.4. Changes to the JVM garbage collector in Java 13 and later trigger an issue in the BC-FJA FIPS modules where it is possible for temporary keys used by the module to be zeroed out while still in use by the module, resulting in errors or potential information loss.

NOTE: FIPS compliant users are unaffected because the FIPS certification is only for Java 7, 8, and 11.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.bouncycastle:bc-fips < 1.0.2.4 1.0.2.4

References

CVSS score 5.5/10
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Weakness (CWE)
CWE-416
Platform
Java / Kotlin (Maven)
Package
org.bouncycastle:bc-fips
Disclosed
21.11.2022
Updated
11.10.2026 13:19

Sources and licenses

OSV / GitHub Advisory Database - GHSA-68m8-v89j-7j2p - CC BY 4.0

Vulnerability history: org.bouncycastle:bc-fips

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 (13) in the archive
Total entries
13
First → latest
04.2021 08.2026
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Critical 1
  • High 3
  • Medium 7
  • Low 2

Disclosures per year

  1. 2021: 2
  2. 2022: 1
  3. 2023: 0
  4. 2024: 1
  5. 2025: 5
  6. 2026: 4
Severity:
  1. High CVE-2026-13505 < 1.0.2.7, >= 2.0.0, < 2.0.2, >= 2.1.0, < 2.1.3 1.0.2.7, 2.0.2, 2.1.3
  2. High · 7.5 CVE-2026-13506 < 1.0.2.7, >= 2.0.0, < 2.0.2, >= 2.1.0, < 2.1.3 1.0.2.7, 2.0.2, 2.1.3
  3. Critical · 9.1 CVE-2026-8763 < 1.0.2.7, >= 2.0.0, < 2.0.2, >= 2.1.0, < 2.1.3 1.0.2.7, 2.0.2, 2.1.3
  4. Garbage collection issue in BC-FJA in Java 13 and later this entry
    Medium · 5.5 CVE-2022-45146 < 1.0.2.4 1.0.2.4

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.