Skip to content

← Actionable
High, CVSS 8.7

Bouncy Castle Uncontrolled Resource Consumption vulnerability

CVE-2026-3505GHSA-cj8j-37rh-8475

What to do

Partial vendor fix. Follow the primary source's mitigation guidance and check back for a fix.

This page has no inventory attached, so it cannot say whether you are affected. A vendor fix is not proof that your deployment is fixed.

Affected packages

  • Maven org.bouncycastle:bcpg-jdk12

    Affected
    <= 130
    Fixed in
    no fixed version recorded
  • Maven org.bouncycastle:bcpg-jdk16

    Affected
    <= 1.46
    Fixed in
    no fixed version recorded
  • Maven org.bouncycastle:bcpg-jdk15on

    Affected
    <= 1.70
    Fixed in
    no fixed version recorded
  • Maven org.bouncycastle:bcpg-jdk18on

    Affected
    < 1.84
    Fixed in
    1.84
  • Maven org.bouncycastle:bcpg-jdk15to18

    Affected
    < 1.84
    Fixed in
    1.84
  • Maven org.bouncycastle:bcpg-jdk15

    Affected
    <= 1.46
    Fixed in
    no fixed version recorded
  • Maven org.bouncycastle:bcpg-jdk14

    Affected
    < 1.84
    Fixed in
    1.84

Sources

Severity and exploitation
Exploitation
No confirmed exploitation recorded. Patch Next marks exploitation only from CISA KEV.
CVSS 4.0
8.7 · 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 · score source
EPSS
  • CVE-2026-3505: 0.79% estimated exploitation activity in the next 30 days; percentile 56.19 (FIRST EPSS, 2026-11-03). This is a model estimate, not proof of exploitation or customer exposure.
Source description

As published by the source; long descriptions are shortened.

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.

Dates and revisions
Published by the source
Last modified by the source
Source last checked
  1. Revision 1 · created ·

    Published from ghsa record GHSA-cj8j-37rh-8475

Agent brief

Preview the exact text before you copy it. Commands are read-only suggestions; review them before running anything.

# Patch Next advisory brief: CVE-2026-3505

Advisory: Bouncy Castle Uncontrolled Resource Consumption vulnerability
IDs: CVE-2026-3505, GHSA-cj8j-37rh-8475
Record: https://patchnext.com/advisories/cve-2026-3505 (revision 1, source checked 26 Oct 2026, 16:45 UTC)
Inventory: none attached. This brief comes from a public page and does not say whether any deployment is affected.
Severity: High (CVSS 8.7)
Exploitation: no confirmed exploitation recorded. Patch Next confirms exploitation only from CISA KEV.
Vendor response: Partial vendor fix; fixed versions by package: org.bouncycastle:bcpg-jdk18on 1.84; org.bouncycastle:bcpg-jdk15to18 1.84; org.bouncycastle:bcpg-jdk14 1.84. A vendor fix does not mean a deployment is fixed.

## Affected components
- Maven org.bouncycastle:bcpg-jdk12: affected <= 130
- Maven org.bouncycastle:bcpg-jdk16: affected <= 1.46
- Maven org.bouncycastle:bcpg-jdk15on: affected <= 1.70
- Maven org.bouncycastle:bcpg-jdk18on: affected < 1.84; fixed in 1.84
- Maven org.bouncycastle:bcpg-jdk15to18: affected < 1.84; fixed in 1.84
- Maven org.bouncycastle:bcpg-jdk15: affected <= 1.46
- Maven org.bouncycastle:bcpg-jdk14: affected < 1.84; fixed in 1.84

## Suggested inspection (read-only)
- Maven org.bouncycastle:bcpg-jdk12: check the installed version with your package manager.
- Maven org.bouncycastle:bcpg-jdk16: check the installed version with your package manager.
- Maven org.bouncycastle:bcpg-jdk15on: check the installed version with your package manager.
- Maven org.bouncycastle:bcpg-jdk18on: check the installed version with your package manager.
- Maven org.bouncycastle:bcpg-jdk15to18: check the installed version with your package manager.
- Maven org.bouncycastle:bcpg-jdk15: check the installed version with your package manager.
- Maven org.bouncycastle:bcpg-jdk14: check the installed version with your package manager.

## Supported action
No complete vendor fix is recorded. Follow the primary source's mitigation guidance and check this record again before closing anything.

## Required regression checks
- Run the test suite and a production build.
- Exercise the features that depend on org.bouncycastle:bcpg-jdk12, org.bouncycastle:bcpg-jdk16, org.bouncycastle:bcpg-jdk15on, org.bouncycastle:bcpg-jdk18on, org.bouncycastle:bcpg-jdk15to18, org.bouncycastle:bcpg-jdk15, org.bouncycastle:bcpg-jdk14.
- Repeat the inspection and confirm that only fixed versions remain installed.

## Rollback considerations
- Keep the previous lockfile and deployment artifact. Rolling back reinstates the vulnerable version, so apply any documented mitigation while you fix forward.

## Unresolved questions
- Which deployments run an affected version?
- Exploitation status can change. Check again before lowering the priority.
- Mark the work resolved only after the fixed version is verified in production.

## Sources
- Verified: https://github.com/advisories/GHSA-cj8j-37rh-8475 (GitHub-reviewed advisory GHSA-cj8j-37rh-8475 lists affected ranges: Maven org.bouncycastle:bcpg-jdk12 >=0 =0 =0 =0 =0 =0 =0 <1.84)

Commands are suggestions: review each one before running it.

Loading voting…