Intel

AIKIDO-2026-62304

bcprov-jdk18on is vulnerable to Uncontrolled Resource Consumption

CVE-2026-13586Published Aug 5, 2026
August 5, 2026

53

CVE Score

Medium

Uncontrolled Resource Consumption

Are you affected? Scan for Free

TL;DR

The PKCS#12 keystore implementation in the Bouncy Castle JCE provider honours the MAC and bag-decryption key-derivation iteration count declared in an input file without an effective upper bound. Loading a crafted PKCS#12 keystore that declares an extremely large iteration count forces excessive key-derivation work. Before the fix, parsing untrusted PKCS#12 data can drive uncontrolled resource consumption. The fix validates and bounds the accepted iteration count during keystore load and bag decryption

How do I fix this?

Upgrade the org.bouncycastle:bcprov-jdk18on 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 you load PKCS#12 files from untrusted sources.

Versions

0.0.1 - 1.84

Fixed in 1.85

Background info

bcprov-jdk18on 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