{"id":"CVE-2026-12852","published":"2026-08-03T02:55:02Z","modified":"2026-08-03T15:11:39Z","title":"MLS wire decoder allocates attacker-declared opaque length before bounds check","vendor":"Legion of the Bouncy Castle Inc.","product":"BC-JAVA","tier":"tail","description":{"text":"In Bouncy Castle for Java before 1.85, MLS wire decoder allocates attacker-declared opaque length before bounds check.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/U:Amber","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00493,"percentile":0.43269,"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%9012852","tags":["vendor-advisory"]},{"url":"https://github.com/bcgit/bc-java/commit/a747038bb5bbd5e29fb2b7607ab38af1fd8d1790","tags":["patch"]}],"priority":{"score":14.7,"factors":[{"name":"EPSS percentile","points":8.65},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"legion-of-the-bouncy-castle","affectedVersions":[{"vendor":"Legion of the Bouncy Castle Inc.","product":"BC-JAVA","versions":[">= 1.73, < 1.85"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-08-03T15:11:15.405624Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-52137","exploited":false,"provenance":"source"}}