Intel

AIKIDO-2026-398185

bcpkix-jdk15to18 is vulnerable to Uncontrolled Resource Consumption

CVE-2026-15055Published Aug 6, 2026
August 6, 2026

53

CVE Score

Medium

Uncontrolled Resource Consumption

Are you affected? Scan for Free

TL;DR

The PKCS#8 and PBES2 input decryptor builders take key-derivation cost parameters from the encrypted private-key material being parsed. These Key Derivation Function (KDF) cost values are not capped, so a crafted encrypted PKCS#8 key can declare an arbitrarily expensive derivation. Decrypting such input drives the key-derivation function through an excessive amount of work, leading to Denial of Service. The fix bounds the accepted KDF cost so oversized parameters are rejected.

How do I fix this?

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

Who does this affect?

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

Versions

0.0.1 - 1.84

Fixed in 1.85

Background info

bcpkix-jdk15to18 is vulnerable to Uncontrolled Resource Consumption in versions 0.0.1 - 1.84.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea