# CVE-2026-3505: bcpg-jdk12 — Fixed in 1.84

☕ Maven

Not in CISA KEV

# CVE-2026-3505 — bcpg-jdk12

[Fix: bcgit/bc-java@dc75309](https://github.com/bcgit/bc-java/commit/dc7530939ffb6cdb57636f3609d98e23b94e71c1)

CVE-2026-3505 is a Uncontrolled Resource Consumption vulnerability in org.bouncycastle:bcpg-jdk12. A fix is available for org.bouncycastle:bcpg-jdk12 — see the affected versions and patch details below.

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

Also known as[GHSA-cj8j-37rh-8475](/vulnerability/GHSA-cj8j-37rh-8475)

Published

Apr 15, 2026

Updated

Oct 28, 2026

Affected

7 pkgs

Patched

3 / 7

Exploits

None indexed

Exploitation data as of Nov 4, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

## Exploitation Status

### No confirmed exploitation observed yet

-   CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
-   CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.

Exploitation and automatability from CISA’s SSVC triage for CVE-2026-3505.

## EPSS Exploitation Probability

[via FIRST.org ↗](https://www.first.org/epss/)

0.8%probability of exploitation in next 30 days

Lower Risk0.00%

Lower risk than most CVEs56th percentile — riskier than 56% of all scored CVEsHighest risk

0.00%0.46%0.92%1.38%0.1%0.8%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from [FIRST.org EPSS](https://www.first.org/epss/).

## Real-World Exposure

7 pkgs affected

☕`org.bouncycastle:bcpg-jdk12`☕`org.bouncycastle:bcpg-jdk14`☕`org.bouncycastle:bcpg-jdk15`☕`org.bouncycastle:bcpg-jdk15to18`☕`org.bouncycastle:bcpg-jdk15on`☕`org.bouncycastle:bcpg-jdk16`☕`org.bouncycastle:bcpg-jdk18on`

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.

## 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.

## Affected Packages

7 total 3 fixed

Ecosystem

Package

Vulnerable range

Fix

☕Maven

`org.bouncycastle:bcpg-jdk12` 

all versions

No fix

☕Maven

`org.bouncycastle:bcpg-jdk14` 

all versions

1.84`org.bouncycastle:bcpg-jdk14:1.84`

☕Maven

`org.bouncycastle:bcpg-jdk15` 

all versions

No fix

☕Maven

`org.bouncycastle:bcpg-jdk15to18` 

all versions

1.84`org.bouncycastle:bcpg-jdk15to18:1.84`

☕Maven

`org.bouncycastle:bcpg-jdk15on` 

all versions

No fix

☕Maven

`org.bouncycastle:bcpg-jdk16` 

all versions

No fix

## Detection & mitigation playbook

Open-source dependency

1.  ### Detect
    
    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.bouncycastle:bcpg-jdk12, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
    
2.  ### Fix
    
    A fix is available for CVE-2026-3505; check the affected-versions list above or the advisory for the patched release of org.bouncycastle:bcpg-jdk12, then make sure no transitive dependency still pins the vulnerable range.
    
3.  ### Workarounds
    
    Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.
    

## Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatImportant

To exploit this issue, an attacker needs to submit a specially crafted PGP AEAD message containing an unbounded chunk size to an application. An attack typically requires the application to process this malformed data, resulting in the uncontrolled allocation of memory resources. The primary impact of this…

Workaround published by Red Hat

> To mitigate this vulnerability, enforce payload size limits on all incoming PGP messages before processing them. Additionally, apply memory quotas to the JVM or container environment to prevent a complete system outage in the event of memory exhaustion.

Source: [Red Hat security advisory for CVE-2026-3505](https://access.redhat.com/security/cve/cve-2026-3505) (CC BY 4.0)

Product

Fixed in

Advisory

Red Hat Build of Apache Camel 4.14 for Quarkus 3.27

`bcpg-jdk18on`

[RHSA-2026:13631](https://access.redhat.com/errata/RHSA-2026:13631)

Red Hat build of Apache Camel 4.18.1 for Spring Boot 3.5.14

`bcpg-jdk18on`

[RHSA-2026:17668](https://access.redhat.com/errata/RHSA-2026:17668)

Red Hat JBoss Enterprise Application Platform 7.4.25

`bcpg-jdk18on`

[RHSA-2026:53806](https://access.redhat.com/errata/RHSA-2026:53806)

Red Hat JBoss Enterprise Application Platform 7.4 ELS on RHEL 7

`eap7-activemq-artemis-0:2.16.0-22.redhat_00057.1.el7eap`

[RHSA-2026:53644](https://access.redhat.com/errata/RHSA-2026:53644)

Red Hat JBoss Enterprise Application Platform 8.1.6.GA

`org.bouncycastle/bcprov-jdk18on:1.84.0.redhat-00001`

[RHSA-2026:18059](https://access.redhat.com/errata/RHSA-2026:18059)

Red Hat JBoss Enterprise Application Platform 8.1.8.GA

`org.bouncycastle/bcpg-jdk18on:1.85.0.redhat-00001`

[RHSA-2026:70277](https://access.redhat.com/errata/RHSA-2026:70277)

Red Hat JBoss Enterprise Application Platform 8.1 for RHEL 10

`eap8-activemq-artemis-0:2.40.0-8.redhat_00024.1.el10eap`

[RHSA-2026:70230](https://access.redhat.com/errata/RHSA-2026:70230)

Red Hat JBoss Enterprise Application Platform 8.1 for RHEL 8

`eap8-bouncycastle-0:1.84.0-1.redhat_00001.1.el8eap`

[RHSA-2026:18054](https://access.redhat.com/errata/RHSA-2026:18054)

## Frequently Asked Questions

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.

O3 Security · Impact-Aware SCA

### Is CVE-2026-3505 in your dependencies?

Find it across Maven, including transitive dependencies.

[Scan my dependencies](/book-demo) [How O3 SCA works](/impact-aware-sca)