{"id":"CVE-2026-8149","state":"PUBLISHED","title":"GCM chunking can lead to bad tag exception on decryption","description":"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.","publishedAt":"2026-05-08T06:01:40.875Z","updatedAt":"2026-07-21T04:59:54.559Z","severity":{"score":5.1,"label":"Medium","version":"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","source":"bcorg"},"assigner":"bcorg","products":["Legion of the Bouncy Castle Inc. BC-LTS","Legion of the Bouncy Castle Inc. BC-FJA"],"affected":[{"vendor":"Legion of the Bouncy Castle Inc.","product":"BC-LTS","packageName":"bcprov-lts8on","defaultStatus":"unaffected","versions":[{"version":"2.73.0","status":"affected","lessThan":"2.73.11","versionType":"maven"}],"platforms":["X86_64","AVX","AVX-512f","Linux"],"collectionURL":"https://www.bouncycastle.org/download/bouncy-castle-java-fips/","repo":"https://repo1.maven.org/maven2/org/bouncycastle/bcprov-lts18on","programFiles":["gcm128w","gcm512w"]},{"vendor":"Legion of the Bouncy Castle Inc.","product":"BC-FJA","packageName":"bc-fips","defaultStatus":"unaffected","versions":[{"version":"2.1.0","status":"affected","lessThan":"2.1.3","versionType":"maven"}],"platforms":["Linux","X86_64","AVX","AVX-512f"],"collectionURL":"https://www.bouncycastle.org/download/bouncy-castle-java-fips/","repo":"https://repo1.maven.org/maven2/org/bouncycastle/bc-fips","programFiles":["gcm128w.c","gcm512w.c"]}],"references":["https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%908149"],"weaknesses":["CWE-1068"],"ingestedAt":"2026-10-29T20:13:26.108Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/8xxx/CVE-2026-8149.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-8149","state":"PUBLISHED","datePublished":"2026-05-08T06:01:40.875Z","dateUpdated":"2026-07-21T04:59:54.559Z","assignerShortName":"bcorg","assignerOrgId":"91579145-5d7b-4cc5-b925-a0262ff19630","dateReserved":"2026-05-08T05:23:49.585Z"},"containers":{"cna":{"title":"GCM chunking can lead to bad tag exception on decryption","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Legion of the Bouncy Castle Inc.","product":"BC-LTS","packageName":"bcprov-lts8on","defaultStatus":"unaffected","versions":[{"version":"2.73.0","status":"affected","lessThan":"2.73.11","versionType":"maven"}],"platforms":["X86_64","AVX","AVX-512f","Linux"],"collectionURL":"https://www.bouncycastle.org/download/bouncy-castle-java-fips/","repo":"https://repo1.maven.org/maven2/org/bouncycastle/bcprov-lts18on","programFiles":["gcm128w","gcm512w"]},{"vendor":"Legion of the Bouncy Castle Inc.","product":"BC-FJA","packageName":"bc-fips","defaultStatus":"unaffected","versions":[{"version":"2.1.0","status":"affected","lessThan":"2.1.3","versionType":"maven"}],"platforms":["Linux","X86_64","AVX","AVX-512f"],"collectionURL":"https://www.bouncycastle.org/download/bouncy-castle-java-fips/","repo":"https://repo1.maven.org/maven2/org/bouncycastle/bc-fips","programFiles":["gcm128w.c","gcm512w.c"]}],"references":[{"url":"https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%908149","tags":["vendor-advisory"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","subConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","subIntegrityImpact":"NONE","vulnAvailabilityImpact":"LOW","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","Safety":"NEGLIGIBLE","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"MODERATE","providerUrgency":"AMBER","version":"4.0","baseSeverity":"MEDIUM","baseScore":5.1,"vectorString":"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"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1068","lang":"en","description":"CWE-1068","type":"CWE"}]}],"providerMetadata":{"shortName":"bcorg","orgId":"91579145-5d7b-4cc5-b925-a0262ff19630","dateUpdated":"2026-07-21T04:59:54.559Z"},"workarounds":[{"lang":"en","value":"If possible pass whole message to GCM via doFinal(..) for decryption. Issue only occurs when decryption is chunked at certain boundaries.","supportingMedia":[{"type":"text/html","base64":false,"value":"If possible pass whole message to GCM via doFinal(..) for decryption. Issue only occurs when decryption is chunked at certain boundaries."}]}],"credits":[{"lang":"en","value":"Michael Schäfer, Kiteworks","type":"finder"}],"source":{"discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 1.0.2"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-05-08T12:50:54.859989Z","id":"CVE-2026-8149","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-05-08T12:51:03.873Z"}}]}}}