CVE-2026-12185

BKS/UBER keystore allocates from untrusted lengths before integrity check

State
Published
Severity
7.1 High
Published
Aug 3, 2026
Updated
Aug 4, 2026
Reserved
Jun 14, 2026

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
4.07.1 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/U:Amberbcorg

Weaknesses

  • CWE-789 Memory Allocation with Excessive Size Value

Affected Products

ProductVersions
BC-JAVALegion of the Bouncy Castle Inc.
  • before 1.85Affected
BC-LTS-JAVALegion of the Bouncy Castle Inc.
  • 2.73.0 to before 2.73.12Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.