CVE-2026-3505 Unbounded PGP AEAD chunk size leads to pre-auth resource exhaustion.

High 8.7 Published Updated

Attackers can cause resource exhaustion in BC-JAVA by sending unbounded PGP AEAD chunk sizes, requiring an upgrade to patched versions.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-3505?

CVE-2026-3505 is a high-severity denial of service vulnerability in Legion of the Bouncy Castle Inc. BC-JAVA, published on 15 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Allocation of resources without limits or throttling, Uncontrolled Resource Consumption vulnerability in Legion of the Bouncy Castle Inc. BC-JAVA bcpg on all (pg modules).

This vulnerability is associated with program files AEADEncDataPacket.Java, BcAEADUtil.Java, JceAEADUtil.Java, OperatorHelper.Java.

This issue affects BC-JAVA: from 1.74 before 1.80.2, from 1.81 before 1.81.1, from 1.82 before 1.84.

Weakness: CWE-770, CWE-400

Which versions are affected by CVE-2026-3505?

14 open source packages ship an affected version, including org.bouncycastle:bcpg-jdk12, org.bouncycastle:bcpg-jdk14 and org.bouncycastle:bcpg-jdk15.

PackageAffectedFixed in
org.bouncycastle:bcpg-jdk12 MavenAll versions to 130None
org.bouncycastle:bcpg-jdk12 MavenAll versions to 130None
org.bouncycastle:bcpg-jdk14 MavenAll versions1.84
org.bouncycastle:bcpg-jdk14 MavenAll versions1.84
org.bouncycastle:bcpg-jdk15 MavenAll versions to 1.46None
org.bouncycastle:bcpg-jdk15 MavenAll versions to 1.46None
8 more packages
org.bouncycastle:bcpg-jdk15on MavenAll versions to 1.70None
org.bouncycastle:bcpg-jdk15on MavenAll versions to 1.70None
org.bouncycastle:bcpg-jdk15to18 MavenAll versions1.84
org.bouncycastle:bcpg-jdk15to18 MavenAll versions1.84
org.bouncycastle:bcpg-jdk16 MavenAll versions to 1.46None
org.bouncycastle:bcpg-jdk16 MavenAll versions to 1.46None
org.bouncycastle:bcpg-jdk18on MavenAll versions1.84
org.bouncycastle:bcpg-jdk18on MavenAll versions1.84

How do I fix CVE-2026-3505?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2026-3505 being exploited?

There is no known exploitation of CVE-2026-3505 in the wild and no public exploit code.

Sources

Also known as CLEANSTART-2026-UF42404, CLEANSTART-2026-UH58256, CLSA-2026-1789213301, CLSA-2026-1792700416, DEBIAN-CVE-2026-3505, ECHO-4c5b-c10c-c548 and 13 more.

Is CVE-2026-3505 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free