CVE-2022-45146: Use After Free

Published Nov 21, 2022
·
Updated

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.

Affected Software

5 affected componentsFixes available
maven/org.bouncycastle:bc-fips<1.0.2.4
1.0.2.4
All of the following
bouncycastle FIPS Java API<1.0.2.4
Oracle JDK>=13.0.0
bouncycastle FIPS Java API<1.0.2.4
Oracle JDK>=13.0.0

Event History

Nov 21, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·10:15 AM
DescriptionSeverityWeaknessAffected Software
Advisory Published
via GitHub·12:30 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2022-45146?

CVE-2022-45146 is a vulnerability found in the FIPS Java API of Bouncy Castle BC-FJA before version 1.0.2.4.

2

What is the severity of CVE-2022-45146?

The severity of CVE-2022-45146 is medium, with a CVSS score of 5.5.

3

How does CVE-2022-45146 affect Bouncy Castle BC-FJA?

CVE-2022-45146 affects Bouncy Castle BC-FJA before version 1.0.2.4, where changes to the JVM garbage collector in Java 13 and later can cause temporary keys used by the module to be zeroed out while still in use.

4

How can I fix CVE-2022-45146?

To fix CVE-2022-45146, update the Bouncy Castle BC-FJA to version 1.0.2.4 or later.

5

Are Oracle JDK versions vulnerable to CVE-2022-45146?

No, Oracle JDK versions are not vulnerable to CVE-2022-45146.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203