{"id":"GHSA-cj8j-37rh-8475","summary":"Bouncy Castle Uncontrolled Resource Consumption vulnerability","details":"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.\n\nUnbounded PGP AEAD chunk size leads to pre-auth resource exhaustion.","aliases":["CVE-2026-3505"],"modified":"2026-08-24T00:36:40.252673669Z","published":"2026-04-17T18:31:50Z","database_specific":{"cwe_ids":["CWE-400"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2026-04-18T01:06:35Z","nvd_published_at":"2026-04-15T10:16:49Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-3505"},{"type":"WEB","url":"https://github.com/bcgit/bc-java/commit/dc7530939ffb6cdb57636f3609d98e23b94e71c1"},{"type":"PACKAGE","url":"https://github.com/bcgit/bc-java"},{"type":"WEB","url":"https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%903505"}],"affected":[{"package":{"name":"org.bouncycastle:bcpg-jdk12","ecosystem":"Maven","purl":"pkg:maven/org.bouncycastle/bcpg-jdk12"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"130"}]}],"versions":["130"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-cj8j-37rh-8475/GHSA-cj8j-37rh-8475.json"}},{"package":{"name":"org.bouncycastle:bcpg-jdk14","ecosystem":"Maven","purl":"pkg:maven/org.bouncycastle/bcpg-jdk14"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.84"}]}],"versions":["1.44","1.45","1.46","1.47","1.48","1.49","1.50","1.51","1.53","1.54","1.55","1.56","1.57","1.58","1.59","1.60","1.61","1.62","1.63","1.64","1.65","1.67","1.68","1.69","1.70","1.71","1.72","1.72.1","1.73","1.74","1.75","1.76","1.77","1.78","1.78.1","1.79","1.80","1.81","1.82","1.83"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-cj8j-37rh-8475/GHSA-cj8j-37rh-8475.json"}},{"package":{"name":"org.bouncycastle:bcpg-jdk15","ecosystem":"Maven","purl":"pkg:maven/org.bouncycastle/bcpg-jdk15"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.46"}]}],"versions":["1.43","1.44","1.45","1.46"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-cj8j-37rh-8475/GHSA-cj8j-37rh-8475.json"}},{"package":{"name":"org.bouncycastle:bcpg-jdk15to18","ecosystem":"Maven","purl":"pkg:maven/org.bouncycastle/bcpg-jdk15to18"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.84"}]}],"versions":["1.63","1.64","1.65","1.66","1.67","1.68","1.69","1.70","1.71","1.72","1.72.1","1.72.2","1.72.3","1.73","1.74","1.75","1.76","1.77","1.78","1.78.1","1.79","1.80","1.81","1.82","1.83"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-cj8j-37rh-8475/GHSA-cj8j-37rh-8475.json"}},{"package":{"name":"org.bouncycastle:bcpg-jdk15on","ecosystem":"Maven","purl":"pkg:maven/org.bouncycastle/bcpg-jdk15on"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.70"}]}],"versions":["1.46","1.47","1.48","1.49","1.50","1.51","1.52","1.53","1.54","1.55","1.56","1.57","1.58","1.59","1.60","1.61","1.62","1.63","1.64","1.65","1.66","1.67","1.68","1.69","1.70"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-cj8j-37rh-8475/GHSA-cj8j-37rh-8475.json"}},{"package":{"name":"org.bouncycastle:bcpg-jdk16","ecosystem":"Maven","purl":"pkg:maven/org.bouncycastle/bcpg-jdk16"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.46"}]}],"versions":["1.43","1.44","1.45","1.46"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-cj8j-37rh-8475/GHSA-cj8j-37rh-8475.json"}},{"package":{"name":"org.bouncycastle:bcpg-jdk18on","ecosystem":"Maven","purl":"pkg:maven/org.bouncycastle/bcpg-jdk18on"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.84"}]}],"versions":["1.71","1.71.1","1.72","1.72.1","1.72.2","1.73","1.74","1.75","1.76","1.77","1.78","1.78.1","1.79","1.80","1.80.2","1.81","1.81.1","1.82","1.83"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-cj8j-37rh-8475/GHSA-cj8j-37rh-8475.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}