Skip to main content

Memory Allocation with Excessive Size Value

CVE-2026-14682

Severity High
Score 8.7/10

Summary

In Bouncy Castle for Java prior to 1.85, Possible OOM from unbounded up-front allocation on a definite-length read. This issue also affects Bouncy Castle for Java LTS prior to 2.73.12, and Bouncy Castle for Java FIPS (BC-FJA) prior to bc-fips 1.0.2.7 (1.0.X series), 2.0.2 (2.0.X series) and 2.1.3 (2.1.X series), and prior to bctls-fips 1.0.24 and 2.x prior to 2.1.24.

  • LOW
  • NETWORK
  • NONE
  • NONE

CWE-789 - Memory Allocation with Excessive Size Value

The product allocates memory based on an untrusted, large size value, but it does not ensure that the size is within expected limits, allowing arbitrary amounts of memory to be allocated.

Advisory Timeline

  • Published