Vulnerability · Published Apr 15, 2026 · Assigned by bcorg
CVE-2026-3505Unbounded PGP AEAD chunk size leads to pre-auth resource exhaustion.
High 7.5
In plain English
A high-severity resource allocation without limits in BC-JAVA from Legion of the Bouncy Castle Inc.. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 56% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Allocation of resources without limits or throttling, Uncontrolled Resource Consumption vulnerability in Legion of the Bouncy Castle Inc. BC-JAVA bcpg on all (pg modules). This vulnerability is associated with program files AEADEncDataPacket.Java, BcAEADUtil.Java, JceAEADUtil.Java, OperatorHelper.Java. This issue affects BC-JAVA: from 1.74 before 1.80.2, from 1.81 before 1.81.1, from 1.82 before 1.84.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | bouncycastle | no fix listed | DEBIAN-CVE-2026-3505 |
| Debian:13 | bouncycastle | no fix listed | DEBIAN-CVE-2026-3505 |
| Debian:14 | bouncycastle | 1.86-1 | DEBIAN-CVE-2026-3505 |
| Maven | org.bouncycastle:bcpg-jdk12 | no fix listed | GHSA-cj8j-37rh-8475 |
| Maven | org.bouncycastle:bcpg-jdk14 | 1.84 | GHSA-cj8j-37rh-8475 |
| Maven | org.bouncycastle:bcpg-jdk15 | no fix listed | GHSA-cj8j-37rh-8475 |
| Maven | org.bouncycastle:bcpg-jdk15on | no fix listed | GHSA-cj8j-37rh-8475 |
| Maven | org.bouncycastle:bcpg-jdk15to18 | 1.84 | GHSA-cj8j-37rh-8475 |
| Maven | org.bouncycastle:bcpg-jdk16 | no fix listed | GHSA-cj8j-37rh-8475 |
| Maven | org.bouncycastle:bcpg-jdk18on | 1.84 | GHSA-cj8j-37rh-8475 |
| Ubuntu:25.10 | bouncycastle | no fix listed | UBUNTU-CVE-2026-3505 |
| Ubuntu:26.04:LTS | bouncycastle | no fix listed | UBUNTU-CVE-2026-3505 |
| Ubuntu:26.10 | bouncycastle | no fix listed | UBUNTU-CVE-2026-3505 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Legion of the Bouncy Castle Inc. | BC-JAVA | 1.74 – before 1.80.21.81 – before 1.81.11.82 – before 1.84 |
Weakness: CWE-770, CWE-400 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%903505 vendor-advisory
- https://github.com/bcgit/bc-java/commit/dc7530939ffb6cdb57636f3609d98e23b94e71c1 patch
- https://access.redhat.com/security/cve/CVE-2026-3505 vdb-entry, x_refsource_REDHAT
- RHBZ#2458638 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-3505.json x_sadp-csaf-vex
- https://access.redhat.com/errata/RHSA-2026:53644 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:53645 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:18054 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:53646 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:18055 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:60247 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:60249 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:60248 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:60239 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:60251 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:60246 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:60250 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:60252 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:60259 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:60254 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:60256 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:13631 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:18059 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:17668 vendor-advisory, x_refsource_REDHAT