What’s Vulnerable › Vulnerabilities
CVE-2022-45146
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-11-21 · updated 2026-06-17
- Weakness: CWE-416
Description
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 products
- Bouncycastle Fips Java Api: before 1.0.2.4 — fixed in 1.0.2.4
How to fix
Upgrade to a fixed version: Bouncycastle Fips Java Api 1.0.2.4. Check the vendor advisory for mitigations.
References
- https://github.com/bcgit/bc-java/wiki/CVE-2022-45146
- https://mvnrepository.com/artifact/org.bouncycastle/bc-fips
- https://www.bouncycastle.org/latest_releases.html
- https://github.com/bcgit/bc-java/wiki/CVE-2022-45146
- https://mvnrepository.com/artifact/org.bouncycastle/bc-fips
- https://www.bouncycastle.org/latest_releases.html
Get alerted when CVE-2022-45146 or the next vulnerability affects your stack