BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2022-45146 in Bouncycastle Fips Java Api and 1 more product

Medium 5.5

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 ...

Affects 2 products from 2 vendors. Facts below cite their sources.

CVSS 3.15.5
EPSS0.4%
EPSS percentile27th
FixSee advisory

Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, no integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Bouncycastle Fips Java Api < 1.0.2.4

Platforms listed by the source (the vulnerable product runs on these; they are not themselves vulnerable): Oracle Jdk

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2022-45146
BreachSpider IDBS-2022-GLOBAL-064480-M
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Published2022-11-21
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-416: Use After Free

Software references memory after it has been freed, leading to corruption, crashes, or code execution.

Analysis AI-written, not human-reviewed

A vulnerability in the FIPS Java API of Bouncy Castle BC-FJA before version 1.0.2.4 can lead to temporary keys being zeroed out while still in use, causing errors or potential information loss. This issue is triggered by changes in the JVM garbage collector in Java 13 and later.

The vulnerability is triggered by the garbage collector in Java 13 and later versions, which can zero out temporary keys used by the BC-FJA FIPS modules while they are still in use.

Questions

What is CVE-2022-45146?

A vulnerability in the FIPS Java API of Bouncy Castle BC-FJA before version 1.0.2.4 can lead to temporary keys being zeroed out while still in use, causing errors or potential information loss. This issue is triggered by changes in the JVM garbage collector in Java 13 and later.

What is the CVSS score for CVE-2022-45146?

CVE-2022-45146 has CVSS 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N. EPSS: 0.4%.

Is CVE-2022-45146 actively exploited?

No confirmed active exploitation of CVE-2022-45146 as of 2026-09-25.

How do I remediate CVE-2022-45146?

Priority: MEDIUM. Advisory: https://www.bouncycastle.org/latest_releases.html

What systems are affected by CVE-2022-45146?

CVE-2022-45146 affects Bouncycastle Fips Java Api.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Bouncycastle","product":"Fips Java Api","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.