Intel

AIKIDO-2026-473893

bcprov-jdk18on is vulnerable to Uncontrolled Resource Consumption

Uncontrolled Resource ConsumptionCVE-2026-14682 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

DefiniteLengthInputStream can allocate the full declared definite length up front without an adequate upper bound relative to available input or memory. A crafted ASN.1/definite-length encoding can trigger out-of-memory conditions. Applications parsing untrusted encodings are exposed to denial of service. The fix caps up-front allocation and reads incrementally within safe bounds.

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 large declared lengths.

Background info

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