{"id":"GHSA-mx76-r943-rf8g","summary":"Bouncy Castle LTS native GCM chunking can cause bad-tag exception on decryption","details":"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.","aliases":["CVE-2026-8149"],"modified":"2026-07-17T21:09:13.674669602Z","published":"2026-05-08T09:31:30Z","database_specific":{"nvd_published_at":"2026-05-08T07:16:29Z","cwe_ids":["CWE-1068","CWE-354"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2026-05-14T13:06:27Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-8149"},{"type":"WEB","url":"https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%908149"}],"affected":[{"package":{"name":"org.bouncycastle:bcprov-lts8on","ecosystem":"Maven","purl":"pkg:maven/org.bouncycastle/bcprov-lts8on"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.73.0"},{"fixed":"2.73.11"}]}],"versions":["2.73.0","2.73.1","2.73.10","2.73.2","2.73.3","2.73.4","2.73.5","2.73.6","2.73.7","2.73.8","2.73.9"],"database_specific":{"last_known_affected_version_range":"\u003c= 2.73.10","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-mx76-r943-rf8g/GHSA-mx76-r943-rf8g.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}