Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.bouncycastle/bcpg-jdk18on
  4. ›
  5. CVE-2026-3505

CVE-2026-3505: Bouncy Castle Uncontrolled Resource Consumption vulnerability

April 17, 2026 (updated April 18, 2026)

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.

References

  • github.com/advisories/GHSA-cj8j-37rh-8475
  • github.com/bcgit/bc-java
  • github.com/bcgit/bc-java/commit/dc7530939ffb6cdb57636f3609d98e23b94e71c1
  • github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%903505
  • nvd.nist.gov/vuln/detail/CVE-2026-3505

Code Behaviors & Features

Detect and mitigate CVE-2026-3505 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.84

Fixed versions

  • 1.84

Solution

Upgrade to version 1.84 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Source file

maven/org.bouncycastle/bcpg-jdk18on/CVE-2026-3505.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:18:38 +0000.