CVE-2025-8916
Possible DOS in processing large name constraint structures in PKIXCertPathReveiwer
Reported by bcorg · Published August 13, 2025
bcpkix-fips is fixed in 2.0.8 and 1.0.8 (Maven Central)
Allocation of Resources Without Limits or Throttling vulnerability in Legion of the Bouncy Castle Inc. BC Java bcpkix on All (API modules), Legion of the Bouncy Castle Inc. BC Java bcprov on All (API modules), Legion of the Bouncy Castle Inc. BCPKIX FIPS 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/PKIXCertPathReviewer.Java, https://github.Com/bcgit/bc-java/blob/main/prov/src/main/java/org/bouncycastle/x509/PKIXCertPathReviewer.Java. This issue affects BC Java: from 1.44 through 1.78; BC Java: from 1.44 through 1.78; BCPKIX FIPS: from 1.0.0 through 1.0.7, from 2.0.0 through 2.0.7.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.bouncycastle:bcpkix-fips | Maven Central | 2.0.8, 1.0.8 |
| org.bouncycastle:bcpkix-jdk18on | Maven Central | 1.79 |
| org.bouncycastle:bcpkix-jdk15to18 | Maven Central | 1.79.0 |
| bcpkix-fips | Maven Central | 2.0.7, 1.0.7 |
| logstash-8.19 | Chainguard | 8.19.19-r0 |
| zipkin | Wolfi | 3.5.1-r7 |
| elasticsearch-fips-8.17 | Chainguard | 8.17.10-r1 |
| pinot-fips | Chainguard | 1.5.0-r0 |
| druid | Wolfi | 34.0.0-r6 |
| opensearch-2 | Wolfi | 2.19.4-r0 |
| keycloak-operator | Chainguard | 26.3.2-r2 |
| elasticsearch-7 | Chainguard | 7.17.29-r5 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Legion of the Bouncy Castle Inc. | BC Java | 1.44 |
| Legion of the Bouncy Castle Inc. | BC Java | 1.44 |
| Legion of the Bouncy Castle Inc. | BCPKIX FIPS | 1.0.0, 2.0.0 |
| Maven | org.bouncycastle:bcpkix-fips | 2.0.0, 1.0.0 |
| chainguard | logstash-8.19 | 0 |
| wolfi | zipkin | 0 |
| chainguard | elasticsearch-fips-8.17 | 0 |
| chainguard | pinot-fips | 0 |
| wolfi | druid | 0 |
| Legion of the Bouncy Castle Inc. | Bouncy Castle for Java (bcpkix, bcprov, bcpkix-fips) | |
| wolfi | opensearch-2 | 0 |
| chainguard | keycloak-operator | 0 |
| chainguard | elasticsearch-7 | 0 |
| Maven | org.bouncycastle:bcpkix-jdk15to18 | 1.44.0 |
| Legion of the Bouncy Castle Inc. | BCPKIX FIPS | 1.0.0, 2.0.0 |
| Legion of the Bouncy Castle Inc. | BC Java | 1.44 |
| chainguard | camunda-zeebe-8.6 | 0 |
| Maven | org.bouncycastle:bcpkix-jdk18on | 1.44.0 |
| wolfi | keycloak-operator | 0 |
| chainguard | druid | 0 |
…and 23 more
Timeline
- Aug 13, 2025 CVE Published
- Aug 22, 2025 EPSS Score (29 in total, the first dated here)
- Mar 17, 2026 Security Advisory (8 in total, the first dated here)
- Mar 26, 2026 Coalition ESS Score (2 in total, the first dated here)
- Aug 11, 2026 Distribution Patch (2 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-8916
vulnetix vdb fixes CVE-2025-8916
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-8916/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-8916 advisory
- https://github.com/advisories/GHSA-4cx2-fc23-5wg6 advisory
- https://github.com/bcgit/bc-java/commit/310b30a4fbf36d13f6cc201ffa7771715641e67e patch
- https://github.com/bcgit/bc-java/commit/ff444a479942d88de64004dc82c3ee32a9e9075a patch
- https://cert-portal.siemens.com/productcert/html/ssa-032379.html url
- https://github.com/bcgit/bc-java url