CVE-2026-58061: Bouncycastle · In Bouncy Castle for Java before 1.85, CCM-family modes write plaintext to caller
Affects bouncycastleSource GCVE Database
Not known to be exploited · CVSS 8.7 High.
Data as of 24 Nov 2026, 20:44 UTC
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:AmberExploitation evidence
Disclosed: evidence found.
CVE published 3 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10bouncycastlepkg:deb/ubuntu/bouncycastle?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSbouncycastlepkg:deb/ubuntu/bouncycastle?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu Pro 24.04 LTSbouncycastlepkg:deb/ubuntu/bouncycastle?arch=source&distro=esm-apps/nobleOther threats | Affected
| Fixed in– |
Ubuntu Pro 22.04 LTSbouncycastlepkg:deb/ubuntu/bouncycastle?arch=source&distro=esm-apps/jammyOther threats | Affected
| Fixed in– |
Ubuntu Pro 20.04 LTSbouncycastlepkg:deb/ubuntu/bouncycastle?arch=source&distro=esm-apps/focalOther threats | Affected
| Fixed in– |
Ubuntu Pro 18.04 LTSbouncycastlepkg:deb/ubuntu/bouncycastle?arch=source&distro=esm-apps/bionicOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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).
References
- ubuntu.com/security/CVE-2026-58061 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-58061 (opens in a new tab)
- github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%9058061 (opens in a new tab)
- github.com/bcgit/bc-java/commit/08d675106bb663ddcc6ec0a4af6f6f62f512697b (opens in a new tab)
- github.com/bcgit/bc-java/commit/cd4a5ab3ad619ff03c7767c1b8b19d5dea2970af (opens in a new tab)