Intel

AIKIDO-2026-758882

bcprov-jdk18on is vulnerable to Uncontrolled Resource Consumption

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

71

High Risk

This Affects:

JAVAbcprov-jdk18on
0.0.1 - 1.84.0
Fixed in 1.85.0
Are you affected? Scan for Free

TL;DR

BKS and UBER keystore loading trusts length fields from the keystore file and allocates buffers from those values before verifying the integrity MAC. A crafted keystore can declare huge lengths and force large allocations during load. Applications that open untrusted keystore files can be driven into denial of service through memory exhaustion. The fix validates lengths against remaining input and defers allocation until after integrity checks succeed.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you load BKS or UBER keystores from untrusted files.

Background info

bcprov-jdk18on is vulnerable to Uncontrolled Resource Consumption in versions 0.0.1 - 1.84.0.

How to fix this

Upgrade the org.bouncycastle provider library for your JDK target (bcprov-jdk18on, bcprov-jdk15to18 or bcprov-jdk14) to the patch version.