CVE-2026-12802: CWE-354 Improper Validation of Integrity Check Value in Legion of the Bouncy Castle Inc. BC-JAVA
CVE-2026-12802 is a high-severity vulnerability in Bouncy Castle for Java (BC-JAVA) affecting versions before 1.85 and versions from 2.73.0 up to but not including 2.73.12. The issue involves improper validation of the integrity check value in CMS AuthEnvelopedData, specifically failing to enforce tag-length on decryption. This vulnerability is classified under CWE-354, indicating improper validation of integrity check values.
AI Analysis
Technical Summary
This vulnerability in Legion of the Bouncy Castle Inc.'s BC-JAVA library affects the CMS AuthEnvelopedData component. Versions prior to 1.85 and versions >=2.73.0 and <2.73.12 do not properly enforce tag-length during decryption, leading to improper validation of integrity check values (CWE-354). This flaw could undermine the cryptographic integrity guarantees of the CMS AuthEnvelopedData structure. The CVSS 4.0 base score is 8.7, reflecting a high severity with network attack vector, low attack complexity, no privileges or user interaction required, and high impact on integrity. No official patch or remediation level is stated in the available data, and no known exploits are reported in the wild as of the publication date.
Potential Impact
The vulnerability allows an attacker to bypass or weaken the integrity check in the CMS AuthEnvelopedData decryption process, potentially leading to undetected tampering with encrypted data. This compromises the integrity assurances of cryptographic operations relying on this component. The high CVSS score indicates a significant risk if exploited, although no active exploitation is currently known.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official remediation level or patch links are provided, users should monitor the Legion of the Bouncy Castle Inc. advisories for updates. Until a fix is available, avoid using affected versions or apply compensating controls if feasible.
CVE-2026-12802: CWE-354 Improper Validation of Integrity Check Value in Legion of the Bouncy Castle Inc. BC-JAVA
Description
CVE-2026-12802 is a high-severity vulnerability in Bouncy Castle for Java (BC-JAVA) affecting versions before 1.85 and versions from 2.73.0 up to but not including 2.73.12. The issue involves improper validation of the integrity check value in CMS AuthEnvelopedData, specifically failing to enforce tag-length on decryption. This vulnerability is classified under CWE-354, indicating improper validation of integrity check values.
CVSS v4.0
Score 8.7high
Affected software
pkg:github/bcpkix-lts8onRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability in Legion of the Bouncy Castle Inc.'s BC-JAVA library affects the CMS AuthEnvelopedData component. Versions prior to 1.85 and versions >=2.73.0 and <2.73.12 do not properly enforce tag-length during decryption, leading to improper validation of integrity check values (CWE-354). This flaw could undermine the cryptographic integrity guarantees of the CMS AuthEnvelopedData structure. The CVSS 4.0 base score is 8.7, reflecting a high severity with network attack vector, low attack complexity, no privileges or user interaction required, and high impact on integrity. No official patch or remediation level is stated in the available data, and no known exploits are reported in the wild as of the publication date.
Potential Impact
The vulnerability allows an attacker to bypass or weaken the integrity check in the CMS AuthEnvelopedData decryption process, potentially leading to undetected tampering with encrypted data. This compromises the integrity assurances of cryptographic operations relying on this component. The high CVSS score indicates a significant risk if exploited, although no active exploitation is currently known.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official remediation level or patch links are provided, users should monitor the Legion of the Bouncy Castle Inc. advisories for updates. Until a fix is available, avoid using affected versions or apply compensating controls if feasible.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- bcorg
- Date Reserved
- 2026-06-20T23:07:20.197Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a701320bf32cb7a34eafea8
Added to database: 08/03/2026, 04:03:44 UTC
Last enriched: 08/03/2026, 04:18:47 UTC
Last updated: 08/03/2026, 04:44:14 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.