CVE-2026-12817

OpenPGP AEAD decryption skips final tag on chunk-aligned data

Published Aug 3, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
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).

Analysis

AI-generated

Technical impact

The vulnerability in Bouncy Castle for Java causes the OpenPGP AEAD decryption routine to omit the final authentication tag when processing chunk‑aligned ciphertext. Because the tag is not verified, a message that has been tampered with can be accepted as authentic, breaking the integrity guarantee of the OpenPGP workflow. In addition, the decryption proceeds and the attacker may gain read access to the message contents, so confidentiality can also be compromised.

Affected Systems

Affected libraries are the Bouncy Castle Java libraries: BC‑JAVA, BC‑LTS‑JAVA, and the FIPS‑enabled BC‑FJA. Versions prior to BC‑JAVA 1.85, BC‑LTS‑JAVA 2.73.12, and bcpg‑fips 1.0.13, 2.0.13, or 2.1.13 are vulnerable.

Risk and Exploitability

The CVSS score of 8.7 indicates a high severity vulnerability. The EPSS score of 0.00157 (less than 1%) shows a very low but non‑zero probability of exploitation, and the issue is not listed in the CISA KEV catalog. The likely attack vector is remote delivery of a crafted OpenPGP message to an application that uses these libraries, which could cause the message to be incorrectly accepted as authentic, thereby compromising the integrity and secrecy of the data. The exploitation conditions therefore require that the victim application performs OpenPGP AEAD decryption on user‑supplied ciphertext.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade all Bouncy Castle Java libraries to the latest stable releases that fix the issue (BC‑JAVA ≥ 1.85, BC‑LTS‑JAVA ≥ 2.73.12, bcpg‑fips ≥ 1.0.13/2.0.13/2.1.13).
  • If upgrading is not immediately possible, limit the use of OpenPGP decryption to trusted internal data only, and monitor for anomalous decryption failures or unexpected authentication tag validations, noting that no effective temporary workaround exists.
  • Implement additional application-level checks to verify the integrity of decrypted messages, or disable the use of OpenPGP AEAD functions until the vulnerability is patched.

Generated by OpenCVE AI on August 4, 2026 at 22:02 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Bouncycastle
Bouncycastle bc-java
Bouncycastle bcpg-fips
Bouncycastle bouncy Castle For Java Lts
CPEs cpe:2.3:a:bouncycastle:bc-java:*:*:*:*:*:*:*:*
cpe:2.3:a:bouncycastle:bcpg-fips:*:*:*:*:*:*:*:*
cpe:2.3:a:bouncycastle:bouncy_castle_for_java_lts:*:*:*:*:*:*:*:*
Vendors & Products Bouncycastle
Bouncycastle bc-java
Bouncycastle bcpg-fips
Bouncycastle bouncy Castle For Java Lts
Metrics cvssV3_1

{'score': 8.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Legion Of The Bouncy Castle Inc.
Legion Of The Bouncy Castle Inc. bc-fja
Legion Of The Bouncy Castle Inc. bc-java
Legion Of The Bouncy Castle Inc. bc-lts-java
Vendors & Products Legion Of The Bouncy Castle Inc.
Legion Of The Bouncy Castle Inc. bc-fja
Legion Of The Bouncy Castle Inc. bc-java
Legion Of The Bouncy Castle Inc. bc-lts-java
Type Values Removed Values Added
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).
Title OpenPGP AEAD decryption skips final tag on chunk-aligned data
Weaknesses CWE-354
References
Metrics cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/U:Amber'}

Weaknesses
  • CWE-354

    Improper Validation of Integrity Check Value

Sources

Status
PUBLISHED
Assigner
bcorg
Published
Updated
Aug 3, 2026, 3:15 PM
Reserved
Jun 21, 2026, 8:58 AM
Status
Analyzed
Published
Aug 3, 2026, 4:16 AM
Modified
Aug 31, 2026, 3:16 PM