Description
In Bouncy Castle for Java before 1.85, MLS hash-ratchet honours arbitrary 32-bit generation counter from sender.
Published: 2026-08-03
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The flaw in Bouncy Castle for Java allows the MLS hash‑ratchet to accept an arbitrary 32‑bit generation counter supplied by the sender, an issue classified as CWE‑834. This undermines the integrity expectations of the MLS protocol, allowing a malicious actor to replay or fabricate messages that may be accepted as authentic, potentially exposing encrypted traffic or enabling further attacks.

Affected Systems

Legion of the Bouncy Castle Inc.’s BC‑Java library is affected in all releases prior to version 1.85.

Risk and Exploitability

The CVSS score of 8.7 indicates high severity, and although the EPSS score is not available, the vulnerability is not listed in CISA’s KEV catalog. The likely attack vector is a network‑based attacker who can inject or modify MLS packets; by setting a deceptive generation counter the attacker can bypass counter checks and cause later messages to be incorrectly authenticated. Once exploited, the attacker could tamper with or intercept confidential data being protected by the affected library.

Generated by OpenCVE AI on August 4, 2026 at 10:55 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade BC‑Java to version 1.85 or later to ensure the hash‑ratchet disregards external counters
  • Modify application logic so that counter verification is performed internally by Bouncy Castle, removing any reliance on sender‑supplied counters
  • If an upgrade is not immediately possible, avoid using the MLS hash‑ratchet functionality or replace it with an alternative implementation that validates counter values internally

Generated by OpenCVE AI on August 4, 2026 at 10:55 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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
Vendors & Products Legion Of The Bouncy Castle Inc.
Legion Of The Bouncy Castle Inc. bc-java

Mon, 03 Aug 2026 14: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 05:30:00 +0000


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

Type Values Removed Values Added
Description In Bouncy Castle for Java before 1.85, MLS hash-ratchet honours arbitrary 32-bit generation counter from sender.
Title MLS hash-ratchet honours arbitrary 32-bit generation counter from sender
Weaknesses CWE-834
References
Metrics cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/U:Amber'}


Subscriptions

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

Status: PUBLISHED

Assigner: bcorg

Published:

Updated: 2026-08-03T13:36:10.480Z

Reserved: 2026-07-06T06:58:29.263Z

Link: CVE-2026-59644

cve-icon Vulnrichment

Updated: 2026-08-03T13:36:06.556Z

cve-icon NVD

Status : Undergoing Analysis

Published: 2026-08-03T01:16:44.467

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

Link: CVE-2026-59644

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T11:00:07Z

Weaknesses