{"answers":{"affected":"14 open source packages ship an affected version, including org.bouncycastle:bcpg-jdk12, org.bouncycastle:bcpg-jdk14 and org.bouncycastle:bcpg-jdk15.","exploited":"There is no known exploitation of CVE-2026-3505 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2026-3505 is a high-severity denial of service vulnerability in Legion of the Bouncy Castle Inc. BC-JAVA, published on 15 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-3505 and fix it if it is affected.\n\nWhat it is: CVE-2026-3505 is a high-severity denial of service vulnerability in Legion of the Bouncy Castle Inc. BC-JAVA, published on 15 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-3505 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.bouncycastle:bcpg-jdk12 (Maven): affected all versions up to 130; no fix listed\n- org.bouncycastle:bcpg-jdk12 (Maven): affected all versions up to 130; no fix listed\n- org.bouncycastle:bcpg-jdk14 (Maven): affected all versions; fixed in 1.84\n- org.bouncycastle:bcpg-jdk14 (Maven): affected all versions; fixed in 1.84\n- org.bouncycastle:bcpg-jdk15 (Maven): affected all versions up to 1.46; no fix listed\n- org.bouncycastle:bcpg-jdk15 (Maven): affected all versions up to 1.46; no fix listed\n- org.bouncycastle:bcpg-jdk15on (Maven): affected all versions up to 1.70; no fix listed\n- org.bouncycastle:bcpg-jdk15on (Maven): affected all versions up to 1.70; no fix listed\n- org.bouncycastle:bcpg-jdk15to18 (Maven): affected all versions; fixed in 1.84\n- org.bouncycastle:bcpg-jdk15to18 (Maven): affected all versions; fixed in 1.84\n- org.bouncycastle:bcpg-jdk16 (Maven): affected all versions up to 1.46; no fix listed\n- org.bouncycastle:bcpg-jdk16 (Maven): affected all versions up to 1.46; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-3505/ (Markdown: https://insights.sbomify.com/CVE-2026-3505/index.md)","id":"CVE-2026-3505","markdown":"https://insights.sbomify.com/CVE-2026-3505/index.md","name":"CVE-2026-3505","record":{"aliases":["CLEANSTART-2026-UF42404","CLEANSTART-2026-UH58256","CLSA-2026-1789213301","CLSA-2026-1792700416","DEBIAN-CVE-2026-3505","ECHO-4c5b-c10c-c548","GHSA-cj8j-37rh-8475","MINI-27c4-5h64-rrph","MINI-2p99-j43w-3f42","MINI-4p4m-mxq3-vwcr","MINI-68qq-24gm-wjpr","MINI-cvfq-c3rc-7m5p","MINI-f64r-pc2v-49hg","MINI-hr3h-c6r5-54hr","MINI-j58v-9r28-688h","MINI-v5ch-vc52-77vr","MINI-xppv-c284-7vxf","ROOT-APP-MAVEN-CVE-2026-3505","UBUNTU-CVE-2026-3505"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Java cryptography library","requires_auth":"none","summary":"Attackers can cause resource exhaustion in BC-JAVA by sending unbounded PGP AEAD chunk sizes, requiring an upgrade to patched versions.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"bcorg","cpe":[],"cvss":{"score":8.7,"severity":"high","source":"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","version":"4.0"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"},{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"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).\n\n This vulnerability is associated with program files AEADEncDataPacket.Java, BcAEADUtil.Java, JceAEADUtil.Java, OperatorHelper.Java.\n\nThis issue affects BC-JAVA: from 1.74 before 1.80.2, from 1.81 before 1.81.1, from 1.82 before 1.84.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Unbounded PGP AEAD chunk size leads to pre-auth resource exhaustion.","id":"CVE-2026-3505","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":14,"n_references":2,"next":{"headline":"WP-Chatbot for Messenger \u003c= 4.9 - Missing Authorization to Unauthenticated Chatbot Configuration Takeover","id":"CVE-2026-3506"},"packages":[{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["130"],"package":"org.bouncycastle:bcpg-jdk12","purl":null,"source":"GHSA-cj8j-37rh-8475"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["130"],"package":"org.bouncycastle:bcpg-jdk12","purl":"pkg:maven/org.bouncycastle/bcpg-jdk12","source":"GHSA-cj8j-37rh-8475"},{"ecosystem":"Maven","fixed":["1.84"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcpg-jdk14","purl":null,"source":"GHSA-cj8j-37rh-8475"},{"ecosystem":"Maven","fixed":["1.84"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcpg-jdk14","purl":"pkg:maven/org.bouncycastle/bcpg-jdk14","source":"GHSA-cj8j-37rh-8475"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["1.46"],"package":"org.bouncycastle:bcpg-jdk15","purl":null,"source":"GHSA-cj8j-37rh-8475"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["1.46"],"package":"org.bouncycastle:bcpg-jdk15","purl":"pkg:maven/org.bouncycastle/bcpg-jdk15","source":"GHSA-cj8j-37rh-8475"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["1.70"],"package":"org.bouncycastle:bcpg-jdk15on","purl":null,"source":"GHSA-cj8j-37rh-8475"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["1.70"],"package":"org.bouncycastle:bcpg-jdk15on","purl":"pkg:maven/org.bouncycastle/bcpg-jdk15on","source":"GHSA-cj8j-37rh-8475"},{"ecosystem":"Maven","fixed":["1.84"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcpg-jdk15to18","purl":null,"source":"GHSA-cj8j-37rh-8475"},{"ecosystem":"Maven","fixed":["1.84"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcpg-jdk15to18","purl":"pkg:maven/org.bouncycastle/bcpg-jdk15to18","source":"GHSA-cj8j-37rh-8475"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["1.46"],"package":"org.bouncycastle:bcpg-jdk16","purl":null,"source":"GHSA-cj8j-37rh-8475"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["1.46"],"package":"org.bouncycastle:bcpg-jdk16","purl":"pkg:maven/org.bouncycastle/bcpg-jdk16","source":"GHSA-cj8j-37rh-8475"},{"ecosystem":"Maven","fixed":["1.84"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcpg-jdk18on","purl":null,"source":"GHSA-cj8j-37rh-8475"},{"ecosystem":"Maven","fixed":["1.84"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcpg-jdk18on","purl":"pkg:maven/org.bouncycastle/bcpg-jdk18on","source":"GHSA-cj8j-37rh-8475"}],"prev":{"headline":"Information disclosure in Dokan: AI Powered WooCommerce Multivendor Marketplace Solution – Build Your Own Amazon, eBay, Etsy","id":"CVE-2026-3504"},"products":["BC-JAVA"],"published":"2026-04-15","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-18","vendors":["Legion of the Bouncy Castle Inc."]},"summary":"Attackers can cause resource exhaustion in BC-JAVA by sending unbounded PGP AEAD chunk sizes, requiring an upgrade to patched versions.","url":"https://insights.sbomify.com/CVE-2026-3505/"}