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

High 8.7 Published Updated

Bouncy Castle for Java fails to enforce tag-length during CMS AuthEnvelopedData decryption, allowing potential security bypasses.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-12802?

CVE-2026-12802 is a high-severity vulnerability in Bouncycastle Bc-Java, published on 3 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Weakness: CWE-354

Which versions are affected by CVE-2026-12802?

It affects 3 products.

Products include Bouncycastle Bc-Java, Bouncycastle Bcpkix-Fips, Bouncycastle Bouncy Castle for Java Lts.

How do I fix CVE-2026-12802?

Upgrade to a fixed version.

Is CVE-2026-12802 being exploited?

There is no known exploitation of CVE-2026-12802 in the wild and no public exploit code.

All Bouncycastle Bc-Java vulnerabilities

Sources

Also known as CLEANSTART-2026-AJ99482, CLEANSTART-2026-GB16765, CLEANSTART-2026-GD25733, CLEANSTART-2026-RK76789, CLEANSTART-2026-UZ09696, DEBIAN-CVE-2026-12802 and 3 more.

Is CVE-2026-12802 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free