Description
In Bouncy Castle for Java before 1.85, CMS AuthEnvelopedData fails to enforce tag-length on decryption. This issue also affects Bouncy Castle for Java LTS before 2.73.12, and Bouncy Castle for Java FIPS (BC-FJA) before bcpkix-fips 1.0.12 (1.0.X series), 2.0.12 (2.0.X series) and 2.1.12 (2.1.X series).
Published: 2026-08-03
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability resides in the CMS AuthEnvelopedData implementation of Bouncy Castle for Java where the library accepts ciphertext whose authentication tag length does not match the required length, thereby failing to verify integrity during decryption. This allows an attacker to craft a payload that the library will decrypt and accept, effectively bypassing the authenticity check and enabling the disclosure of protected data or the injection of forged data into applications that rely on the integrity of encrypted messages.

Affected Systems

Affected products include Bouncy Castle for Java prior to version 1.85, the long‑term support branch before version 2.73.12, and the FIPS‑compliant branch (BC-FJA) before releases bcpkix-fips 1.0.12, 2.0.12, and 2.1.12 of the 1.0.X, 2.0.X, and 2.1.X series respectively. Any application that imports these libraries for CMS AuthEnvelopedData processing is potentially impacted.

Risk and Exploitability

The CVSS score of 8.7 indicates a high severity vulnerability. No EPSS score is available, and the entry is not listed in the CISA KEV catalog. The vulnerability can be exploited by supplying an adversary‑crafted CMS message that contains a non‑standard authentication tag length; the library will accept and decrypt it, granting the attacker access to confidential information or enabling integrity‑compromising attacks. The attack requires the presence of the vulnerable library within the target application and the ability to provide forged CMS data.

Generated by OpenCVE AI on August 3, 2026 at 08:48 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to Bouncy Castle for Java 1.85 or later, the LTS branch 2.73.12 or later, or the BC‑FJA branch bcpkix‑fips 1.0.12 (or 2.0.12, 2.1.12) or later releases.

Generated by OpenCVE AI on August 3, 2026 at 08:48 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 03 Aug 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Mon, 03 Aug 2026 16:15:00 +0000

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

Mon, 03 Aug 2026 06:45:00 +0000


Mon, 03 Aug 2026 04:00:00 +0000

Type Values Removed Values Added
Description In Bouncy Castle for Java before 1.85, CMS AuthEnvelopedData fails to enforce tag-length on decryption. This issue also affects Bouncy Castle for Java LTS before 2.73.12, and Bouncy Castle for Java FIPS (BC-FJA) before bcpkix-fips 1.0.12 (1.0.X series), 2.0.12 (2.0.X series) and 2.1.12 (2.1.X series).
Title CMS AuthEnvelopedData fails to enforce tag-length on decryption
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'}


Subscriptions

Legion Of The Bouncy Castle Inc. Bc-fja Bc-java Bc-lts-java
cve-icon MITRE

Status: PUBLISHED

Assigner: bcorg

Published:

Updated: 2026-08-03T15:28:12.527Z

Reserved: 2026-06-20T23:07:20.197Z

Link: CVE-2026-12802

cve-icon Vulnrichment

Updated: 2026-08-03T15:28:04.286Z

cve-icon NVD

Status : Undergoing Analysis

Published: 2026-08-03T04:16:38.070

Modified: 2026-08-04T14:50:12.360

Link: CVE-2026-12802

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T15:52:11Z

Weaknesses
  • CWE-354

    Improper Validation of Integrity Check Value