You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
David Hook edited this page May 22, 2026
·
3 revisions
Title: GCM chunking can lead to bad tag exception on decryption
Issue affecting: BC-LTS 2.73.0 to 2.73.10.
Fixed versions: BC-LTS 2.73.11
Platform affected: Java 8 and later (Intel platforms with AES PAA instructions sets)
Issue shows up intermittently where GCM is invoked for decryption using a combination of update() and then a 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.