Intel

AIKIDO-2026-343055

bcpg-jdk18on is vulnerable to Uncontrolled Resource Consumption

Uncontrolled Resource ConsumptionCVE-2026-59648 Published 2 days ago

69

Medium Risk

This Affects:

JAVAbcpg-jdk18on
1.71.0 - 1.84.0
Fixed in 1.85.0
Are you affected? Scan for Free

TL;DR

Bouncy Castle's OpenPGP Argon2 string-to-key handling honours the memory and pass-count parameters declared in the input without enforcing an upper limit. Processing a crafted message or key can force the library to allocate very large amounts of memory. This can exhaust process resources and deny service. The fix bounds the accepted Argon2 cost parameters.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application decrypts OpenPGP data protected with an Argon2 string-to-key specifier taken from untrusted input.

Background info

bcpg-jdk18on is vulnerable to Uncontrolled Resource Consumption in versions 1.71.0 - 1.84.0.

How to fix this

Upgrade the org.bouncycastle:bcpg-jdk18on library to the patch version.