Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-12802: CWE-354 Improper Validation of Integrity Check Value in Legion of the Bouncy Castle Inc. BC-JAVA

0
High
VulnerabilityCVE-2026-12802cvecve-2026-12802cwe-354
Published: 08/03/2026 (08/03/2026, 02:48:42 UTC)
Source: CVE Database V5
Vendor/Project: Legion of the Bouncy Castle Inc.
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
High
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

GitHub Actionsmore threats →cve
bcpkix
pkg:github/bcpkix
Affected versions
<1.85
GitHub Actionsmore threats →cve
bcpkix-lts8on
pkg:github/bcpkix-lts8on
Affected versions
>=2.73.0 <2.73.12

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/03/2026, 04:18:47 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses