Intel

AIKIDO-2026-439774

bcprov-jdk18on is vulnerable to Uncontrolled Recursion

Uncontrolled RecursionCVE-2026-13506 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

Forcing a lazy ASN.1 sequence to materialize resets the nesting-depth guard used by the ASN.1 parser. Nested crafted encodings can then recurse past the intended depth limit. Parsing untrusted ASN.1 can lead to stack exhaustion or denial of service. The fix preserves the nesting-depth accounting across lazy sequence forcing.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you parse untrusted ASN.1 with nested encodings.

Background info

bcprov-jdk18on is vulnerable to Uncontrolled Recursion 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.