Description
In Bouncy Castle for Java before 1.85, PKCS#8 / PBES2 decryptors honour unbounded KDF cost from input. This issue also affects Bouncy Castle for Java LTS before 2.73.12, and Bouncy Castle for Java FIPS (BC-FJA) before bcpkix-fips 1.0.12 (1.0.X series), 2.0.12 (2.0.X series) and 2.1.12 (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

In Bouncy Castle for Java before version 1.85, the PKCS#8 and PBES2 decryptors honor a key‑derivation‑function (KDF) cost parameter supplied by the input data, and this cost value can be unbounded. The vulnerability matches CWE‑770, Uncontrolled Resource Consumption. An attacker can embed an excessively large cost in a key file, causing the library to perform a proportionally higher number of computational iterations during decryption. The resulting CPU exhaustion can make the application or service that uses the decryptor unresponsive or crash, producing a denial‑of‑service for users of the affected libraries.

Affected Systems

The flaw affects Bouncy Castle for Java (BC-JAVA) prior to release 1.85, Bouncy Castle for Java LTS (BC-LTS-JAVA) before version 2.73.12, and Bouncy Castle for Java FIPS (BC‑FJA) prior to bcpkix‑fips 1.0.12, 2.0.12, or 2.1.12. Applications that rely on these libraries to process PKCS#8 or PBES2 key files are susceptible.

Risk and Exploitability

The CVSS score of 5.3 indicates moderate severity, and the EPSS score is not available, suggesting no documented widespread exploits. The vulnerability is not listed in CISA KEV. The likely attack vector involves an attacker supplying a crafted key file containing an aggressively high KDF cost to the decryptor, forcing the library to carry out many iterations of the KDF. Because the cost can be unbounded, an application that does not enforce a maximum value can become overwhelmed, resulting in CPU exhaustion or an abrupt denial of service. No publicly documented exploits currently exist.

Generated by OpenCVE AI on August 4, 2026 at 10:58 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Bouncy Castle for Java to version 1.85 or newer.
  • Upgrade Bouncy Castle for Java LTS to version 2.73.12 or newer.
  • Upgrade Bouncy Castle for Java FIPS (BC‑FJA) to bcpkix‑fips 1.0.12, 2.0.12, or 2.1.12 or newer.
  • If upgrading is not immediately possible, validate and limit the KDF cost parameter before passing it to the decryptor or reject key files with excessively high cost values.
  • Monitor system resources for CPU spikes that may indicate abuse of the decryption process and apply rate limiting or quotas as appropriate.

Generated by OpenCVE AI on August 4, 2026 at 10:58 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 14: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 01:15:00 +0000

Type Values Removed Values Added
Description In Bouncy Castle for Java before 1.85, PKCS#8 / PBES2 decryptors honour unbounded KDF cost from input. This issue also affects Bouncy Castle for Java LTS before 2.73.12, and Bouncy Castle for Java FIPS (BC-FJA) before bcpkix-fips 1.0.12 (1.0.X series), 2.0.12 (2.0.X series) and 2.1.12 (2.1.X series).
Title PKCS#8 / PBES2 decryptors honour unbounded KDF cost from input
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-03T13:28:42.844Z

Reserved: 2026-07-08T13:37:50.343Z

Link: CVE-2026-15055

cve-icon Vulnrichment

Updated: 2026-08-03T13:28:37.943Z

cve-icon NVD

Status : Undergoing Analysis

Published: 2026-08-03T01:16:43.157

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

Link: CVE-2026-15055

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T11:00:07Z

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling