CVE-2022-45146
MEDIUMBouncy Castle FIPS Java API < 1.0.2.4 - Use-After-Free in Temporary Key Handling
Title source: llmDescription
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.
References (3)
Core 3
Core References
Various Sources
https://mvnrepository.com/artifact/org.bouncycastle/bc-fips
Exploit, Third Party Advisory
https://github.com/bcgit/bc-java/wiki/CVE-2022-45146
Release Notes, Vendor Advisory
https://www.bouncycastle.org/latest_releases.html
Scores
CVSS v3
5.5
EPSS
0.0043
EPSS Percentile
34.7%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Details
CWE
CWE-416
Status
published
Products (2)
bouncycastle/fips_java_api
< 1.0.2.4
org.bouncycastle/bc-fips
0 - 1.0.2.4Maven
Published
Nov 21, 2022
Tracked Since
Feb 18, 2026