CVE-2026-12817 Details
Description
In Bouncy Castle for Java before 1.85, OpenPGP AEAD decryption skips final tag on chunk-aligned data. This issue also affects Bouncy Castle for Java LTS before 2.73.12, and Bouncy Castle for Java FIPS (BC-FJA) before bcpg-fips 1.0.13 (1.0.X series), 2.0.13 (2.0.X series) and 2.1.13 (2.1.X series).
A vulnerability exists in Bouncy Castle for Java versions prior to 1.85, as well as in Bouncy Castle for Java LTS versions prior to 2.73.12 and in Bouncy Castle for Java FIPS (BC-FJA) versions prior to 1.0.13 (1.0.X series), 2.0.13 (2.0.X series) and 2.1.13 (2.1.X series). This vulnerability allows OpenPGP AEAD decryption to skip verifying the final authentication tag on chunk-aligned messages. As a result, an attacker could potentially tamper with the ciphertext, remove trailing chunks along with the final tag, and have the recipient accept the truncated plaintext as authentic.
Users can upgrade to Bouncy Castle for Java version 1.85 or later, or to version 2.73.12 or later for Bouncy Castle for Java LTS. For Bouncy Castle for Java FIPS, users should upgrade to version 1.0.13 (1.0.X series), 2.0.13 (2.0.X series) or 2.1.13 (2.1.X series).
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Aug 3, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/bcgit/bc-java/commit/4b712819846ec944379f4909101abac20f0ad4b0 | bcorg | Patch |
| https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%9012817 | bcorg | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-354 | Improper Validation of Integrity Check Value | bcorg |
Affected Products
| Product | Versions |
|---|---|
| bouncycastle bc-java | < 1.85 |
CPE
Remediation
| |
| bouncycastle bcpg-fips | >= 1.0.7, < 1.0.13 >= 2.0.8, < 2.0.13 >= 2.1.10, < 2.1.13 |
CPE
Remediation
| |
| bouncycastle bouncy castle for java lts | <= 2.73.11 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 31, 2026 | Initial Analysis | [email protected] |
| Aug 3, 2026 | CVE Modified | CISA-ADP |
| Aug 3, 2026 | CVE Modified | bcorg |
| Aug 3, 2026 | New CVE Received | bcorg |