Memory Allocation with Excessive Size Value in org.bouncycastle:bc-fips
CVE-2026-58060
- org.bouncycastle:bc-fips
- org.bouncycastle:bcpg-lts8on
- org.bouncycastle:bcprov-jdk18on
Summary
In Bouncy Castle for Java prior to 1.85, HSS public-key level count unbounded, enabling huge allocation on verify. 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 2.0.2 (2.0.X series) and 2.1.3 (2.1.X series).
- LOW
- NETWORK
- NONE
- UNCHANGED
- NONE
- NONE
- NONE
- HIGH
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.
References
Advisory Timeline
- Published