In Bouncy Castle for Java before 1.85, IESEngine stream-mode MAC forgery via length-dependent KDF split. (CVE-2026-12816)
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).
AI Analysis
Technical Summary
CVE-2026-12816 describes a cryptographic vulnerability in Bouncy Castle for Java versions prior to 1.85 and LTS versions before 2.73.12. The IESEngine component, which uses stream-mode MACs, is susceptible to forgery because the key derivation function splits keys based on message length in a way that can be exploited. This weakness undermines the integrity guarantees of the MAC, potentially allowing an attacker to forge valid MACs without knowledge of the secret key.
Potential Impact
The vulnerability allows an attacker to forge message authentication codes (MACs) in the IESEngine stream mode, compromising message integrity. This could lead to undetected tampering of messages protected by this cryptographic primitive. There is no indication of privilege escalation or confidentiality loss directly from this issue. No known exploits in the wild have been reported at this time.
Mitigation Recommendations
No official patch or remediation information is provided in the available data. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, 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.
In Bouncy Castle for Java before 1.85, IESEngine stream-mode MAC forgery via length-dependent KDF split. (CVE-2026-12816)
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).
CVSS v4.0
Affected software
pkg:maven/org.bouncycastle/bcprov-jdk15onpkg:maven/org.bouncycastle/bcprov-jdk15on-ltsRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-12816 describes a cryptographic vulnerability in Bouncy Castle for Java versions prior to 1.85 and LTS versions before 2.73.12. The IESEngine component, which uses stream-mode MACs, is susceptible to forgery because the key derivation function splits keys based on message length in a way that can be exploited. This weakness undermines the integrity guarantees of the MAC, potentially allowing an attacker to forge valid MACs without knowledge of the secret key.
Potential Impact
The vulnerability allows an attacker to forge message authentication codes (MACs) in the IESEngine stream mode, compromising message integrity. This could lead to undetected tampering of messages protected by this cryptographic primitive. There is no indication of privilege escalation or confidentiality loss directly from this issue. No known exploits in the wild have been reported at this time.
Mitigation Recommendations
No official patch or remediation information is provided in the available data. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, 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.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-834p-whmm-rg5r
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-12816"]
- Database Specific Severity
- HIGH
- Cvss Version
- 4.0
Threat ID: 6a710680bf32cb7a34396f73
Added to database: 08/03/2026, 21:22:08 UTC
Last enriched: 08/03/2026, 21:41:12 UTC
Last updated: 09/18/2026, 02:36:21 UTC
Views: 59
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.