Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.bouncycastle/bcpkix-jdk15to18
  4. ›
  5. CVE-2025-8916

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

August 13, 2025

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

  • github.com/advisories/GHSA-4cx2-fc23-5wg6
  • github.com/bcgit/bc-java
  • github.com/bcgit/bc-java/commit/310b30a4fbf36d13f6cc201ffa7771715641e67e
  • github.com/bcgit/bc-java/commit/ff444a479942d88de64004dc82c3ee32a9e9075a
  • github.com/bcgit/bc-java/wiki/CVE%E2%80%902025%E2%80%908916
  • nvd.nist.gov/vuln/detail/CVE-2025-8916

Code Behaviors & Features

Detect and mitigate CVE-2025-8916 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.44 before 1.79

Fixed versions

  • 1.79

Solution

Upgrade to version 1.79 or above.

Weakness

  • CWE-770: Allocation of Resources Without Limits or Throttling

Source file

maven/org.bouncycastle/bcpkix-jdk15to18/CVE-2025-8916.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 19 Aug 2025 12:18:46 +0000.