{"id":"CVE-2026-12185","published":"2026-08-03T00:38:01Z","modified":"2026-08-04T01:54:27Z","title":"BKS/UBER keystore allocates from untrusted lengths before integrity check","vendor":"Legion of the Bouncy Castle Inc.","product":"BC-JAVA","tier":"tail","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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"4.0","vector":"CVSS: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:Amber","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00389,"percentile":0.2471,"provenance":"source"},"cwes":[{"id":"CWE-789","name":"Memory Allocation with Excessive Size Value"}],"references":[{"url":"https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%9012185","tags":["vendor-advisory"]},{"url":"https://github.com/bcgit/bc-java/commit/7bbd7fe5f44132e5b6140a2914435c12430eeb3d","tags":["patch"]}],"priority":{"score":9.9,"factors":[{"name":"EPSS percentile","points":4.94},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"legion-of-the-bouncy-castle","affectedVersions":[{"vendor":"Legion of the Bouncy Castle Inc.","product":"BC-JAVA","versions":["< 1.85"]},{"vendor":"Legion of the Bouncy Castle Inc.","product":"BC-LTS-JAVA","versions":[">= 2.73.0, < 2.73.12"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-03T13:29:56.930597Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-52021","exploited":false,"provenance":"source"}}