Live threats

All CVEs / Bouncycastle

CVE-2022-45146Bouncycastle Fips Java Api

Medium 5.5

Priority
33
CVSS 3.1
5.5
EPSS
0.4%
probability of exploitation in 30 days · percentile 27
Auth required
Yes
Published
Nov 21, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-416
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Fips Java Api.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.bouncycastle:bc-fips < 1.0.2.4 1.0.2.4 —

Per OSV / GitHub Advisories (GHSA-68m8-v89j-7j2p). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
bouncycastlefips_java_api< 1.0.2.4

Official sources

References

Links published by the sources. Open them with care.