CVE-2022-45146: bouncycastle fips_java_api Use After Free
Vulnerability summary
CVE-2022-45146 is a medium (CVSS 5.5) Use After Free vulnerability in bouncycastle fips_java_api. EPSS estimates a 0.43% chance of exploitation in the next 30 days, higher than 35.9% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 0 · Related 4Timeline
- 21-11-2022PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 5 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- OSV · WolfiEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- OSV · ChainguardEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- OSV · MavenEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS trend
Probability
0.43%
Chance of exploitation in the next 30 days
Percentile
36%
Versus all other CVEs
30-day change
0.00 pp
From 0.43% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundBc Java
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Chainguard2 products
- elasticsearch-7< 7.17.15-r0
- opensearch-2< 2.11.1-r1
Bouncycastle1 product
- fips_java_api< 1.0.2.4
Org.bouncycastle1 product
- bc-fips< 1.0.2.4
Ubuntu1 product
- bouncycastleAll versions (No fix recorded)
Wolfi1 product
- opensearch-2< 2.11.1-r1
5 vendors · 6 products