CVE-2026-58063: CWE-770 Allocation of Resources Without Limits or Throttling in Legion of the Bouncy Castle Inc. BC-JAVA
A resource allocation vulnerability exists in Bouncy Castle for Java (BC-JAVA) before version 1.85 and in certain 2.73.x LTS versions. The BCFKS keystore load process honors an unbounded key derivation function (KDF) cost parameter from untrusted files, potentially leading to resource exhaustion. This issue also affects Bouncy Castle for Java FIPS (BC-FJA) in specified older versions. The vulnerability has a medium severity rating with a CVSS score of 5.3.
AI Analysis
Technical Summary
CVE-2026-58063 is a CWE-770 vulnerability in Legion of the Bouncy Castle Inc.'s BC-JAVA library. The BCFKS keystore load functionality accepts an unbounded KDF cost parameter from untrusted input files, which can cause allocation of resources without limits or throttling. This affects BC-JAVA versions prior to 1.85 and LTS versions from 2.73.0 up to but not including 2.73.12. It also impacts BC-FJA versions prior to 1.0.2.7 (1.0.X series), 2.0.2 (2.0.X series), and 2.1.3 (2.1.X series). No official remediation level or patch information is provided in the available data.
Potential Impact
The vulnerability allows an attacker to specify an unbounded KDF cost parameter in a BCFKS keystore file, which can cause excessive resource consumption during keystore loading. This may lead to denial of service conditions due to resource exhaustion. There is no indication of direct code execution or data compromise from the provided information.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid loading untrusted BCFKS keystore files or apply any vendor-recommended workarounds once published. Monitor vendor channels for updates regarding patches or mitigations.
CVE-2026-58063: CWE-770 Allocation of Resources Without Limits or Throttling in Legion of the Bouncy Castle Inc. BC-JAVA
Description
A resource allocation vulnerability exists in Bouncy Castle for Java (BC-JAVA) before version 1.85 and in certain 2.73.x LTS versions. The BCFKS keystore load process honors an unbounded key derivation function (KDF) cost parameter from untrusted files, potentially leading to resource exhaustion. This issue also affects Bouncy Castle for Java FIPS (BC-FJA) in specified older versions. The vulnerability has a medium severity rating with a CVSS score of 5.3.
CVSS v4.0
Score 5.3medium
Affected software
pkg:github/bcprov-lts8onRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-58063 is a CWE-770 vulnerability in Legion of the Bouncy Castle Inc.'s BC-JAVA library. The BCFKS keystore load functionality accepts an unbounded KDF cost parameter from untrusted input files, which can cause allocation of resources without limits or throttling. This affects BC-JAVA versions prior to 1.85 and LTS versions from 2.73.0 up to but not including 2.73.12. It also impacts BC-FJA versions prior to 1.0.2.7 (1.0.X series), 2.0.2 (2.0.X series), and 2.1.3 (2.1.X series). No official remediation level or patch information is provided in the available data.
Potential Impact
The vulnerability allows an attacker to specify an unbounded KDF cost parameter in a BCFKS keystore file, which can cause excessive resource consumption during keystore loading. This may lead to denial of service conditions due to resource exhaustion. There is no indication of direct code execution or data compromise from the provided information.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid loading untrusted BCFKS keystore files or apply any vendor-recommended workarounds once published. Monitor vendor channels for updates regarding patches or mitigations.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- bcorg
- Date Reserved
- 2026-06-28T01:21:46.335Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a700186bf32cb7a34d5cb1a
Added to database: 08/03/2026, 02:48:38 UTC
Last enriched: 08/03/2026, 03:06:41 UTC
Last updated: 08/03/2026, 03:06:41 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.