GitHub Advisoryadvisory · Maven

GHSA-4cx2-fc23-5wg6 Bouncy Castle for Java bcpkix, bcprov, bcpkix-fips on All (API modules) allows Excessive Allocation

MEDIUM Published 2025-08-13 Modified 2026-05-13 Official page ↗
Aliases
CVE-2025-8916
Ecosystem
Maven
Packages
org.bouncycastle:bcpkix-jdk15on, org.bouncycastle:bcpkix-jdk15to18, org.bouncycastle:bcpkix-jdk18on, org.bouncycastle:bcpkix-fips
Severity
Moderate
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
Weaknesses
CWE-770
Reviewed
2025-08-13

Affected packages

• Maven org.bouncycastle:bcpkix-jdk15on: >= 1.44, < 1.79 → fixed in 1.79 • Maven org.bouncycastle:bcpkix-jdk15to18: >= 1.44, < 1.79 → fixed in 1.79 • Maven org.bouncycastle:bcpkix-jdk18on: >= 1.44, < 1.79 → fixed in 1.79 • Maven org.bouncycastle:bcpkix-fips: >= 1.0.0, < 1.0.8 → fixed in 1.0.8 • Maven org.bouncycastle:bcpkix-fips: >= 2.0.0, < 2.0.8 → fixed in 2.0.8

Description

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.

Related

Alias · CVE (1)

  • CVE-2025-8916 Allocation of Resources Without Limits or Throttling vulnerability in Legion of the Bouncy Castle Inc. vulnerability

Weakness · CWE (1)

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

References