High

Bouncy Castle Uncontrolled Resource Consumption vulnerability

  • Disclosed: 17.04.2026
  • Updated: 11.10.2026 13:20

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 software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.bouncycastle:bcpg-jdk12 <= 130 no fix
Java / Kotlin (Maven) org.bouncycastle:bcpg-jdk14 < 1.84 1.84
Java / Kotlin (Maven) org.bouncycastle:bcpg-jdk15 <= 1.46 no fix
Java / Kotlin (Maven) org.bouncycastle:bcpg-jdk15on <= 1.70 no fix
Java / Kotlin (Maven) org.bouncycastle:bcpg-jdk15to18 < 1.84 1.84
Java / Kotlin (Maven) org.bouncycastle:bcpg-jdk16 <= 1.46 no fix
Java / Kotlin (Maven) org.bouncycastle:bcpg-jdk18on < 1.84 1.84

References

CVSS score -
CVSS vector
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
Weakness (CWE)
CWE-400
Platform
Java / Kotlin (Maven)
Package
org.bouncycastle:bcpg-jdk12, org.bouncycastle:bcpg-jdk14, org.bouncycastle:bcpg-jdk15
Disclosed
17.04.2026
Updated
11.10.2026 13:20

Sources and licenses

OSV / GitHub Advisory Database - GHSA-cj8j-37rh-8475 - CC BY 4.0

Vulnerability history: org.bouncycastle:bcpg-jdk12

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

This is the only known vulnerability of this package.

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.