Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.2%top 95%

CVE-2026-12816: CWE-354 Improper Validation of Integrity Check Value in Legion of the Bouncy Castle Inc. BC-JAVA

0
High
VulnerabilityCVE-2026-12816cvecve-2026-12816cwe-354
Published: 08/03/2026 (08/03/2026, 02:53:32 UTC)
Source: CVE Database V5
Vendor/Project: Legion of the Bouncy Castle Inc.
Product: BC-JAVA

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.

CVSS v4.0

Score 8.7high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
High
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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:Amber

Affected software

GitHub Actionsmore threats →cve
bcprov
pkg:github/bcprov
Affected versions
<1.85
GitHub Actionsmore threats →cve
bcprov-lts8on
pkg:github/bcprov-lts8on
Affected versions
>=2.73.0 <2.73.12

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/03/2026, 04:18:30 UTC

Technical Analysis

This vulnerability (CWE-354) in BC-JAVA's IESEngine stream-mode MAC implementation allows an attacker to forge message authentication codes due to improper validation of the integrity check value. The flaw arises from a length-dependent key derivation function split, which compromises the integrity protection mechanism. Affected versions include all releases before 1.85 and the LTS branch from 2.73.0 up to 2.73.12. The CVSS 4.0 base score is 8.7, indicating a high severity with network attack vector, no required privileges or user interaction, and high impact on integrity.

Potential Impact

Successful exploitation enables an attacker to forge MACs, potentially allowing tampering with data integrity protected by the IESEngine stream-mode MAC in affected BC-JAVA versions. This undermines the cryptographic assurances provided by the library, possibly leading to unauthorized data modification without detection.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or temporary workaround is currently documented. Users should monitor the Legion of the Bouncy Castle Inc. advisories for updates and apply patches once available. Until then, avoid using affected versions in security-critical environments.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
bcorg
Date Reserved
2026-06-21T08:41:26.174Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a701320bf32cb7a34eafeb1

Added to database: 08/03/2026, 04:03:44 UTC

Last enriched: 08/03/2026, 04:18:30 UTC

Last updated: 08/03/2026, 19:34:42 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses