CVE-2026-12185

published 3 Aug 2026 · updated 4 Aug 2026

BKS/UBER keystore allocates from untrusted lengths before integrity check

7.1HighCVSS 7.1EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 1.85 and 2.73.12.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Legion of the Bouncy Castle<1.85, >=2.73.0 <2.73.121.85, 2.73.12

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-12185 severity on Zeptric[![CVE-2026-12185](https://zeptric.io/badge/cve/CVE-2026-12185.svg)](https://zeptric.io/cve/CVE-2026-12185)