GitHub Advisoryadvisory · Maven
GHSA-mx76-r943-rf8g Bouncy Castle LTS native GCM chunking can cause bad-tag exception on decryption
MEDIUM
Official page ↗
- Aliases
- CVE-2026-8149
- Ecosystem
- Maven
- Packages
- org.bouncycastle:bcprov-lts8on
- Severity
- Moderate
- CVSS 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
- Weaknesses
- CWE-1068, CWE-354
- Reviewed
- 2026-05-14
Affected packages
• Maven org.bouncycastle:bcprov-lts8on: >= 2.73.0, < 2.73.11 → fixed in 2.73.11
Description
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.
Related
Alias · CVE (1)
- CVE-2026-8149 A vulnerability in Legion of the Bouncy Castle Inc. vulnerability