{"id":"CVE-2025-8916","aliases":["CVE-2025-8916","GHSA-4cx2-fc23-5wg6"],"related":[],"kind":"vulnerability","state":"published","title":"Possible DOS in processing large name constraint structures in PKIXCertPathReveiwer","summary":"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.\n\nThis 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.\n\nThis 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.","source":"cvelist"},{"lang":"en","text":"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 .\n\nThis 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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Vulnerabilidad de asignación de recursos sin límites o limitación en Legion of the Bouncy Castle Inc. Bouncy Castle para Java bcpkix, bcprov, bcpkix-fips en todos (módulos API) permite una asignación excesiva. Esta vulnerabilidad está asociada con los archivos de programa 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 . Este problema afecta a Bouncy Castle para Java: desde BC 1.44 hasta 1.78, desde BCPKIX FIPS 1.0.0 hasta 1.0.7, desde BCPKIX FIPS 2.0.0 hasta 2.0.7.","source":"nvd"}],"published":"2025-08-13T09:31:21.181Z","modified":"2026-09-10T03:50:26.717Z","severity":{"scorer":"bcorg","scheme":"CVSS:4.0","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","score":6.3,"rating":"MEDIUM"},"severities":[{"scorer":"bcorg","scheme":"CVSS:4.0","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","score":6.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","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","rating":"MEDIUM"}],"cwes":["CWE-770"],"affected":[{"ranges":[{"type":"maven","introduced":"1.44","lastAffected":"1.78","status":"affected"}],"vendor":"Legion of the Bouncy Castle Inc.","product":"BC Java","package":"bcpkix","repo":"https://github.com/bcgit/bc-java","platforms":["All"],"source":"cvelist"},{"ranges":[{"type":"maven","introduced":"1.44","lastAffected":"1.78","status":"affected"}],"vendor":"Legion of the Bouncy Castle Inc.","product":"BC Java","package":"bcprov","repo":"https://github.com/bcgit/bc-java","platforms":["All"],"source":"cvelist"},{"ranges":[{"type":"maven","introduced":"1.0.0","lastAffected":"1.0.7","status":"affected"},{"type":"maven","introduced":"2.0.0","lastAffected":"2.0.7","status":"affected"}],"vendor":"Legion of the Bouncy Castle Inc.","product":"BCPKIX FIPS","package":"bcpkix-fips","platforms":["All"],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"1.44","status":"affected","fixed":"1.79"}],"ecosystem":"Maven","package":"org.bouncycastle:bcpkix-jdk15on","purl":"pkg:maven/org.bouncycastle/bcpkix-jdk15on","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"1.44","status":"affected","fixed":"1.79"}],"ecosystem":"Maven","package":"org.bouncycastle:bcpkix-jdk15to18","purl":"pkg:maven/org.bouncycastle/bcpkix-jdk15to18","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"1.44","status":"affected","fixed":"1.79"}],"ecosystem":"Maven","package":"org.bouncycastle:bcpkix-jdk18on","purl":"pkg:maven/org.bouncycastle/bcpkix-jdk18on","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"1.0.0","status":"affected","fixed":"1.0.8"}],"ecosystem":"Maven","package":"org.bouncycastle:bcpkix-fips","purl":"pkg:maven/org.bouncycastle/bcpkix-fips","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"2.0.0","status":"affected","fixed":"2.0.8"}],"ecosystem":"Maven","package":"org.bouncycastle:bcpkix-fips","purl":"pkg:maven/org.bouncycastle/bcpkix-fips","source":"ghsa"}],"references":[{"url":"https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902025%E2%80%908916","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-032379.html","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-8916","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/bcgit/bc-java/commit/310b30a4fbf36d13f6cc201ffa7771715641e67e","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/bcgit/bc-java/commit/ff444a479942d88de64004dc82c3ee32a9e9075a","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/bcgit/bc-java","tags":["package"],"sources":["ghsa"]}],"credits":["Bing Shi"],"assigner":"bcorg","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2025-08-13T13:13:37.616Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-8916","url":"https://www.cve.org/CVERecord?id=CVE-2025-8916","licence":"CVE Terms of Use","modified":"2026-05-12T12:02:38.443Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-4cx2-fc23-5wg6","url":"https://github.com/advisories/GHSA-4cx2-fc23-5wg6","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:26.717Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-8916","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-8916","licence":"Public domain","modified":"2026-06-17T10:07:54.663Z"}],"updatedAt":"2026-11-25T22:59:02.422Z","epss":{"score":0.00561,"percentile":0.48059,"date":"2026-12-01T12:00:22.000Z"}}