Vulnerability · Published Aug 13, 2025 · Assigned by bcorg

CVE-2025-8916Possible DOS in processing large name constraint structures in PKIXCertPathReveiwer

Medium 6.3

In plain English

A medium-severity resource allocation without limits in BC Java from Legion of the Bouncy Castle Inc.. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 43% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)6.3Medium
Exploit odds (30 days)0.5%top 57.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12bouncycastleno fix listedDEBIAN-CVE-2025-8916
Debian:13bouncycastle1.80-1DEBIAN-CVE-2025-8916
Debian:14bouncycastle1.80-1DEBIAN-CVE-2025-8916
Mavenorg.bouncycastle:bcpkix-fips1.0.8GHSA-4cx2-fc23-5wg6
Mavenorg.bouncycastle:bcpkix-fips2.0.8GHSA-4cx2-fc23-5wg6
Mavenorg.bouncycastle:bcpkix-jdk15on1.79GHSA-4cx2-fc23-5wg6
Mavenorg.bouncycastle:bcpkix-jdk15to181.79GHSA-4cx2-fc23-5wg6
Mavenorg.bouncycastle:bcpkix-jdk18on1.79GHSA-4cx2-fc23-5wg6
Ubuntu:22.04:LTSbouncycastleno fix listedUBUNTU-CVE-2025-8916

Affected products (as reported)

VendorProductVersions
Legion of the Bouncy Castle Inc. BC Java 1.44 – through 1.78
Legion of the Bouncy Castle Inc. BC Java 1.44 – through 1.78
Legion of the Bouncy Castle Inc. BCPKIX FIPS 1.0.0 – through 1.0.72.0.0 – through 2.0.7

Weakness: CWE-770 · 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

References