GHSA-cj8j-37rh-8475
Bouncy Castle Uncontrolled Resource Consumption vulnerability
At a glance
- Published
- Updated
- CVE
- CVE-2026-3505
- CVSS_V4
- 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
Description
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.
Affected packages
| Package | Versions |
|---|---|
| Maven · org.bouncycastle:bcpg-jdk12 | introduced 0, last affected 130 |
| Maven · org.bouncycastle:bcpg-jdk14 | introduced 0, fixed 1.84 |
| Maven · org.bouncycastle:bcpg-jdk15 | introduced 0, last affected 1.46 |
| Maven · org.bouncycastle:bcpg-jdk15to18 | introduced 0, fixed 1.84 |
| Maven · org.bouncycastle:bcpg-jdk15on | introduced 0, last affected 1.70 |
| Maven · org.bouncycastle:bcpg-jdk16 | introduced 0, last affected 1.46 |
| Maven · org.bouncycastle:bcpg-jdk18on | introduced 0, fixed 1.84 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-3505 ADVISORY
- https://github.com/bcgit/bc-java/commit/dc7530939ffb6cdb57636f3609d98e23b94e71c1 WEB
- https://github.com/bcgit/bc-java PACKAGE
- https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%903505 WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |