In Bouncy Castle for Java before 1.85, BCFKS keystore load honours unbounded KDF cost from untrusted file. (CVE-2026-58063)
Bouncy Castle for Java versions prior to 1.85 and certain LTS and FIPS versions improperly honor an unbounded key derivation function (KDF) cost parameter from untrusted BCFKS keystore files during load. This vulnerability could lead to resource exhaustion or denial of service due to excessive computational cost. The issue affects Bouncy Castle for Java, including LTS versions before 2.73.12 and FIPS versions before bc-fips 1.0.2.7 (1.0.X), 2.0.2 (2.0.X), and 2.1.3 (2.1.X). No known exploits are reported in the wild. The severity is assessed as medium based on available data.
AI Analysis
Technical Summary
The vulnerability (CVE-2026-58063) in Bouncy Castle for Java involves the BCFKS keystore load process honoring an unbounded KDF cost parameter sourced from an untrusted file. This allows an attacker to specify an arbitrarily high computational cost for the key derivation function, potentially causing excessive resource consumption during keystore loading. Affected versions include Bouncy Castle for Java before 1.85, LTS versions before 2.73.12, and FIPS versions before bc-fips 1.0.2.7 (1.0.X), 2.0.2 (2.0.X), and 2.1.3 (2.1.X). The vulnerability is categorized under CWE-770 (Allocation of Resources Without Limits or Throttling). No patch links or vendor advisories were provided, and no exploits are known in the wild.
Potential Impact
An attacker can craft a malicious BCFKS keystore file that specifies an unbounded KDF cost, causing the application loading the keystore to consume excessive CPU and memory resources. This can lead to denial of service by exhausting system resources during keystore load operations. There is no indication of direct compromise of confidentiality, integrity, or availability beyond resource exhaustion.
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 implement resource usage limits around keystore loading operations to mitigate potential denial of service. Monitor vendor channels for updates and apply patches when released.
In Bouncy Castle for Java before 1.85, BCFKS keystore load honours unbounded KDF cost from untrusted file. (CVE-2026-58063)
Description
Bouncy Castle for Java versions prior to 1.85 and certain LTS and FIPS versions improperly honor an unbounded key derivation function (KDF) cost parameter from untrusted BCFKS keystore files during load. This vulnerability could lead to resource exhaustion or denial of service due to excessive computational cost. The issue affects Bouncy Castle for Java, including LTS versions before 2.73.12 and FIPS versions before bc-fips 1.0.2.7 (1.0.X), 2.0.2 (2.0.X), and 2.1.3 (2.1.X). No known exploits are reported in the wild. The severity is assessed as medium based on available data.
CVSS v4.0
Affected software
pkg:maven/org.bouncycastle/bcprov-jdk15onRun 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
The vulnerability (CVE-2026-58063) in Bouncy Castle for Java involves the BCFKS keystore load process honoring an unbounded KDF cost parameter sourced from an untrusted file. This allows an attacker to specify an arbitrarily high computational cost for the key derivation function, potentially causing excessive resource consumption during keystore loading. Affected versions include Bouncy Castle for Java before 1.85, LTS versions before 2.73.12, and FIPS versions before bc-fips 1.0.2.7 (1.0.X), 2.0.2 (2.0.X), and 2.1.3 (2.1.X). The vulnerability is categorized under CWE-770 (Allocation of Resources Without Limits or Throttling). No patch links or vendor advisories were provided, and no exploits are known in the wild.
Potential Impact
An attacker can craft a malicious BCFKS keystore file that specifies an unbounded KDF cost, causing the application loading the keystore to consume excessive CPU and memory resources. This can lead to denial of service by exhausting system resources during keystore load operations. There is no indication of direct compromise of confidentiality, integrity, or availability beyond resource exhaustion.
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 implement resource usage limits around keystore loading operations to mitigate potential denial of service. Monitor vendor channels for updates and apply patches when released.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-jmxg-924w-f7mv
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-58063"]
- Ecosystems
- []
- Database Specific Severity
- MODERATE
- Cvss Version
- 4.0
Threat ID: 6a710680bf32cb7a34396f46
Added to database: 08/03/2026, 21:22:08 UTC
Last enriched: 08/03/2026, 21:40:16 UTC
Last updated: 08/04/2026, 03:17:46 UTC
Views: 6
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.