CVE-2026-12185

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:bouncycastle:bc-java:*:*:*:*:*:*:*:*
cpe:2.3:a:bouncycastle:bouncy_castle_for_java_lts:*:*:*:*:*:*:*:*

History

28 Aug 2026, 14:42

Type Values Removed Values Added
References () https://github.com/bcgit/bc-java/commit/7bbd7fe5f44132e5b6140a2914435c12430eeb3d - () https://github.com/bcgit/bc-java/commit/7bbd7fe5f44132e5b6140a2914435c12430eeb3d - Patch
References () https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%9012185 - () https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%9012185 - Third Party Advisory
First Time Bouncycastle bouncy Castle For Java Lts
Bouncycastle
Bouncycastle bc-java
CPE cpe:2.3:a:bouncycastle:bouncy_castle_for_java_lts:*:*:*:*:*:*:*:*
cpe:2.3:a:bouncycastle:bc-java:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 8.6

03 Aug 2026, 09:17

Type Values Removed Values Added
References
  • {'url': 'https://github.com/bcgit/bc-java/wiki/CVE-2026-12185', 'source': '91579145-5d7b-4cc5-b925-a0262ff19630'}
  • () https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%9012185 -

03 Aug 2026, 01:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-08-03 01:16

Updated : 2026-08-28 14:42


NVD link : CVE-2026-12185

Mitre link : CVE-2026-12185

CVE.ORG link : CVE-2026-12185


JSON object : View

Products Affected

bouncycastle

  • bc-java
  • bouncy_castle_for_java_lts
CWE
CWE-789

Memory Allocation with Excessive Size Value