Intel

AIKIDO-2026-319222

bcmls-jdk18on is vulnerable to Uncontrolled Resource Consumption

Uncontrolled Resource ConsumptionCVE-2026-12852 Published Aug 10, 2026

87

High Risk

This Affects:

JAVAbcmls-jdk18on
1.73.0 - 1.84.0
Fixed in 1.85.0
Are you affected? Scan for Free

TL;DR

The MLS wire decoder (MLSInputStream) allocates buffers using opaque length fields from the peer before checking those lengths against remaining input. A crafted MLS message can request an enormous allocation and exhaust memory. MLS clients that decode untrusted wire data are exposed to remote denial of service. The fix bounds opaque lengths before allocation.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you decode untrusted MLS wire messages.

Background info

bcmls-jdk18on is vulnerable to Uncontrolled Resource Consumption in versions 1.73.0 - 1.84.0.

How to fix this

Upgrade the org.bouncycastle:bcmls-jdk18on library to the patch version.