Description
In Bouncy Castle for Java before 1.85, CCM-family modes write plaintext to caller buffer before tag check. This issue also affects Bouncy Castle for Java LTS before 2.73.12, and Bouncy Castle for Java FIPS (BC-FJA) before bc-fips 1.0.2.7 (1.0.X series), 2.0.2 (2.0.X series) and 2.1.3 (2.1.X series).
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 occurs in the CCM-family modes of Bouncy Castle for Java, where the library writes plaintext to the caller buffer before verifying the authentication tag. Because the data is left in memory before integrity is confirmed, an attacker who can inject malicious ciphertext may be able to read unverified plaintext. This weakness can lead to confidentiality loss when the library is used by applications that do not enforce tag checks strictly, potentially undermining the overall data integrity guarantees of the encryption process.

Affected Systems

Affected products include Bouncy Castle for Java before version 1.85, the Bouncy Castle for Java LTS releases before 2.73.12, and Bouncy Castle for Java FIPS (BC‑FJA) before bc‑fips 1.0.2.7 in the 1.0.x series, 2.0.2 in the 2.0.x series, and 2.1.3 in the 2.1.x series. Any application that depends on these library versions is potentially exposed.

Risk and Exploitability

The vulnerability has a CVSS score of 8.7, indicating high severity. No EPSS score data is available, and the issue is not listed in the CISA KEV catalog, suggesting no widely observed exploitation yet. The likely attack vector involves a malicious client supplying crafted CCM-encrypted data to a vulnerable application; the application’s use of the library would expose plaintext before tag verification, enabling data disclosure. The risk is therefore elevated for systems that process user-supplied encrypted data and cannot enforce tag checks independently.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to the latest Bouncy Castle for Java releases: use BC‑JAVA 1.85 or newer, BC‑JAVA‑LTS 2.73.12 or newer, and BC‑FJA 1.0.2.8 or newer (including 2.0.3 and 2.1.4).
  • Replace any older Bouncy Castle JAR or module files in your application with the patched versions.
  • If an immediate upgrade is not possible, restrict or disable CCM-mode decryption until the library can be upgraded, or enforce a custom workflow that verifies the authentication tag before handling plaintext.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 03 Aug 2026 17: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-fja
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-fja
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 02:45:00 +0000

Type Values Removed Values Added
Description In Bouncy Castle for Java before 1.85, CCM-family modes write plaintext to caller buffer before tag check. This issue also affects Bouncy Castle for Java LTS before 2.73.12, and Bouncy Castle for Java FIPS (BC-FJA) before bc-fips 1.0.2.7 (1.0.X series), 2.0.2 (2.0.X series) and 2.1.3 (2.1.X series).
Title CCM-family modes write plaintext to caller buffer before tag check
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-fja Bc-java Bc-lts-java
cve-icon MITRE

Status: PUBLISHED

Assigner: bcorg

Published:

Updated: 2026-08-03T15:35:41.256Z

Reserved: 2026-06-28T01:21:46.334Z

Link: CVE-2026-58061

cve-icon Vulnrichment

Updated: 2026-08-03T15:35:36.453Z

cve-icon NVD

Status : Undergoing Analysis

Published: 2026-08-03T03:16:45.500

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

Link: CVE-2026-58061

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

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

Weaknesses
  • CWE-354

    Improper Validation of Integrity Check Value