What’s Vulnerable › Vulnerabilities

CVE-2026-12802: CMS AuthEnvelopedData fails to enforce tag-length on decryption

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

Affected products

How to fix

Upgrade to a fixed version: Legion of the Bouncy Castle Inc. BC-JAVA 1.85; Legion of the Bouncy Castle Inc. BCPKIX-FIPS 1.0.12, 2.0.12, 2.1.12. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-12802 or the next vulnerability affects your stack