Medium

Bouncy Castle LTS native GCM chunking can cause bad-tag exception on decryption

  • Disclosed: 08.05.2026
  • Updated: 11.10.2026 13:20

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.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.bouncycastle:bcprov-lts8on >= 2.73.0, < 2.73.11 2.73.11

References

CVSS score -
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
Weakness (CWE)
CWE-1068, CWE-354
Platform
Java / Kotlin (Maven)
Package
org.bouncycastle:bcprov-lts8on
Disclosed
08.05.2026
Updated
11.10.2026 13:20

Sources and licenses

OSV / GitHub Advisory Database - GHSA-mx76-r943-rf8g - CC BY 4.0

Vulnerability history: org.bouncycastle:bcprov-lts8on

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
4
First → latest
05.2024 08.2026
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Critical 1
  • High 1
  • Medium 2

Disclosures per year

  1. 2024: 1
  2. 2025: 0
  3. 2026: 3
  1. High · 7.5 CVE-2026-13506 < 2.73.12 2.73.12
  2. Bouncy Castle LTS native GCM chunking can cause bad-tag exception on decryption this entry
    Medium CVE-2026-8149 >= 2.73.0, < 2.73.11 2.73.11
  3. Medium · 5.9 CVE-2024-34447 < 2.73.6 2.73.6

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.