CVE-2025-8916Possible DOS in processing large name constraint structures in PKIXCertPathReveiwer
- 6.3MediumCVSS base score
- 0.52%Exploitation in 30 daysEPSS · top 55% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
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.
Timeline
ID reserved
By bcorg
Published
- 9 months later
· 9 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| bcorgCNA (assigner) | 4.0 | Medium6.3 | 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 |
| NVDNVD · Deferred | 4.0 | Medium6.3 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:P/AU:X/R:U/V:X/RE:M/U:Amber |
- EPSS (exploitation in 30 days)
- 0.52% · top 55% of all CVEs (12 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.3.
Affected products
Legion of the Bouncy Castle Inc. · BC Java
- affected 1.44 – ≤ 1.78
Legion of the Bouncy Castle Inc. · BC Java
- affected 1.44 – ≤ 1.78
Legion of the Bouncy Castle Inc. · BCPKIX FIPS
- affected 1.0.0 – ≤ 1.0.7
- affected 2.0.0 – ≤ 2.0.7
Affected packages
Affected packages4
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.bouncycastle:bcpkix-fipsGHSA-4cx2-fc23-5wg6 (opens in a new tab)
- Mavenorg.bouncycastle:bcpkix-jdk15onGHSA-4cx2-fc23-5wg6 (opens in a new tab)
- Mavenorg.bouncycastle:bcpkix-jdk15to18GHSA-4cx2-fc23-5wg6 (opens in a new tab)
- Mavenorg.bouncycastle:bcpkix-jdk18onGHSA-4cx2-fc23-5wg6 (opens in a new tab)
What to do
Workaround: Limiting the size of ASN.1 objects that can be loaded from "the wild" will mitigate the risk of an exploit by automatically putting a cap on the maximum size of a Name Constraints structure.
References
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-24555 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-4cx2-fc23-5wg6 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-8916)Record last updated .