CVE-2026-3505
Unbounded PGP AEAD chunk size leads to pre-auth resource exhaustion.
Also known as GHSA-cj8j-37rh-8475
Mitigation
- Upgrade org.bouncycastle:bcpg-jdk14 to 1.84 or later.
- Upgrade org.bouncycastle:bcpg-jdk15to18 to 1.84 or later.
- Upgrade org.bouncycastle:bcpg-jdk18on to 1.84 or later.
Who should check
- Projects that depend on Maven package org.bouncycastle:bcpg-jdk12 (<= 130)
- Projects that depend on Maven package org.bouncycastle:bcpg-jdk14 (< 1.84)
- Projects that depend on Maven package org.bouncycastle:bcpg-jdk15 (<= 1.46)
- Projects that depend on Maven package org.bouncycastle:bcpg-jdk15to18 (< 1.84)
- Projects that depend on Maven package org.bouncycastle:bcpg-jdk15on (<= 1.70)
- Projects that depend on Maven package org.bouncycastle:bcpg-jdk16 (<= 1.46)
- Projects that depend on Maven package org.bouncycastle:bcpg-jdk18on (< 1.84)
- Anyone running Legion of the Bouncy Castle Inc. BC-JAVA >= 1.74, < 1.80.2; >= 1.81, < 1.81.1; >= 1.82, < 1.84
Vulnerability facts
- Affected
- org.bouncycastle:bcpg-jdk12 <= 130; org.bouncycastle:bcpg-jdk14 < 1.84; org.bouncycastle:bcpg-jdk15 <= 1.46; org.bouncycastle:bcpg-jdk15to18 < 1.84; org.bouncycastle:bcpg-jdk15on <= 1.70; org.bouncycastle:bcpg-jdk16 <= 1.46; org.bouncycastle:bcpg-jdk18on < 1.84
- Fixed in
- 1.84
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 8.7 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Attack requirements: None
- Privileges required: None
- User interaction: None
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- EPSS
- 0.92% chance of exploitation in 30 days (percentile 58, 2026-11-26)
- CWE
- CWE-770, CWE-400
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.bouncycastle:bcpg-jdk12 | <= 130 | — | osv |
| Maven org.bouncycastle:bcpg-jdk14 | < 1.84 | 1.84 | osv |
| Maven org.bouncycastle:bcpg-jdk15 | <= 1.46 | — | osv |
| Maven org.bouncycastle:bcpg-jdk15to18 | < 1.84 | 1.84 | osv |
| Maven org.bouncycastle:bcpg-jdk15on | <= 1.70 | — | osv |
| Maven org.bouncycastle:bcpg-jdk16 | <= 1.46 | — | osv |
| Maven org.bouncycastle:bcpg-jdk18on | < 1.84 | 1.84 | osv |
| Legion of the Bouncy Castle Inc. BC-JAVA | >= 1.74, < 1.80.2; >= 1.81, < 1.81.1; >= 1.82, < 1.84 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-3505. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-3505.md Affected: org.bouncycastle:bcpg-jdk12 <= 130; org.bouncycastle:bcpg-jdk14 < 1.84; org.bouncycastle:bcpg-jdk15 <= 1.46; org.bouncycastle:bcpg-jdk15to18 < 1.84; org.bouncycastle:bcpg-jdk15on <= 1.70; org.bouncycastle:bcpg-jdk16 <= 1.46; org.bouncycastle:bcpg-jdk18on < 1.84 Fixed in: 1.84 Steps: 1. Search this machine and project for org.bouncycastle:bcpg-jdk12 (Maven), org.bouncycastle:bcpg-jdk14 (Maven), org.bouncycastle:bcpg-jdk15 (Maven), org.bouncycastle:bcpg-jdk15to18 (Maven), org.bouncycastle:bcpg-jdk15on (Maven), org.bouncycastle:bcpg-jdk16 (Maven): dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
- https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%903505
- https://access.redhat.com/errata/RHSA-2026:53644
- https://access.redhat.com/errata/RHSA-2026:53645
- https://access.redhat.com/errata/RHSA-2026:18054
- https://access.redhat.com/errata/RHSA-2026:53646
- https://access.redhat.com/errata/RHSA-2026:18055
- https://access.redhat.com/errata/RHSA-2026:60247
- https://access.redhat.com/errata/RHSA-2026:60249
- https://access.redhat.com/errata/RHSA-2026:60248
- https://access.redhat.com/errata/RHSA-2026:60239
- https://access.redhat.com/errata/RHSA-2026:60251
- https://access.redhat.com/errata/RHSA-2026:60246
- https://access.redhat.com/errata/RHSA-2026:60250
- https://access.redhat.com/errata/RHSA-2026:60252
- https://access.redhat.com/errata/RHSA-2026:60259
- https://access.redhat.com/errata/RHSA-2026:60254
- https://access.redhat.com/errata/RHSA-2026:60256
- https://access.redhat.com/errata/RHSA-2026:13631
- https://access.redhat.com/errata/RHSA-2026:18059
- https://access.redhat.com/errata/RHSA-2026:17668
- https://nvd.nist.gov/vuln/detail/CVE-2026-3505
FAQ
Is CVE-2026-3505 being exploited?
There is no confirmed exploitation: CVE-2026-3505 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.92% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-3505?
High: CVSS 8.7 (v4.0, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2026-3505?
org.bouncycastle:bcpg-jdk12 <= 130; org.bouncycastle:bcpg-jdk14 < 1.84; org.bouncycastle:bcpg-jdk15 <= 1.46; org.bouncycastle:bcpg-jdk15to18 < 1.84; org.bouncycastle:bcpg-jdk15on <= 1.70; org.bouncycastle:bcpg-jdk16 <= 1.46; org.bouncycastle:bcpg-jdk18on < 1.84.
Is there a fix for CVE-2026-3505?
Yes. Fixed in 1.84. Upgrade org.bouncycastle:bcpg-jdk14 to 1.84 or later. Upgrade org.bouncycastle:bcpg-jdk15to18 to 1.84 or later. Upgrade org.bouncycastle:bcpg-jdk18on to 1.84 or later.
How do I check if I'm affected by CVE-2026-3505?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.