CVE-2026-12852 PUBLISHED

MLS wire decoder allocates attacker-declared opaque length before bounds check

Assigner: bcorg
Reserved: 22.06.2026 Published: 03.08.2026 Updated: 03.08.2026

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

Metrics

CVSS Vector: 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
CVSS Score: 8.7

Product Status

Vendor Legion of the Bouncy Castle Inc.
Product BC-JAVA
Versions Default: unaffected
  • affected from 1.73 to 1.85 (excl.)

Credits

  • Alex Gaynor in collaboration with Claude and Anthropic Research reporter

References

Problem Types

  • CWE-789 Memory Allocation with Excessive Size Value CWE