Intel

AIKIDO-2026-495603

bcprov-jdk18on is vulnerable to Inefficient Algorithmic Complexity

Inefficient Algorithmic ComplexityCVE-2026-58059 Published Aug 10, 2026

87

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

Stringifying X.500 distinguished names performs escaping in quadratic time relative to input size. A large or highly escape-heavy DN can consume excessive CPU when converted to a string. Services that render or log untrusted DNs can be stalled. The fix uses linear-time escaping for DN stringification.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you convert untrusted X.500 DNs to strings.

Background info

bcprov-jdk18on is vulnerable to Inefficient Algorithmic Complexity 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.