{"id":"CVE-2025-8916","published":"2025-08-13T09:31:21Z","modified":"2026-05-12T12:02:38Z","title":"Possible DOS in processing large name constraint structures in PKIXCertPathReveiwer","vendor":"Legion of the Bouncy Castle Inc.","product":"BC Java","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00561,"percentile":0.4759,"provenance":"source"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902025%E2%80%908916","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-032379.html","tags":[]}],"priority":{"score":13.9,"factors":[{"name":"EPSS percentile","points":9.52},{"name":"CVSS severity","points":4.41}]},"vendorSlug":"legion-of-the-bouncy-castle","affectedVersions":[{"vendor":"Legion of the Bouncy Castle Inc.","product":"BC Java","versions":[">= 1.44, <= 1.78"]},{"vendor":"Legion of the Bouncy Castle Inc.","product":"BC Java","versions":[">= 1.44, <= 1.78"]},{"vendor":"Legion of the Bouncy Castle Inc.","product":"BCPKIX FIPS","versions":[">= 1.0.0, <= 1.0.7",">= 2.0.0, <= 2.0.7"]}],"workarounds":{"items":["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."],"from":"CVE.org CNA","provenance":"source"},"capec":[{"id":"CAPEC-130","name":"Excessive Allocation"}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-08-13T13:13:37.616496Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.bouncycastle:bcpkix-jdk15on","vulnerableRanges":[">=1.44, <1.79"],"patched":["1.79"],"from":["GHSA-4cx2-fc23-5wg6"],"provenance":"source"},{"ecosystem":"Maven","package":"org.bouncycastle:bcpkix-jdk15to18","vulnerableRanges":[">=1.44, <1.79"],"patched":["1.79"],"from":["GHSA-4cx2-fc23-5wg6"],"provenance":"source"},{"ecosystem":"Maven","package":"org.bouncycastle:bcpkix-jdk18on","vulnerableRanges":[">=1.44, <1.79"],"patched":["1.79"],"from":["GHSA-4cx2-fc23-5wg6"],"provenance":"source"},{"ecosystem":"Maven","package":"org.bouncycastle:bcpkix-fips","vulnerableRanges":[">=1.0.0, <1.0.8",">=2.0.0, <2.0.8"],"patched":["1.0.8","2.0.8"],"from":["GHSA-4cx2-fc23-5wg6"],"provenance":"source"}],"summary":{"text":"The flaw is an excessive resource allocation issue in the PKIXCertPathReviewer component of the Bouncy Castle BC Java bcpkix and bcprov modules, and the BCPKIX FIPS bcpkix-fips module, when it processes large name constraint structures. An unauthenticated remote attacker who can supply a crafted certificate path over the network, with no user interaction required, can trigger excessive memory allocation and cause a denial of service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:49:37Z"},"euvd":{"id":"EUVD-2025-24555","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-33202","published":"2023-11-23","fixed":"1.73","kev":false,"link":{"from":"CVE-2023-33202","to":"CVE-2025-8916","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.bouncycastle:bcpkix-jdk18on","fromFixed":"1.73","toFixed":"1.79","daysApart":629}]}},{"cve":"CVE-2025-8916","published":"2025-08-13","fixed":"1.79","kev":false},{"cve":"CVE-2026-5588","published":"2026-04-15","fixed":"1.84","kev":false,"link":{"from":"CVE-2025-8916","to":"CVE-2026-5588","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.bouncycastle:bcpkix-jdk18on","fromFixed":"1.79","toFixed":"1.84","daysApart":245},{"kind":"version-step","provenance":"source","package":"Maven:org.bouncycastle:bcpkix-jdk15to18","fromFixed":"1.79","toFixed":"1.84","daysApart":245}]}}],"package":"Maven:org.bouncycastle:bcpkix-jdk18on"}}