CVE-2026-8149: Bouncy Castle LTS native GCM chunking can cause bad-tag exception on decryption
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().
Published May 8, 2026 · Updated Jul 7, 2026
Affected packages
org.bouncycastle:bcprov-lts8on
- Ecosystem
- Maven
- Affected
- >= 2.73.0, <= 2.73.10
- Fixed in
- 2.73.11
- Check
mvn dependency:tree -Dincludes=org.bouncycastle:bcprov-lts8on
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
Credited to discerningdev.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Maven vulnerabilities
All Maven entriesCVE-2026-13506
Bouncy Castle: Lazy ASN.1 sequence forcing resets nesting-depth guard
high7.5Aug 3, 2026CVE-2026-8763
Bouncy Castle: Name Constraints bypass via trailing dot in rfc822Name and URI
critical9.1Aug 3, 2026CVE-2024-34447
Bouncy Castle Java Cryptography API vulnerable to DNS poisoning
medium5.9May 3, 2024
