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.
Published: 2026-08-03
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability is in the IESEngine implementation of Bouncy Castle for Java. A length‑dependent key derivation function (KDF) split allows an attacker to forge a MAC in stream‑mode authentication, thereby bypassing the integrity check for encrypted data. If an attacker can submit forged ciphertext‑MAC pairs, they can alter or create messages that the system will accept as valid, potentially leading to unauthorized data modification or execution of commands depending on how the library is used.

Affected Systems

Affected products are Legion of the Bouncy Castle Inc. BC‑JAVA and BC‑LTS‑JAVA. Versions before 1.85 for BC‑JAVA and before 2.73.12 for the LTS variant are vulnerable. Any application that imports these libraries before the specified versions may be impacted.

Risk and Exploitability

The CVSS score is 8.7, indicating a high‑severity flaw. Because the EPSS score is not available, the current exploitation probability cannot be quantified from public data. The issue is not listed in the CISA KEV catalog. The attack is likely to occur in systems that use Bouncy Castle’s stream‑mode MAC functions, requiring the attacker to supply crafted data that the application will process. Successful exploitation would give the attacker the ability to forge authentication tags, effectively compromising data integrity and potentially allowing further attacks such as replay or unauthorized operations if the application trusts the MAC alone.

Generated by OpenCVE AI on August 3, 2026 at 08:48 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Bouncy Castle to version 1.85 or later for BC‑JAVA and to 2.73.12 or later for BC‑LTS‑JAVA.
  • Ensure that your build or dependency management system pulls the updated library and that no older versions exist in the runtime classpath.
  • If an upgrade is not immediately possible, avoid using stream‑mode MAC with these vulnerable versions and consider switching to an alternative cryptographic provider that does not have the length‑dependent KDF split flaw.

Generated by OpenCVE AI on August 3, 2026 at 08:48 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 03 Aug 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 03 Aug 2026 16:15:00 +0000

Type Values Removed Values Added
First Time appeared Legion Of The Bouncy Castle Inc.
Legion Of The Bouncy Castle Inc. bc-java
Legion Of The Bouncy Castle Inc. bc-lts-java
Vendors & Products Legion Of The Bouncy Castle Inc.
Legion Of The Bouncy Castle Inc. bc-java
Legion Of The Bouncy Castle Inc. bc-lts-java

Mon, 03 Aug 2026 06:45:00 +0000


Mon, 03 Aug 2026 04:00:00 +0000

Type Values Removed Values Added
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.
Title IESEngine stream-mode MAC forgery via length-dependent KDF split
Weaknesses CWE-354
References
Metrics cvssV4_0

{'score': 8.7, 'vector': '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'}


Subscriptions

Legion Of The Bouncy Castle Inc. Bc-java Bc-lts-java
cve-icon MITRE

Status: PUBLISHED

Assigner: bcorg

Published:

Updated: 2026-08-03T15:21:22.986Z

Reserved: 2026-06-21T08:41:26.174Z

Link: CVE-2026-12816

cve-icon Vulnrichment

Updated: 2026-08-03T15:20:13.086Z

cve-icon NVD

Status : Undergoing Analysis

Published: 2026-08-03T04:16:39.330

Modified: 2026-08-04T14:50:12.360

Link: CVE-2026-12816

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T15:52:08Z

Weaknesses
  • CWE-354

    Improper Validation of Integrity Check Value