CVE-2026-12816: In Bouncy Castle for Java before 1.85, IESEngine stream-mode MAC forgery via length-dependent KDF split
Source GCVE Database
Not known to be exploited · CVSS 8.7 High : upgrade to 1.85 soon.
Data as of 1 Nov 2026, 11:02 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 7% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.85, 2.73.12
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:AmberExploitation evidence
Disclosed: evidence found.
CVE published 3 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 1 Nov 2026.
What to do
Upgrade BC-JAVA and Legion of the Bouncy Castle Inc./bcprov to 1.85; BC-LTS-JAVA and Legion of the Bouncy Castle Inc./bcprov-lts8on to 2.73.12.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Legion of the Bouncy Castle Inc.BC-JAVA | Affected
| Fixed in
|
| Legion of the Bouncy Castle Inc.BC-LTS-JAVA | Affected
| Fixed in
|
MavenLegion of the Bouncy Castle Inc./bcprovpkg:maven/Legion of the Bouncy Castle Inc./bcprovOther threats | Affected
| Fixed in
|
MavenLegion of the Bouncy Castle Inc./bcprov-lts8onpkg:maven/Legion of the Bouncy Castle Inc./bcprov-lts8onOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
If you cannot patch yet, users should consider avoiding the use of IESEngine stream-mode MAC or apply alternative cryptographic methods that do not rely on the vulnerable KDF split. Monitoring vendor communications for updates is recommended.
Description
A vulnerability exists in Bouncy Castle for Java before version 1.85 and in the LTS version before 2.73.12, where the IESEngine stream-mode MAC can be forged due to a length-dependent key derivation function (KDF) split. This issue is tracked as CVE-2026-12816 and is classified under CWE-354 (Improper Validation of Integrity Check Value).