# CVE-2026-12852: MLS wire decoder allocates attacker-declared opaque length before bounds 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: affected before 1.85 (CNA); fix release not confirmed
- Status: published
- Published: 2026-08-03 · Modified: 2026-08-03
- Aliases: UBUNTU-CVE-2026-12852, DEBIAN-CVE-2026-12852, CGA-4hpm-63wg-q6r5, CGA-gjmr-35qv-7mxj
- Record: https://cvemate.com/vulnerability/CVE-2026-12852 · JSON: https://cvemate.com/vulnerability/CVE-2026-12852/json

## Description

```text
In Bouncy Castle for Java before 1.85, MLS wire decoder allocates attacker-declared opaque length before bounds check.
```

## 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:N/VA:H/SC:N/SI:N/SA:N/U:Amber
- EPSS: 0.31%, percentile 25.716%, 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 pinot (Chainguard): All versions (No fix recorded)
- bouncycastle bc-java: \< 1.85
- 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-java: ≥ 1.73, \< 1.85

## References

- <https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%9012852>
- <https://github.com/bcgit/bc-java/commit/a747038bb5bbd5e29fb2b7607ab38af1fd8d1790>
- <https://ubuntu.com/security/CVE-2026-12852>
- <https://www.cve.org/CVERecord?id=CVE-2026-12852>
- <https://security-tracker.debian.org/tracker/CVE-2026-12852>
- <https://www.bouncycastle.org/download/bouncy-castle-java/>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/12xxx/CVE-2026-12852.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-12852>
- <https://github.com/bcgit/bc-java>

---

Data as of 2026-12-05T04:11:54.109Z. 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
