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

High 8.7 Published Updated

Attackers can access unverified plaintext data because the library writes to the buffer before validating the authentication tag.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-58061?

CVE-2026-58061 is a high-severity vulnerability in Bouncycastle Bc-Java, published on 3 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Weakness: CWE-354

Which versions are affected by CVE-2026-58061?

It affects 3 products.

Products include Bouncycastle Bc-Java, Bouncycastle Bouncy Castle for Java Lts, Bouncycastle Fips Java Api.

How do I fix CVE-2026-58061?

Upgrade to a fixed version.

Is CVE-2026-58061 being exploited?

There is no known exploitation of CVE-2026-58061 in the wild and no public exploit code.

All Bouncycastle Bc-Java vulnerabilities

Sources

Also known as CLEANSTART-2026-HT00159, CLEANSTART-2026-KD91593, CLEANSTART-2026-NX49206, CLEANSTART-2026-QN59512, CLEANSTART-2026-XM21821, DEBIAN-CVE-2026-58061 and 2 more.

Is CVE-2026-58061 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free