Medium

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

  • Disclosed: 13.08.2025
  • Updated: 11.10.2026 13:20

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.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.bouncycastle:bcpkix-fips >= 1.0.0, < 1.0.8, >= 2.0.0, < 2.0.8 1.0.8, 2.0.8
Java / Kotlin (Maven) org.bouncycastle:bcpkix-jdk15on >= 1.44, < 1.79 1.79
Java / Kotlin (Maven) org.bouncycastle:bcpkix-jdk15to18 >= 1.44, < 1.79 1.79
Java / Kotlin (Maven) org.bouncycastle:bcpkix-jdk18on >= 1.44, < 1.79 1.79

References

CVSS score -
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/S:P/R:U/RE:M/U:Amber
Weakness (CWE)
CWE-770
Platform
Java / Kotlin (Maven)
Package
org.bouncycastle:bcpkix-fips, org.bouncycastle:bcpkix-jdk15on, org.bouncycastle:bcpkix-jdk15to18
Disclosed
13.08.2025
Updated
11.10.2026 13:20

Sources and licenses

OSV / GitHub Advisory Database - GHSA-4cx2-fc23-5wg6 - CC BY 4.0

Vulnerability history: org.bouncycastle:bcpkix-jdk15to18

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
2
First → latest
08.2025 04.2026
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Medium 2

Disclosures per year

  1. 2025: 1
  2. 2026: 1
  1. Bouncy Castle for Java bcpkix, bcprov, bcpkix-fips on All (API modules) allows Excessive Allocation this entry
    Medium CVE-2025-8916 >= 1.44, < 1.79 1.79

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.