CVE-2022-45146
MEDIUM 5.5CVSS 3.1Garbage collection issue in BC-FJA in Java 13 and later
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.
- Published
- 21 Nov 2022
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-416
- Also known as
- GHSA-68m8-v89j-7j2p
- Sources
- NVDJSONOSV GHSA-68m8-v89j-7j2pJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | bouncycastle | fips_java_apicpe:2.3:a:bouncycastle:fips_java_api:*:*:*:*:*:*:*:* |
< 1.0.2.4 | 1.0.2.4 |
| OSV | Maven | org.bouncycastle:bc-fips | < 1.0.2.4 | 1.0.2.4 |
References
- https://github.com/bcgit/bc-java/wiki/CVE-2022-45146 · Exploit, Third Party Advisory, WEB
- https://mvnrepository.com/artifact/org.bouncycastle/bc-fips · WEB
- https://www.bouncycastle.org/latest_releases.html · Release Notes, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-45146 · ADVISORY
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 21 Nov 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 21 Nov 2022)