cve.bz

CVE-2025-8916 legion of the bouncy castle inc.

6.3 mediumEPSS 0.6%Fix available

Medium (6.3) in legion of the bouncy castle inc.. EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in org.bouncycastle:bcpkix-jdk15on 1.79.

On this page
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.

Severity

CVSS 4.0

6.3 medium
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
EPSS
0.6% (unchanged from 0.6% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 48th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2025-08-13. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-770 Allocation of Resources Without Limits or Throttling
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • org.bouncycastle:bcpkix-jdk15on (Maven): fixed in 1.79
  • org.bouncycastle:bcpkix-jdk15to18 (Maven): fixed in 1.79
  • org.bouncycastle:bcpkix-jdk18on (Maven): fixed in 1.79
  • org.bouncycastle:bcpkix-fips (Maven): fixed in 1.0.8, 2.0.8
  • Debian, Ubuntu: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2025-8916 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-8916?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-8916?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-8916 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Legion of the Bouncy Castle Inc. BC Javafrom 1.44 through 1.78
Legion of the Bouncy Castle Inc. BCPKIX FIPSfrom 1.0.0 through 1.0.7
Legion of the Bouncy Castle Inc. BCPKIX FIPSfrom 2.0.0 through 2.0.7

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-4cx2-fc23-5wg6Mavenorg.bouncycastle:bcpkix-jdk15on>=1.44 <1.791.79
GHSA-4cx2-fc23-5wg6Mavenorg.bouncycastle:bcpkix-jdk15to18>=1.44 <1.791.79
GHSA-4cx2-fc23-5wg6Mavenorg.bouncycastle:bcpkix-jdk18on>=1.44 <1.791.79
GHSA-4cx2-fc23-5wg6Mavenorg.bouncycastle:bcpkix-fips>=1.0.0 <1.0.81.0.8
GHSA-4cx2-fc23-5wg6Mavenorg.bouncycastle:bcpkix-fips>=2.0.0 <2.0.82.0.8

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12bouncycastleno fix listedDEBIAN-CVE-2025-8916
Debian13, 14bouncycastle1.80-1DEBIAN-CVE-2025-8916
Ubuntu22.04:LTS, Pro:16.04:LTS, Pro:18.04:LTS and 1 morebouncycastleno fix listedUBUNTU-CVE-2025-8916
UbuntuPro:24.04:LTSbouncycastle1.77-1ubuntu0.1~esm1UBUNTU-CVE-2025-8916

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Cryostat 4bcpkix-jdk18onFix deferred
Cryostat 4bcprov-jdk18onFix deferred
Cryostat 4bcutil-jdk18onFix deferred
Logging Subsystem for Red Hat OpenShiftbcmail-jdk15onFix deferred
Logging Subsystem for Red Hat OpenShiftbcpg-jdk15onFix deferred
Logging Subsystem for Red Hat OpenShiftbcpkix-jdk15onFix deferred
Logging Subsystem for Red Hat OpenShiftbcprov-jdk15onFix deferred
Red Hat AMQ Broker 7bcpkix-jdk15onFix deferred
Red Hat AMQ Broker 7bcpkix-jdk18onFix deferred
Red Hat AMQ Broker 7bcprov-jdk15onFix deferred
Red Hat AMQ Broker 7bcprov-jdk18onFix deferred
Red Hat AMQ Broker 7bcutil-jdk15onFix deferred
Red Hat AMQ Broker 7bcutil-jdk18onFix deferred
Red Hat AMQ Clientsbcpg-jdk18onFix deferred
Red Hat AMQ Clientsbcpkix-jdk15onFix deferred
Red Hat AMQ Clientsbcpkix-jdk18onFix deferred
Red Hat AMQ Clientsbcprov-jdk15onFix deferred
Red Hat AMQ Clientsbcprov-jdk18onFix deferred
Red Hat AMQ Clientsbctls-jdk15onFix deferred
Red Hat AMQ Clientsbcutil-jdk15onFix deferred
158 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-8916.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-26-134-10Siemens SIMATIC2026-05-12Critical ManufacturingSIMATIC CN 4100none listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-770 (20).

References

Check your stackJSON