Intel

AIKIDO-2026-464797

bcpg-jdk18on is vulnerable to Uncontrolled Resource Consumption

Uncontrolled Resource ConsumptionCVE-2026-59649 Published Aug 5, 2026

87

High Risk

This Affects:

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

TL;DR

Bouncy Castle's OpenPGP user-attribute subpacket parser sizes its buffer from the declared subpacket length before reading the data, bounded only by the JVM heap. A crafted certificate or key with an oversized user-attribute subpacket forces an excessive up-front allocation. This can trigger an out-of-memory condition and crash or freeze the application. The fix bounds the subpacket length before allocation.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application parses OpenPGP certificates or keys containing user-attribute subpackets taken from untrusted input.

Background info

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

How to fix this

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

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform