CVE-2026-58061

CCM-family modes write plaintext to caller buffer before tag check

State
Published
Severity
8.7 High
Published
Aug 3, 2026
Updated
Aug 3, 2026
Reserved
Jun 28, 2026

Read the record on cve.org

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

Scores

CVSSScoreVectorSource
4.08.7 HighCVSS: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:Amberbcorg

Weaknesses

  • CWE-354 Improper Validation of Integrity Check Value

Affected Products

ProductVersions
BC-JAVALegion of the Bouncy Castle Inc.
  • before 1.85Affected
BC-LTS-JAVALegion of the Bouncy Castle Inc.
  • 2.73.0 to before 2.73.12Affected
BC-FJALegion of the Bouncy Castle Inc.
  • 1.0.0 to before 1.0.2.7Affected
  • 2.0.0 to before 2.0.2Affected
  • 2.1.0 to before 2.1.3Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.