CVE-2026-12185

Summary

In Bouncy Castle for Java before 1.85, BKS/UBER keystore allocates from untrusted lengths before integrity check. This issue also affects Bouncy Castle for Java LTS before 2.73.12.

Affected Software

VendorProductVersion RangeStatus
Legion of the Bouncy Castle Inc.BC-JAVA0 < 1.85affected
Legion of the Bouncy Castle Inc.BC-LTS-JAVA2.73.0 < 2.73.12affected

Weaknesses

  • CWE-789: CWE-789 Memory Allocation with Excessive Size Value

References