CVE-2026-58061: CCM-family modes write plaintext to caller buffer before tag check
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).
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-58061?
CVE-2026-58061 has a high severity score of 8.7.
What does CVE-2026-58061 affect?
CVE-2026-58061 affects Bouncy Castle for Java versions before 1.85, Bouncy Castle for Java LTS before 2.73.12, and Bouncy Castle for Java FIPS versions before specific patches.
How do I fix CVE-2026-58061?
To fix CVE-2026-58061, update Bouncy Castle for Java to version 1.85 or later, as well as the applicable LTS and FIPS versions.
What are the implications of CVE-2026-58061?
CVE-2026-58061 may lead to exposure of sensitive plaintext since it writes to the caller buffer before verifying the authentication tag.
When was CVE-2026-58061 published?
CVE-2026-58061 was published on August 3, 2026.