CVE-2025-12194
Bouncy Castle Vulnerable to Uncontrolled Resource Consumption
Description
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 Maven artifacts (2)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.bouncycastle » bc-fips | >= 2.1.0, < 2.1.2 | 2.1.2 |
| org.bouncycastle » bcprov-debug-lts8on | >= 2.73.0, < 2.73.8 | 2.73.8 |
Blast radius
2% of the dependent artifacts (3) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 32 |
| 2 hops | 125 |
| 3 hops | 205 |
| 4 hops | 108 |
| 5 hops | 6 |
Most used dependents
- com.netflix.zuul » zuul-core55 usages
- org.openidentityplatform.openam » openam-core53 usages
- org.openidentityplatform.openam » openam-shared31 usages
- org.openidentityplatform.opendj » opendj-core22 usages
- io.confluent » broker-plugins18 usages
- org.openidentityplatform.opendj » opendj-grizzly17 usages
- io.confluent » kafka-client-plugins15 usages
- org.openidentityplatform.openam » openam-rest13 usages
- io.confluent » confluent-security-plugins-common12 usages
- org.openidentityplatform.openam » openam-federation-library11 usages
- org.openidentityplatform.opendj » opendj-server-legacy11 usages
- io.confluent » rest-authorizer10 usages
- io.confluent » auth-providers9 usages
- io.confluent.security » security-extensions8 usages
- org.openidentityplatform.openam » openam-entitlements8 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2025-12194 | nvd.nist.gov |
| Package | bcgit/bc-lts-java | github.com |
| Web | bcgit/bc-lts-java commit 2c9be6c | github.com |
| Web | bcgit/bc-lts-java commit f2776fe | github.com |
| Web | bcgit/bc-java/wiki/CVE‐2025‐12194 | github.com |
