CVE-2026-12816 IESEngine stream-mode MAC forgery via length-dependent KDF split

High 8.7 Published Updated

Attackers can forge MACs in stream mode due to a length-dependent KDF split flaw in the Bouncy Castle Java library.

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-12816?

CVE-2026-12816 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, IESEngine stream-mode MAC forgery via length-dependent KDF split. This issue also affects Bouncy Castle for Java LTS before 2.73.12.

Weakness: CWE-354

Which versions are affected by CVE-2026-12816?

It affects 2 products.

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

How do I fix CVE-2026-12816?

Upgrade to a fixed version.

Is CVE-2026-12816 being exploited?

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

All Bouncycastle Bc-Java vulnerabilities

Sources

Also known as CLEANSTART-2026-JP50246, CLEANSTART-2026-JX92786, CLEANSTART-2026-KC23930, CLEANSTART-2026-NR86406, CLEANSTART-2026-YF88900, DEBIAN-CVE-2026-12816 and 2 more.

Is CVE-2026-12816 in your software?

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

Check your SBOMs for free