CVE-2026-58063 PUBLISHED

BCFKS keystore load honours unbounded KDF cost from untrusted file

Assigner: bcorg
Reserved: 28.06.2026 Published: 03.08.2026 Updated: 03.08.2026

In Bouncy Castle for Java before 1.85, BCFKS keystore load honours unbounded KDF cost from untrusted file. 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).

Metrics

CVSS 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
CVSS Score: 5.3

Product Status

Vendor Legion of the Bouncy Castle Inc.
Product BC-JAVA
Versions Default: unaffected
  • affected from 0 to 1.85 (excl.)
Vendor Legion of the Bouncy Castle Inc.
Product BC-LTS-JAVA
Versions Default: unaffected
  • affected from 2.73.0 to 2.73.12 (excl.)
Vendor Legion of the Bouncy Castle Inc.
Product BC-FJA
Versions Default: unaffected
  • affected from 1.0.0 to 1.0.2.7 (excl.)
  • affected from 2.0.0 to 2.0.2 (excl.)
  • affected from 2.1.0 to 2.1.3 (excl.)

Credits

  • Alex Gaynor in collaboration with Claude and Anthropic Research reporter

References

Problem Types

  • CWE-770 Allocation of Resources Without Limits or Throttling CWE