CVE-2025-12194: Medium severity Legion of the Bouncy Castle Bouncy Castle for Java FIPS vulnerability

Published Oct 24, 2025
·
Updated

Uncontrolled Resource Consumption vulnerability in Legion of the Bouncy Castle Inc. Bouncy Castle for Java FIPS bc-fips on All (API modules), Legion of the Bouncy Castle Inc. Bouncy Castle for Java LTS bcprov-lts8on on All (API modules) allows Excessive Allocation. This vulnerability is associated with program files core/src/main/jdk1.9/org/bouncycastle/crypto/fips/AESNativeCFB.Java, core/src/main/jdk1.9/org/bouncycastle/crypto/fips/AESNativeGCM.Java, core/src/main/jdk1.9/org/bouncycastle/crypto/fips/SHA256NativeDigest.Java, core/src/main/jdk1.9/org/bouncycastle/crypto/fips/AESNativeEngine.Java, core/src/main/jdk1.9/org/bouncycastle/crypto/fips/AESNativeCBC.Java, core/src/main/jdk1.9/org/bouncycastle/crypto/fips/AESNativeCTR.Java, core/src/main/jdk1.9/org/bouncycastle/crypto/engines/AESNativeCFB.Java, core/src/main/jdk1.9/org/bouncycastle/crypto/engines/AESNativeGCM.Java, core/src/main/jdk1.9/org/bouncycastle/crypto/engines/AESNativeEngine.Java, core/src/main/jdk1.9/org/bouncycastle/crypto/engines/AESNativeCBC.Java, core/src/main/jdk1.9/org/bouncycastle/crypto/engines/AESNativeGCMSIV.Java, core/src/main/jdk1.9/org/bouncycastle/crypto/engines/AESNativeCCM.Java, core/src/main/jdk1.9/org/bouncycastle/crypto/engines/AESNativeCTR.Java, core/src/main/jdk1.9/org/bouncycastle/crypto/digests/SHA256NativeDigest.Java, core/src/main/jdk1.9/org/bouncycastle/crypto/digests/SHA224NativeDigest.Java, core/src/main/jdk1.9/org/bouncycastle/crypto/digests/SHA3NativeDigest.Java, core/src/main/jdk1.9/org/bouncycastle/crypto/digests/SHAKENativeDigest.Java, core/src/main/jdk1.9/org/bouncycastle/crypto/digests/SHA512NativeDigest.Java, core/src/main/jdk1.9/org/bouncycastle/crypto/digests/SHA384NativeDigest.Java.

This issue affects Bouncy Castle for Java FIPS: from 2.1.0 through 2.1.1; Bouncy Castle for Java LTS: from 2.73.0 through 2.73.7.

Affected Software

5 affected componentsFixes available
Legion of the Bouncy Castle Bouncy Castle for Java FIPS
Legion of the Bouncy Castle Bouncy Castle for Java LTS
maven/org.bouncycastle:bcprov-debug-lts8on>=2.73.0<=2.73.7
2.73.8
maven/org.bouncycastle:bc-fips>=2.1.0<=2.1.1
2.1.2
IBM Concert Software<=1.0.0-3.0.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven/org.bouncycastle:bcprov-debug-lts8on to a version that resolves this vulnerability.

    Fixed in 2.73.8
  2. Upgrade

    Upgrade maven/org.bouncycastle:bc-fips to a version that resolves this vulnerability.

    Fixed in 2.1.2

Event History

Oct 24, 2025
CVE Published
via MITRE·10:51 PM
Data Sourced
via MITRE·10:51 PM
DescriptionWeakness
Data Sourced
via NVD·11:15 PM
DescriptionSeverityWeakness
Oct 25, 2025
Advisory Published
via GitHub·12:30 AM
Data Sourced
via GitHub·12:30 AM
DescriptionWeaknessAffected Software
Sep 22, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2025-12194?

CVE-2025-12194 has been classified as a high severity vulnerability due to its potential for excessive resource allocation.

2

How do I fix CVE-2025-12194?

To fix CVE-2025-12194, update to the latest version of Bouncy Castle for Java FIPS or Bouncy Castle for Java LTS that includes the security patch.

3

What products are affected by CVE-2025-12194?

CVE-2025-12194 affects all versions of Bouncy Castle for Java FIPS and Bouncy Castle for Java LTS.

4

What are the potential impacts of CVE-2025-12194?

The potential impacts of CVE-2025-12194 include denial of service due to uncontrolled resource consumption.

5

Is there a workaround for CVE-2025-12194?

Currently, there are no known workarounds for CVE-2025-12194 other than applying the available patches.

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