Description
In Bouncy Castle for Java before 1.85, PKCS#12 MAC and bag-decryption KDF iteration-count bound (DoS). This issue also affects Bouncy Castle for Java LTS before 2.73.12, and Bouncy Castle for Java FIPS (BC-FJA) before bc-fips 1.0.2.7 (1.0.X series), 2.0.2 (2.0.X series) and 2.1.3 (2.1.X series).
Published: 2026-08-03
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability in Bouncy Castle for Java allows an attacker to trigger excessive resource consumption by exploiting the PKCS#12 MAC and bag‑decryption key‑derivation‑function iteration‑count bound. By supplying a PKCS#12 file with an iteration count set to a very low or otherwise unchecked value, the library will perform an unintended amount of cryptographic work, potentially exhausting CPU or memory and causing the application to become unresponsive. The weakness is classified as CWE‑770, indicating resource exhaustion.

Affected Systems

Affected are the Bouncy Castle products from the Legion of the Bouncy Castle Inc.: BC-JAVA and BC-LTS-JAVA before version 1.85 and 2.73.12 respectively, and the FIPS-enabled BC-FJA before bc‑fips 1.0.2.7 (1.0.X series), 2.0.2 (2.0.X series), and 2.1.3 (2.1.X series). These libraries are used in Java applications that process PKCS#12 keystores and certificates.

Risk and Exploitability

The CVSS score of 5.3 indicates moderate severity, and the exploit probability is unknown because the EPSS score is not available. The vulnerability is not listed in the CISA KEV catalog. Likely attack vectors involve sending crafted PKCS#12 files to any service or application that loads them using Bouncy Castle; this can be performed remotely if the service accepts user‑supplied files. Exploitation would cause denial of service by inducing excessive crypto work, with the impact limited to the affected process and system resources.

Generated by OpenCVE AI on August 3, 2026 at 08:46 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update Bouncy Castle for Java to version 1.85 or newer, BC‑LTS‑JAVA to 2.73.12 or newer, and BC‑FJA to bc‑fips 1.0.2.7 or newer series.
  • Configure the application to validate and enforce a safe minimum and maximum iteration count on any PKCS#12 file before passing it to Bouncy Castle.
  • Deploy monitoring or rate‑limiting for cryptographic operations to detect and mitigate abnormal CPU or memory usage that could indicate exploitation.

Generated by OpenCVE AI on August 3, 2026 at 08:46 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 03 Aug 2026 16:15:00 +0000

Type Values Removed Values Added
First Time appeared Legion Of The Bouncy Castle Inc.
Legion Of The Bouncy Castle Inc. bc-fja
Legion Of The Bouncy Castle Inc. bc-java
Legion Of The Bouncy Castle Inc. bc-lts-java
Vendors & Products Legion Of The Bouncy Castle Inc.
Legion Of The Bouncy Castle Inc. bc-fja
Legion Of The Bouncy Castle Inc. bc-java
Legion Of The Bouncy Castle Inc. bc-lts-java

Mon, 03 Aug 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 03 Aug 2026 06:45:00 +0000


Mon, 03 Aug 2026 04:00:00 +0000

Type Values Removed Values Added
Description In Bouncy Castle for Java before 1.85, PKCS#12 MAC and bag-decryption KDF iteration-count bound (DoS). This issue also affects Bouncy Castle for Java LTS before 2.73.12, and Bouncy Castle for Java FIPS (BC-FJA) before bc-fips 1.0.2.7 (1.0.X series), 2.0.2 (2.0.X series) and 2.1.3 (2.1.X series).
Title PKCS#12 MAC and bag-decryption KDF iteration-count bound (DoS)
Weaknesses CWE-770
References
Metrics cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/U:Amber'}


Subscriptions

Legion Of The Bouncy Castle Inc. Bc-fja Bc-java Bc-lts-java
cve-icon MITRE

Status: PUBLISHED

Assigner: bcorg

Published:

Updated: 2026-08-03T15:03:49.757Z

Reserved: 2026-06-29T04:09:24.833Z

Link: CVE-2026-13586

cve-icon Vulnrichment

Updated: 2026-08-03T15:03:40.669Z

cve-icon NVD

Status : Undergoing Analysis

Published: 2026-08-03T04:16:40.520

Modified: 2026-08-04T14:50:12.360

Link: CVE-2026-13586

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T15:52:00Z

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling