CVE-2025-8916
Description
Allocation of Resources Without Limits or Throttling vulnerability in Legion of the Bouncy Castle Inc. BC Java bcpkix on All (API modules), Legion of the Bouncy Castle Inc. BC Java bcprov on All (API modules), Legion of the Bouncy Castle Inc. BCPKIX FIPS bcpkix-fips on All (API modules) allows Excessive Allocation. This vulnerability is associated with program files https://github.Com/bcgit/bc-java/blob/main/pkix/src/main/java/org/bouncycastle/pkix/jcajce/PKIXCertPathReviewer.Java, https://github.Com/bcgit/bc-java/blob/main/prov/src/main/java/org/bouncycastle/x509/PKIXCertPathReviewer.Java. This issue affects BC Java: from 1.44 through 1.78; BC Java: from 1.44 through 1.78; BCPKIX FIPS: from 1.0.0 through 1.0.7, from 2.0.0 through 2.0.7.
How to fix
- org.bouncycastle:bcpkix-jdk15on1.79 or later
- org.bouncycastle:bcpkix-jdk15to181.79 or later
- org.bouncycastle:bcpkix-jdk18on1.79 or later
- org.bouncycastle:bcpkix-fips1.0.8, 2.0.8 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| org.bouncycastle:bcpkix-jdk15onMaven | 1.44 ≤ v < 1.79 | 1.79 |
| org.bouncycastle:bcpkix-jdk15to18Maven | 1.44 ≤ v < 1.79 | 1.79 |
| org.bouncycastle:bcpkix-jdk18onMaven | 1.44 ≤ v < 1.79 | 1.79 |
| org.bouncycastle:bcpkix-fipsMaven | 1.0.0 ≤ v < 1.0.8, 2.0.0 ≤ v < 2.0.8 | 1.0.8, 2.0.8 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.