Intel

AIKIDO-2026-593908

bcpkix-jdk18on is vulnerable to Uncontrolled Resource Consumption

Uncontrolled Resource ConsumptionCVE-2026-15055 Published 2 days ago

53

Medium Risk

This Affects:

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

TL;DR

The PKCS#8 and PBES2 decryptor provider builders in the org.bouncycastle.pkcs and org.bouncycastle.openssl packages honour the key-derivation cost parameters declared in encrypted private-key input without an upper bound. Decrypting a crafted encrypted private key that declares an extreme key-derivation cost forces excessive computation. Before the fix, untrusted PKCS#8 or PBES2 input can drive uncontrolled resource consumption. The fix imposes limits on the accepted key-derivation parameters.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you decrypt PKCS#8 or PBES2 encrypted private keys from untrusted sources.

Background info

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

How to fix this

Upgrade the org.bouncycastle:bcpkix-jdk18on library to the patch version.