8.7High
CVE-2026-12852MLS wire decoder allocates attacker-declared opaque length before bounds check
Description
In Bouncy Castle for Java before 1.85, MLS wire decoder allocates attacker-declared opaque length before bounds check.
Weakness (CWE):
CWE-789
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| bouncycastle | bc-java | < 1.85 | |
| Legion of the Bouncy Castle Inc. | BC-JAVA | 1.73 – < 1.85 |
References and patches
- https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%9012852 vendor-advisoryThird Party Advisory
- https://github.com/bcgit/bc-java/commit/a747038bb5bbd5e29fb2b7607ab38af1fd8d1790 patchPatch
CPE matches (NVD) (1)
cpe:2.3:a:bouncycastle:bc-java:*:*:*:*:*:*:*:*< 1.85