CVE-2026-15055

PKCS#8 / PBES2 decryptors honour unbounded KDF cost from input

Published Aug 3, 2026 CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
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).

Analysis

AI-generated

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

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
First Time appeared Bouncycastle
Bouncycastle bc-java
Bouncycastle bcpkix-fips
Bouncycastle bouncy Castle For Java Lts
CPEs cpe:2.3:a:bouncycastle:bc-java:*:*:*:*:*:*:*:*
cpe:2.3:a:bouncycastle:bcpkix-fips:*:*:*:*:*:*:*:*
cpe:2.3:a:bouncycastle:bouncy_castle_for_java_lts:*:*:*:*:*:*:*:*
Vendors & Products Bouncycastle
Bouncycastle bc-java
Bouncycastle bcpkix-fips
Bouncycastle bouncy Castle For Java Lts
Metrics cvssV3_1

{'score': 8.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H'}

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
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling

Sources

Status
PUBLISHED
Assigner
bcorg
Published
Updated
Aug 3, 2026, 1:28 PM
Reserved
Jul 8, 2026, 1:37 PM
Status
Analyzed
Published
Aug 3, 2026, 1:16 AM
Modified
Aug 28, 2026, 3:04 PM