Resource exhaustion in The Bouncy Castle Crypto Package For Java - CVE-2026-3505

 

Resource exhaustion in The Bouncy Castle Crypto Package For Java - CVE-2026-3505

Published: May 25, 2026


Vulnerability identifier: #VU132262
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2026-3505
CWE-ID: CWE-400
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Legion of the Bouncy Castle Inc.
Affected software:
The Bouncy Castle Crypto Package For Java

Detailed vulnerability description

The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to uncontrolled resource consumption in the bcpg PGP AEAD processing when parsing crafted PGP data with an unbounded AEAD chunk size. A remote attacker can send specially crafted PGP data to cause a denial of service.

Exploitation leads to pre-authentication resource exhaustion.


How to mitigate CVE-2026-3505

Install security update from vendor's website.

Sources