NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Maven

CVE-2025-8916: Bouncy Castle for Java bcpkix, bcprov, bcpkix-fips on All (API modules) allows Excessive Allocation

mediumCVSS 4.0 6.3GHSA-4cx2-fc23-5wg6

Allocation of Resources Without Limits or Throttling vulnerability in Legion of the Bouncy Castle Inc. Bouncy Castle for Java bcpkix, bcprov, 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/PKIXCertP...

Published Aug 13, 2025 · Updated May 13, 2026

Affected packages

org.bouncycastle:bcpkix-fips

Ecosystem
Maven
Affected
>= 1.0.0, <= 1.0.7
Fixed in
1.0.8
Check
mvn dependency:tree -Dincludes=org.bouncycastle:bcpkix-fips

org.bouncycastle:bcpkix-fips

Ecosystem
Maven
Affected
>= 2.0.0, <= 2.0.7
Fixed in
2.0.8
Check
mvn dependency:tree -Dincludes=org.bouncycastle:bcpkix-fips

org.bouncycastle:bcpkix-jdk15on

Ecosystem
Maven
Affected
>= 1.44, < 1.79
Fixed in
1.79
Check
mvn dependency:tree -Dincludes=org.bouncycastle:bcpkix-jdk15on

org.bouncycastle:bcpkix-jdk15to18

Ecosystem
Maven
Affected
>= 1.44, < 1.79
Fixed in
1.79
Check
mvn dependency:tree -Dincludes=org.bouncycastle:bcpkix-jdk15to18

org.bouncycastle:bcpkix-jdk18on

Ecosystem
Maven
Affected
>= 1.44, < 1.79
Fixed in
1.79
Check
mvn dependency:tree -Dincludes=org.bouncycastle:bcpkix-jdk18on

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

Allocation of Resources Without Limits or Throttling vulnerability in Legion of the Bouncy Castle Inc. Bouncy Castle for Java bcpkix, bcprov, 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/PKIXCertP... 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/PKIXCertPathRevi... https://github.Com/bcgit/bc-java/blob/main/prov/src/main/java/org/bouncycastle/x509/PKIXCertPathReviewer.java .

This issue affects Bouncy Castle for Java: from BC 1.44 through 1.78, from BCPKIX FIPS 1.0.0 through 1.0.7, from BCPKIX FIPS 2.0.0 through 2.0.7.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Maven vulnerabilities

All Maven entries