Memory Allocation with Excessive Size Value in org.bouncycastle:bcprov-jdk15on
CVE-2026-12185
- org.bouncycastle:bcprov-jdk15on
- org.bouncycastle:bcprov-lts8on
Summary
In Bouncy Castle for Java prior to 1.85, BKS/UBER keystore allocates from untrusted lengths before integrity check. This issue also affects Bouncy Castle for Java LTS prior to 2.73.12.
- LOW
- NETWORK
- LOW
- UNCHANGED
- NONE
- NONE
- LOW
- 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.
Advisory Timeline
- Published