Loading...
Skip to main content

CVE-2026-3505 — Vulnerability in org.bouncycastle:bcpg-jdk12 — CVE...

HIGH

Bouncy Castle Uncontrolled Resource Consumption vulnerability

Published April 17, 2026Updated September 10, 2026Source: osv

Summary

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.

Advisory Timeline

  • First published April 17, 2026 (178 days ago).
  • Last revised September 10, 2026 — 145 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update org.bouncycastle:bcpg-jdk15to18 to 1.84 or later
<!-- Update pom.xml dependency version to 1.84 for org.bouncycastle:bcpg-jdk15to18 -->
Maven
Update org.bouncycastle:bcpg-jdk18on to 1.84 or later
<!-- Update pom.xml dependency version to 1.84 for org.bouncycastle:bcpg-jdk18on -->
Maven
Update org.bouncycastle:bcpg-jdk14 to 1.84 or later
<!-- Update pom.xml dependency version to 1.84 for org.bouncycastle:bcpg-jdk14 -->

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (7)

Affects 1 ecosystem: maven (7).

PackageEcosystemAffectedFixed In
org.bouncycastle:bcpg-jdk12
maven
130Range-based data available
org.bouncycastle:bcpg-jdk15to18
maven
1.63, 1.64, 1.65, 1.66 (+21 more)1.84
org.bouncycastle:bcpg-jdk15
maven
1.43, 1.44, 1.45, 1.46Range-based data available
org.bouncycastle:bcpg-jdk18on
maven
1.71, 1.71.1, 1.72, 1.72.1 (+15 more)1.84
org.bouncycastle:bcpg-jdk15on
maven
1.46, 1.47, 1.48, 1.49 (+21 more)Range-based data available
org.bouncycastle:bcpg-jdk14
maven
1.44, 1.45, 1.46, 1.47 (+36 more)1.84
org.bouncycastle:bcpg-jdk16
maven
1.43, 1.44, 1.45, 1.46Range-based data available

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-400
    Uncontrolled Resource ConsumptionMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
—
Confidentiality
—
Integrity
—
Availability
—

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

Frequently Asked Questions

What is CVE-2026-3505?
Bouncy Castle Uncontrolled Resource Consumption vulnerability This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
How do I check if my project is affected by CVE-2026-3505?
CVE-2026-3505 affects org.bouncycastle:bcpg-jdk12, org.bouncycastle:bcpg-jdk15to18 and org.bouncycastle:bcpg-jdk15 (and 4 more). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-3505 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
7.5

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-cj8j-37rh-8475

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies