CVE-2026-12802
Received Received - Intake

CMS AuthEnvelopedData Tag-Length Validation Bypass in Bouncy Castle for Java

Vulnerability report for CVE-2026-12802, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-03

Last updated on: 2026-08-03

Assigner: bcorg

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).

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-03
Last Modified
2026-08-03
Generated
2026-08-03
AI Q&A
2026-08-03
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 5 associated CPEs
Vendor Product Version / Range
bouncy_castle bouncy_castle_for_java to 1.85 (exc)
bouncy_castle bouncy_castle_for_java_lts to 2.73.12 (exc)
bouncy_castle bouncy_castle_for_java_fips to 1.0.12 (exc)
bouncy_castle bouncy_castle_for_java_fips to 2.0.12 (exc)
bouncy_castle bouncy_castle_for_java_fips to 2.1.12 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-354 The product does not validate or incorrectly validates the integrity check values or "checksums" of a message. This may prevent it from detecting if the data has been modified or corrupted in transmission.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

In Bouncy Castle for Java versions before 1.85, the CMS AuthEnvelopedData component fails to enforce tag-length validation during decryption. This means an attacker could exploit this flaw to decrypt encrypted data without proper authentication or integrity checks.

Detection Guidance

This vulnerability affects Bouncy Castle for Java and related FIPS versions. Detection involves checking installed versions of Bouncy Castle libraries. Use commands like 'mvn dependency:tree' for Maven projects or 'gradle dependencies' for Gradle projects to inspect dependencies. Compare versions against the patched releases (1.85 for main, 2.73.12 for LTS, or FIPS series 1.0.12/2.0.12/2.1.12).

Impact Analysis

This vulnerability could allow unauthorized decryption of sensitive data protected by CMS AuthEnvelopedData. If exploited, attackers might access confidential information such as messages or files that were meant to be secure.

Compliance Impact

This vulnerability in Bouncy Castle's CMS AuthEnvelopedData could potentially allow unauthorized decryption of sensitive data due to improper tag-length enforcement. This may lead to data breaches, which could violate compliance requirements under GDPR (data protection) and HIPAA (healthcare data security).

Mitigation Strategies

Update Bouncy Castle for Java to version 1.85 or later. For LTS versions, upgrade to 2.73.12 or later. For BC-FJA, upgrade to bcpkix-fips 1.0.12, 2.0.12, or 2.1.12 depending on your series.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-12802. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart