CVE-2026-3505Unbounded PGP AEAD chunk size leads to pre-auth resource exhaustion.
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.
What to do
Fixed builds are available from Debian, Maven: see the table below for the fixed version per release.
Debian, Maven, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | bouncycastle | Fix pending | UBUNTU-CVE-2026-3505 | |
| Ubuntu 26.04 | bouncycastle | Under investigation | UBUNTU-CVE-2026-3505 | |
| Ubuntu 25.10 | bouncycastle | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-3505 | |
| Ubuntu 24.04 | bouncycastle | Fix pending | UBUNTU-CVE-2026-3505 | |
| Ubuntu 22.04 | bouncycastle | Fix pending | UBUNTU-CVE-2026-3505 | |
| Ubuntu 20.04 | bouncycastle | Fix pending | UBUNTU-CVE-2026-3505 | |
| Ubuntu 18.04 | bouncycastle | Fix pending | UBUNTU-CVE-2026-3505 | |
| Ubuntu 16.04 | bouncycastle | Fix pending | UBUNTU-CVE-2026-3505 | |
| Debian 14 | bouncycastle | Fixed | 1.86-1 | DEBIAN-CVE-2026-3505 |
| Debian 13 | bouncycastle | Fix pending | DEBIAN-CVE-2026-3505 | |
| Debian 12 | bouncycastle | Fix pending | DEBIAN-CVE-2026-3505 | |
| Red Hat Enterprise Linux 9 | jmc | Fix pending Affected | ||
| Maven library | org.bouncycastle:bcpg-jdk12 | Fix pending | GHSA-cj8j-37rh-8475 | |
| Maven library | org.bouncycastle:bcpg-jdk14 | Fixed | 1.84 | GHSA-cj8j-37rh-8475 |
| Maven library | org.bouncycastle:bcpg-jdk15 | Fix pending | GHSA-cj8j-37rh-8475 | |
| Maven library | org.bouncycastle:bcpg-jdk15on | Fix pending | GHSA-cj8j-37rh-8475 | |
| Maven library | org.bouncycastle:bcpg-jdk15to18 | Fixed | 1.84 | GHSA-cj8j-37rh-8475 |
| Maven library | org.bouncycastle:bcpg-jdk16 | Fix pending | GHSA-cj8j-37rh-8475 | |
| Maven library | org.bouncycastle:bcpg-jdk18on | Fixed | 1.84 | GHSA-cj8j-37rh-8475 |
What the vendor says
As published in the CVE record by bcorg, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Legion of the Bouncy Castle Inc. BC-JAVA: affected: 1.74 to before 1.80.2, 1.81 to before 1.81.1, 1.82 to before 1.84; fixed in
1.80.2,1.81.1,1.84
Vendor advisories:
- 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)
References
- https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%903505
- https://github.com/bcgit/bc-java/commit/dc7530939ffb6cdb57636f3609d98e23b94e71c1
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.