5.5

CVE-2022-45146: bouncycastle fips_java_api Use After Free

Modified
AliasesUBUNTU-CVE-2022-45146CGA-68mw-vvj4-g8jvCGA-mfj4-38pm-9prj
Published 21-11-2022Last modified 03-08-2024

Vulnerability summary

CVE-2022-45146 is a medium (CVSS 5.5) Use After Free vulnerability in bouncycastle fips_java_api. EPSS estimates a 0.46% chance of exploitation in the next 30 days, higher than 41.8% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Routine

Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.5/10
010
Medium · v3.1 (NVD)
EPSS score
0.46%
0%100%
Low · +0.02 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 0 · Related 4

Timeline

  1. 21-11-2022
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last 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

EPSS trend

Probability

0.46%

Chance of exploitation in the next 30 days

Percentile

42%

Versus all other CVEs

30-day change

Increase +0.02 pp

From 0.45% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Bc Java

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard2 products
  • elasticsearch-7< 7.17.15-r0
  • opensearch-2< 2.11.1-r1
Bouncycastle1 product
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

References

6 links