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

- Priority: **Prioritise**
- Reason: Severe, CVSS 8.7 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2026-08-03 · Modified: 2026-08-03
- Aliases: UBUNTU-CVE-2026-58061, DEBIAN-CVE-2026-58061, CGA-4jjg-75w6-vmr4, CGA-fcmf-3976-cr25
- Record: https://cvemate.com/vulnerability/CVE-2026-58061 · JSON: https://cvemate.com/vulnerability/CVE-2026-58061/json

## Description

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

## Signals

- CVSS: 8.7 high (v4.0, CVE.org) 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:Amber
- EPSS: 0.282%, percentile 22.142%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard bouncycastle-fips (Chainguard): \< 2.1.3-r0
- bouncycastle bc-java: \< 1.85
- bouncycastle bouncy\_castle\_for\_java\_lts: ≤ 2.73.11
- bouncycastle fips\_java\_api: ≥ 1.0.0, \< 1.0.2.7 \| ≥ 2.0.0, \< 2.0.2 \| ≥ 2.1.0, \< 2.1.3
- debian bouncycastle (Debian): All versions (No fix recorded) \| \< 1.86-1
- ubuntu bouncycastle (Ubuntu): All versions (No fix recorded)
- legion of the bouncy castle inc. bc-fja: ≥ 1.0.0, \< 1.0.2.7 \| ≥ 2.0.0, \< 2.0.2 \| ≥ 2.1.0, \< 2.1.3
- legion of the bouncy castle inc. bc-java: \< 1.85
- legion of the bouncy castle inc. bc-lts-java: ≥ 2.73.0, \< 2.73.12

## References

- <https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%9058061>
- <https://github.com/bcgit/bc-java/commit/cd4a5ab3ad619ff03c7767c1b8b19d5dea2970af>
- <https://github.com/bcgit/bc-java/commit/08d675106bb663ddcc6ec0a4af6f6f62f512697b>
- <https://ubuntu.com/security/CVE-2026-58061>
- <https://www.cve.org/CVERecord?id=CVE-2026-58061>
- <https://security-tracker.debian.org/tracker/CVE-2026-58061>
- <https://www.bouncycastle.org/download/bouncy-castle-java-fips/>
- <https://www.bouncycastle.org/download/bouncy-castle-java-lts/>
- <https://www.bouncycastle.org/download/bouncy-castle-java/>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/58xxx/CVE-2026-58061.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-58061>
- <https://github.com/bcgit/bc-java>
- <https://github.com/bcgit/bc-lts-java>

---

Data as of 2026-12-05T06:22:38.710Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
