CVE-2025-8916
Bouncy Castle for Java bcpkix, bcprov, bcpkix-fips on All (API modules) allows Excessive Allocation
Auswirkung
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.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Dafür müssen bestimmte Bedingungen erfüllt sein, was einen Angriff erschwert. Bei Erfolg: geringes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| maven | org.bouncycastle:bcpkix-fips | >= 1.0.0, <= 1.0.7 | 1.0.8 |
| maven | org.bouncycastle:bcpkix-jdk15on | >= 1.44, < 1.79 | 1.79 |
| maven | org.bouncycastle:bcpkix-jdk15to18 | >= 1.44, < 1.79 | 1.79 |
| maven | org.bouncycastle:bcpkix-jdk18on | >= 1.44, < 1.79 | 1.79 |
Betroffene Produkte
| Produkt | Betroffene Versionen |
|---|---|
| BC Java: from 1.44 | bis einschließlich 1.78 |
Die Versionen stammen aus dem Text des Advisorys. Strukturierte Produktdaten wurden für diesen Eintrag noch nicht veröffentlicht.
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902025%E2%80%908916
- https://cert-portal.siemens.com/productcert/html/ssa-032379.html
- https://github.com/advisories/GHSA-4cx2-fc23-5wg6
- https://nvd.nist.gov/vuln/detail/CVE-2025-8916
- https://github.com/bcgit/bc-java/commit/310b30a4fbf36d13f6cc201ffa7771715641e67e
- https://github.com/bcgit/bc-java/commit/ff444a479942d88de64004dc82c3ee32a9e9075a