{"id":"CVE-2026-8149","aliases":["CVE-2026-8149","GHSA-mx76-r943-rf8g"],"related":[],"kind":"vulnerability","state":"published","title":"GCM chunking can lead to bad tag exception on decryption","summary":"A vulnerability in Legion of the Bouncy Castle Inc. BC-LTS bcprov-lts8on on X86_64, AVX, AVX-512f, Linux, Legion of the Bouncy Castle Inc. BC-FJA bc-fips on Linux, X86_64, AVX, AVX-512f.\n\n This vulnerability is associated with program files gcm128w, gcm512w, gcm128w.C, gcm512w.C.\n\n\n\nThis issue affects BC-LTS: from 2.73.0 before 2.73.11; BC-FJA: from 2.1.0 before 2.1.3.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A vulnerability in Legion of the Bouncy Castle Inc. BC-LTS bcprov-lts8on on X86_64, AVX, AVX-512f, Linux, Legion of the Bouncy Castle Inc. BC-FJA bc-fips on Linux, X86_64, AVX, AVX-512f.\n\n This vulnerability is associated with program files gcm128w, gcm512w, gcm128w.C, gcm512w.C.\n\n\n\nThis issue affects BC-LTS: from 2.73.0 before 2.73.11; BC-FJA: from 2.1.0 before 2.1.3.","source":"cvelist"},{"lang":"en","text":"In Bouncy Castle LTS for Java, the AES/GCM native implementation used on Intel CPUs with AES PAA instruction sets (AVX / VAES / VAESF variants) can intermittently produce an incorrect authentication tag verification result during decryption when the ciphertext is fed in via a mix of `update()` calls followed by `doFinal()`. It is possible to work around it by either using `doFinal()` only (as the BCJSSE does) or by configuring the module to run in pure Java mode, by setting the system property \"org.bouncycastle.native.cpu_variant\" to java.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Una vulnerabilidad en Legion of the Bouncy Castle Inc. BC-FJA BC-FIPS en Linux, X86_64, AVX, AVX-512f.\n\nEsta vulnerabilidad está asociada con los archivos de programa gcm128w, gcm512w.\n\nEste problema afecta a BC-FJA: desde 2.1.0 hasta 2.1.2.","source":"nvd"}],"published":"2026-05-08T06:01:40.875Z","modified":"2026-10-26T19:10:00.163Z","severity":{"scorer":"bcorg","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/S:N/RE:M/U:Amber","score":5.1,"rating":"MEDIUM"},"severities":[{"scorer":"bcorg","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/S:N/RE:M/U:Amber","score":5.1,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","rating":"MEDIUM"}],"cwes":["CWE-354","CWE-1068"],"affected":[{"ranges":[{"type":"maven","introduced":"2.73.0","fixed":"2.73.11","status":"affected"}],"vendor":"Legion of the Bouncy Castle Inc.","product":"BC-LTS","package":"bcprov-lts8on","repo":"https://repo1.maven.org/maven2/org/bouncycastle/bcprov-lts18on","platforms":["X86_64","AVX","AVX-512f","Linux"],"source":"cvelist"},{"ranges":[{"type":"maven","introduced":"2.1.0","fixed":"2.1.3","status":"affected"}],"vendor":"Legion of the Bouncy Castle Inc.","product":"BC-FJA","package":"bc-fips","repo":"https://repo1.maven.org/maven2/org/bouncycastle/bc-fips","platforms":["Linux","X86_64","AVX","AVX-512f"],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"2.73.0","status":"affected","fixed":"2.73.11"}],"ecosystem":"Maven","package":"org.bouncycastle:bcprov-lts8on","purl":"pkg:maven/org.bouncycastle/bcprov-lts8on","source":"ghsa"}],"references":[{"url":"https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%908149","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-8149","tags":["advisory"],"sources":["ghsa"]}],"credits":["Michael Schäfer, Kiteworks"],"assigner":"bcorg","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-05-08T12:50:54.859Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-8149","url":"https://www.cve.org/CVERecord?id=CVE-2026-8149","licence":"CVE Terms of Use","modified":"2026-07-21T04:59:54.559Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-mx76-r943-rf8g","url":"https://github.com/advisories/GHSA-mx76-r943-rf8g","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:47.153Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-8149","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-8149","licence":"Public domain","modified":"2026-10-26T19:10:00.163Z"}],"updatedAt":"2026-11-25T22:59:20.961Z","epss":{"score":0.00158,"percentile":0.05195,"date":"2026-12-01T12:00:22.000Z"}}