Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Maven
Not in CISA KEV

GHSA-cj8j-37rh-8475 bcpg-jdk12

Fix: bcgit/bc-java@dc75309

GHSA-cj8j-37rh-8475 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.

Bouncy Castle Uncontrolled Resource Consumption vulnerability

Also known asCVE-2026-3505
Published
Apr 17, 2026
Updated
Sep 10, 2026
Affected
7 pkgs
Patched
3 / 7
Exploits
None indexed
Exploitation data as of Sep 21, 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 GHSA-cj8j-37rh-8475.

EPSS Exploitation Probability

via FIRST.org ↗
0.8%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs54th percentile — riskier than 54% of all scored CVEsHighest risk

EPSS (Exploit Prediction Scoring System) is a daily probability model maintained by FIRST.org. It estimates the likelihood a CVE will be exploited in production environments within the next 30 days, derived from real-world threat intelligence signals.

Real-World Exposure

7 pkgs affected
org.bouncycastle:bcpg-jdk12org.bouncycastle:bcpg-jdk14org.bouncycastle:bcpg-jdk15org.bouncycastle:bcpg-jdk15to18org.bouncycastle:bcpg-jdk15onorg.bouncycastle:bcpg-jdk16org.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 vulnerability in Legion of the Bouncy Castle Inc. BC-JAVA bcpg on all (pg modules). This issue affects BC-JAVA before 1.84.

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

Affected Packages

7 total 3 fixed
EcosystemPackageVulnerable rangeFix
Mavenorg.bouncycastle:bcpg-jdk12all versionsNo fix
Mavenorg.bouncycastle:bcpg-jdk14all versions1.84org.bouncycastle:bcpg-jdk14:1.84
Mavenorg.bouncycastle:bcpg-jdk15all versionsNo fix
Mavenorg.bouncycastle:bcpg-jdk15to18all versions1.84org.bouncycastle:bcpg-jdk15to18:1.84
Mavenorg.bouncycastle:bcpg-jdk15onall versionsNo fix
Mavenorg.bouncycastle:bcpg-jdk16all versionsNo 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

    No patched version of org.bouncycastle:bcpg-jdk12 has shipped for GHSA-cj8j-37rh-8475 yet. Where your build allows, override or pin the dependency away from the vulnerable range, and apply any maintainer-recommended mitigation.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

  4. How O3 protects you

    O3 Security's impact-aware SCA analyses which vulnerable code paths your application actually calls, so a match like GHSA-cj8j-37rh-8475 can be triaged on real exposure rather than presence alone.

Tailored to GHSA-cj8j-37rh-8475. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.

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…

ProductFixed inAdvisory
Red Hat Build of Apache Camel 4.14 for Quarkus 3.27bcpg-jdk18onRHSA-2026:13631
Red Hat build of Apache Camel 4.18.1 for Spring Boot 3.5.14bcpg-jdk18onRHSA-2026:17668
Red Hat JBoss Enterprise Application Platform 7.4 ELS on RHEL 7eap7-activemq-artemis-0:2.16.0-22.redhat_00057.1.el7eapRHSA-2026:53644
Red Hat JBoss Enterprise Application Platform 7.4 ELS on RHEL 8eap7-activemq-artemis-0:2.16.0-22.redhat_00057.1.el8eapRHSA-2026:53645
Red Hat JBoss Enterprise Application Platform 7.4 ELS on RHEL 9eap7-activemq-artemis-0:2.16.0-22.redhat_00057.1.el9eapRHSA-2026:53646
Red Hat JBoss Enterprise Application Platform 8.1.7.GAorg.bouncycastle/bcpg-jdk18on:1.84.0.redhat-00001RHSA-2026:18059
Red Hat JBoss Enterprise Application Platform 8.1 for RHEL 8eap8-bouncycastle-0:1.84.0-1.redhat_00001.1.el8eapRHSA-2026:18054
Red Hat JBoss Enterprise Application Platform 8.1 for RHEL 9eap8-bouncycastle-0:1.84.0-1.redhat_00001.1.el9eapRHSA-2026:18055

Frequently Asked Questions

Allocation of resources without limits or throttling vulnerability in Legion of the Bouncy Castle Inc. BC-JAVA bcpg on all (pg modules). This issue affects BC-JAVA before 1.84. Unbounded PGP AEAD chunk size leads to pre-auth resource exhaustion.
O3 Security · Impact-Aware SCA

Is GHSA-cj8j-37rh-8475 in your dependencies?

O3 Security finds GHSA-cj8j-37rh-8475 across Maven dependencies, including transitive ones, and its impact-aware SCA ranks findings by whether your code actually calls the vulnerable path.

GHSA-cj8j-37rh-8475: bcpg-jdk12 DoS | O3 Security