{"id":"CVE-2026-12802","aliases":["CVE-2026-12802"],"related":[],"kind":"vulnerability","state":"published","title":"CMS AuthEnvelopedData fails to enforce tag-length on decryption","summary":"In Bouncy Castle for Java before 1.85, CMS AuthEnvelopedData fails to enforce tag-length on decryption. This issue also affects Bouncy Castle for Java LTS before 2.73.12, and Bouncy Castle for Java FIPS (BC-FJA) before bcpkix-fips 1.0.12 (1.0.X series), 2.0.12 (2.0.X series) and 2.1.12 (2.1.X series).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In Bouncy Castle for Java before 1.85, CMS AuthEnvelopedData fails to enforce tag-length on decryption. This issue also affects Bouncy Castle for Java LTS before 2.73.12, and Bouncy Castle for Java FIPS (BC-FJA) before bcpkix-fips 1.0.12 (1.0.X series), 2.0.12 (2.0.X series) and 2.1.12 (2.1.X series).","source":"cvelist"}],"published":"2026-08-03T02:48:42.672Z","modified":"2026-09-02T14:37:01.823Z","severity":{"scorer":"bcorg","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/U:Amber","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"bcorg","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/U:Amber","score":8.7,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-354"],"affected":[{"ranges":[{"type":"maven","introduced":"0","fixed":"1.85","status":"affected"}],"vendor":"Legion of the Bouncy Castle Inc.","product":"BC-JAVA","package":"bcpkix","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":"bcpkix-lts8on","repo":"https://github.com/bcgit/bc-lts-java","platforms":["all"],"source":"cvelist"},{"ranges":[{"type":"maven","introduced":"1.0.0","fixed":"1.0.12","status":"affected"},{"type":"maven","introduced":"2.0.0","fixed":"2.0.12","status":"affected"},{"type":"maven","introduced":"2.1.0","fixed":"2.1.12","status":"affected"}],"vendor":"Legion of the Bouncy Castle Inc.","product":"BC-FJA","package":"bcpkix-fips","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","fixed":"1.0.12"},{"status":"affected","introduced":"2.0.7","fixed":"2.0.12"},{"status":"affected","introduced":"2.1.8","fixed":"2.1.12"}],"vendor":"bouncycastle","product":"bcpkix-fips","cpe":"cpe:2.3:a:bouncycastle:bcpkix-fips:*:*:*:*:*:*:*:*","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%9012802","tags":["patch","third-party-advisory","vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/bcgit/bc-java/commit/0fefa539e6ac5c66e1daee5a13b23d1d4769cc01","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":["Thai Duong"],"assigner":"bcorg","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-08-03T15:27:40.666Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-12802","url":"https://www.cve.org/CVERecord?id=CVE-2026-12802","licence":"CVE Terms of Use","modified":"2026-08-03T15:28:12.527Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-12802","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-12802","licence":"Public domain","modified":"2026-09-02T14:37:01.823Z"}],"updatedAt":"2026-11-25T22:59:30.838Z","epss":{"score":0.00147,"percentile":0.0411,"date":"2026-12-01T12:00:22.000Z"}}