CVE-2026-12852
bouncycastle: Bouncy Castle for Java: Denial of Service via MLS wire decoder
Severity
ImportantRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · August 3, 2026
Updated · August 29, 2026
Description
A flaw was found in Bouncy Castle for Java. A remote attacker could exploit this by providing a specially crafted message to the MLS wire decoder. The decoder allocates an attacker-declared opaque length without first performing a bounds check. This can lead to excessive memory allocation, resulting in a Denial of Service (DoS) for the application.
Statement
This vulnerability targets the Messaging Layer Security (MLS) module, which in Bouncy Castle is packaged as bcmls. No Red Hat products are affected.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CWE-1284 · Improper Validation of Specified Quantity in Input