CVE-2026-58061
Received Received - Intake

Bouncy Castle Java CCM Mode Plaintext Exposure

Vulnerability report for CVE-2026-58061, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-03

Last updated on: 2026-08-03

Assigner: bcorg

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).

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-03
Last Modified
2026-08-03
Generated
2026-08-03
AI Q&A
2026-08-03
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 5 associated CPEs
Vendor Product Version / Range
bouncy_castle bouncy_castle to 1.85 (exc)
bouncy_castle bouncy_castle_lts to 2.73.12 (exc)
bouncy_castle bc_fips to 1.0.2.7 (exc)
bouncy_castle bc_fips to 2.0.2 (exc)
bouncy_castle bc_fips to 2.1.3 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-354 The product does not validate or incorrectly validates the integrity check values or "checksums" of a message. This may prevent it from detecting if the data has been modified or corrupted in transmission.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in Bouncy Castle for Java involves CCM-family encryption modes writing plaintext data to a caller's buffer before verifying the authentication tag. This means sensitive data could be exposed even if the encryption process fails.

Detection Guidance

This vulnerability involves plaintext exposure in CCM-family modes before tag verification in Bouncy Castle libraries. Detection requires checking library versions and analyzing cryptographic operations for improper plaintext handling. No specific commands are provided in the context.

Impact Analysis

An attacker could exploit this to read plaintext data before tag verification, potentially exposing sensitive information. This affects confidentiality of encrypted communications or stored data using vulnerable Bouncy Castle versions.

Compliance Impact

This vulnerability could lead to unauthorized data exposure, violating confidentiality requirements in GDPR and HIPAA. Organizations using affected versions may fail compliance audits due to inadequate encryption protections.

Mitigation Strategies

Upgrade Bouncy Castle for Java to version 1.85 or later. For LTS versions, upgrade to 2.73.12 or later. For BC-FJA, upgrade to bc-fips 1.0.2.7 (1.0.X series), 2.0.2 (2.0.X series), or 2.1.3 (2.1.X series) or later.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-58061. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart