# CVE-2026-12185: BKS/UBER keystore allocates from untrusted lengths before integrity check

- Priority: **Routine**
- Reason: Not severe (CVSS 7.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-08-03 · Modified: 2026-08-04
- Aliases: UBUNTU-CVE-2026-12185, DEBIAN-CVE-2026-12185, CGA-567v-mf6r-mj33, CGA-jwxr-pfxg-3mgw
- Record: https://cvemate.com/vulnerability/CVE-2026-12185 · JSON: https://cvemate.com/vulnerability/CVE-2026-12185/json

## Description

```text
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.
```

## Signals

- CVSS: 8.6 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
- EPSS: 0.291%, percentile 23.255%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard pinot (Chainguard): All versions (No fix recorded)
- bouncycastle bc-java: \< 1.85
- bouncycastle bouncy\_castle\_for\_java\_lts: ≤ 2.73.11
- debian bouncycastle (Debian): All versions (No fix recorded) \| \< 1.86-1
- ubuntu bouncycastle (Ubuntu): All versions (No fix recorded)
- legion of the bouncy castle inc. bc-java: \< 1.85
- legion of the bouncy castle inc. bc-lts-java: ≥ 2.73.0, \< 2.73.12

## References

- <https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%9012185>
- <https://github.com/bcgit/bc-java/commit/7bbd7fe5f44132e5b6140a2914435c12430eeb3d>
- <https://ubuntu.com/security/CVE-2026-12185>
- <https://www.cve.org/CVERecord?id=CVE-2026-12185>
- <https://security-tracker.debian.org/tracker/CVE-2026-12185>
- <https://www.bouncycastle.org/download/bouncy-castle-java-lts/>
- <https://www.bouncycastle.org/download/bouncy-castle-java/>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/12xxx/CVE-2026-12185.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-12185>
- <https://github.com/bcgit/bc-java>
- <https://github.com/bcgit/bc-lts-java>

---

Data as of 2026-12-05T10:34:32.327Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
