Intel

AIKIDO-2026-307106

bcprov-jdk18on is vulnerable to Uncontrolled Resource Consumption

Uncontrolled Resource ConsumptionCVE-2026-58060 Published Aug 10, 2026

87

High Risk

This Affects:

JAVAbcprov-jdk18on
1.65.0 - 1.84.0
Fixed in 1.85.0
Are you affected? Scan for Free

TL;DR

HSS/LMS public-key parsing accepts an unbounded level count from the encoded key and allocates structures sized by that count during verify. A crafted public key can force huge allocations. Verifiers that accept untrusted HSS keys are exposed to denial of service. The fix bounds the HSS level count before allocation.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you verify HSS/LMS signatures or parse untrusted HSS public keys.

Background info

bcprov-jdk18on is vulnerable to Uncontrolled Resource Consumption in versions 1.65.0 - 1.84.0.

How to fix this

Upgrade the org.bouncycastle:bcprov-jdk18on and/or the org.bouncycastle:bcprov-jdk15to18 library to the patch version.