CVE-2025-12194 Bouncy Castle Vulnerable to Uncontrolled Resource Consumption
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- Debian
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.
Upgrade path
7 packages: 4 fixed, 3 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/bouncycastle(Debian 12) | = 1.72-2; = 1.77-1; = 1.80-1; = 1.80-2 +2 more | No fix listed | No fix yet |
| debian/bouncycastle(Debian 13) | = 1.80-3; All versions | No fix listed | No fix yet |
| debian/bouncycastle(Debian 14) | = 1.80-3; All versions | No fix listed | No fix yet |
| maven bc-fips(Maven) | >= 2.1.0, <= 2.1.1 | after 2.1.1 | Fixed |
| maven bcprov-lts8on(Maven) | >= 2.73.0, <= 2.73.7 | after 2.73.7 | Fixed |
| org.bouncycastle/bc-fips(Maven) | = 2.1.0; = 2.1.1; >= 2.1.0, < 2.1.2; >= 2.1.0, <= 2.1.1 | 2.1.2 | Fixed |
| org.bouncycastle/bcprov-debug-lts8on(Maven) | >= 2.73.0, < 2.73.8; >= 2.73.0, <= 2.73.7 | 2.73.8 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| org.bouncycastle/bc-fips(Maven) | >= 2.1.0, < 2.1.2 | 2.1.2 |
| org.bouncycastle/bc-fips(Maven) | = 2.1.0 | No fix listed |
| org.bouncycastle/bc-fips(Maven) | = 2.1.1 | No fix listed |
| org.bouncycastle/bcprov-debug-lts8on(Maven) | >= 2.73.0, < 2.73.8 | 2.73.8 |
| debian/bouncycastle(Debian:12) | All versions | No fix listed |
| debian/bouncycastle(Debian:12) | = 1.72-2 | No fix listed |
| debian/bouncycastle(Debian:12) | = 1.77-1 | No fix listed |
| debian/bouncycastle(Debian:12) | = 1.80-1 | No fix listed |
| debian/bouncycastle(Debian:12) | = 1.80-2 | No fix listed |
| debian/bouncycastle(Debian:12) | = 1.80-3 | No fix listed |
| debian/bouncycastle(Debian:13) | All versions | No fix listed |
| debian/bouncycastle(Debian:13) | = 1.80-3 | No fix listed |
| debian/bouncycastle(Debian:14) | All versions | No fix listed |
| debian/bouncycastle(Debian:14) | = 1.80-3 | No fix listed |
| org.bouncycastle/bc-fips(Maven) | >= 2.1.0, <= 2.1.1 | No fix listed |
| org.bouncycastle/bcprov-debug-lts8on(Maven) | >= 2.73.0, <= 2.73.7 | No fix listed |
| maven bc-fips(Maven) | >= 2.1.0, <= 2.1.1 | No fix listed |
| maven bcprov-lts8on(Maven) | >= 2.73.0, <= 2.73.7 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com patch
- github.com
- github.com product
- security-tracker.debian.org vendor-advisory
- github.com