{"id":"CVE-2026-12185","aliases":["CVE-2026-12185"],"related":[],"kind":"vulnerability","state":"published","title":"BKS/UBER keystore allocates from untrusted lengths before integrity check","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-08-03T00:38:01.609Z","modified":"2026-08-28T14:42:59.607Z","severity":{"scorer":"bcorg","scheme":"CVSS: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","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"bcorg","scheme":"CVSS: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","score":7.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H","score":8.6,"rating":"HIGH"}],"cwes":["CWE-789"],"affected":[{"ranges":[{"type":"maven","introduced":"0","fixed":"1.85","status":"affected"}],"vendor":"Legion of the Bouncy Castle Inc.","product":"BC-JAVA","package":"bcprov","repo":"https://github.com/bcgit/bc-java","platforms":["all"],"source":"cvelist"},{"ranges":[{"type":"maven","introduced":"2.73.0","fixed":"2.73.12","status":"affected"}],"vendor":"Legion of the Bouncy Castle Inc.","product":"BC-LTS-JAVA","package":"bcprov-lts8on","repo":"https://github.com/bcgit/bc-lts-java","platforms":["all"],"source":"cvelist"},{"ranges":[{"status":"affected","fixed":"1.85"}],"vendor":"bouncycastle","product":"bc-java","cpe":"cpe:2.3:a:bouncycastle:bc-java:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","lastAffected":"2.73.11"}],"vendor":"bouncycastle","product":"bouncy_castle_for_java_lts","cpe":"cpe:2.3:a:bouncycastle:bouncy_castle_for_java_lts:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%9012185","tags":["third-party-advisory","vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/bcgit/bc-java/commit/7bbd7fe5f44132e5b6140a2914435c12430eeb3d","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":["Alex Gaynor in collaboration with Claude and Anthropic Research","Wayde Shi (GitHub: @waydeshi )"],"assigner":"bcorg","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-08-03T13:29:56.930Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-12185","url":"https://www.cve.org/CVERecord?id=CVE-2026-12185","licence":"CVE Terms of Use","modified":"2026-08-04T01:54:27.357Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-12185","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-12185","licence":"Public domain","modified":"2026-08-28T14:42:59.607Z"}],"updatedAt":"2026-11-25T22:59:30.819Z","epss":{"score":0.00291,"percentile":0.23312,"date":"2026-12-01T12:00:22.000Z"}}