{"answers":{"affected":"12 open source packages ship an affected version, including org.bouncycastle:bc-fips, org.bouncycastle:bcprov-jdk15to18 and org.bouncycastle:bcprov-jdk18on. It affects 3 products.","exploited":"There is no known exploitation of CVE-2026-13506 in the wild and no public exploit code.","fix":"Upgrade org.bouncycastle:bc-fips to a fixed version for your release line: 1.0.2.7, 2.0.2 or 2.1.3.","what":"CVE-2026-13506 is a high-severity denial of service vulnerability in Bouncycastle Bc-Java, published on 3 Aug 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-13506 and fix it if it is affected.\n\nWhat it is: CVE-2026-13506 is a high-severity denial of service vulnerability in Bouncycastle Bc-Java, published on 3 Aug 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-13506 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.bouncycastle:bc-fips (Maven): affected all versions; fixed in 1.0.2.7\n- org.bouncycastle:bc-fips (Maven): affected all versions; fixed in 1.0.2.7\n- org.bouncycastle:bc-fips (Maven): affected from 2.0.0; fixed in 2.0.2\n- org.bouncycastle:bc-fips (Maven): affected from 2.0.0; fixed in 2.0.2\n- org.bouncycastle:bc-fips (Maven): affected from 2.1.0; fixed in 2.1.3\n- org.bouncycastle:bc-fips (Maven): affected from 2.1.0; fixed in 2.1.3\n- org.bouncycastle:bcprov-jdk15to18 (Maven): affected all versions; fixed in 1.85\n- org.bouncycastle:bcprov-jdk15to18 (Maven): affected all versions; fixed in 1.85\n- org.bouncycastle:bcprov-jdk18on (Maven): affected all versions; fixed in 1.85\n- org.bouncycastle:bcprov-jdk18on (Maven): affected all versions; fixed in 1.85\n- org.bouncycastle:bcprov-lts8on (Maven): affected all versions; fixed in 2.73.12\n- org.bouncycastle:bcprov-lts8on (Maven): affected all versions; fixed in 2.73.12\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-13506/ (Markdown: https://insights.sbomify.com/CVE-2026-13506/index.md)","id":"CVE-2026-13506","markdown":"https://insights.sbomify.com/CVE-2026-13506/index.md","name":"CVE-2026-13506","record":{"aliases":["CLEANSTART-2026-EQ05697","CLEANSTART-2026-FG50874","CLEANSTART-2026-RY43720","CLEANSTART-2026-VR91696","CLEANSTART-2026-WY53810","CLSA-2026-1792693862","DEBIAN-CVE-2026-13506","ECHO-0abb-2ad0-4d59","GHSA-qp49-qgx5-5m26","MINI-2xrc-pcp2-6f5p","MINI-3478-44cq-858v","MINI-347r-wm9r-7wwv","MINI-34f7-54qp-f5mw","MINI-39xm-m5wr-xw3j","MINI-45qm-ppvw-fwcr","MINI-477h-fm5c-gvrg","MINI-497h-jqj9-9mfg","MINI-4cm7-9mmv-q985","MINI-4v3g-x4mg-4vph","MINI-54gh-78ch-pg44","MINI-582q-wxcf-49hc","MINI-58rj-349v-x49j","MINI-5g3p-jm79-q6p7","MINI-68hw-47w4-h4c4","MINI-6xqj-rg55-pp68","MINI-7j22-vfjw-j6fr","MINI-88pp-hjxg-7fc3","MINI-893h-jqr3-cg7p","MINI-8c4w-vr87-m7cm","MINI-8w22-cv8w-jfgp","MINI-8wpq-6frm-jxhx","MINI-9gm4-6gw3-267j","MINI-9gv4-gfc9-3vvv","MINI-9hc2-fp47-jv6w","MINI-9vh9-c78x-7cm9","MINI-9xvg-9fhf-w2x3","MINI-c282-f2w7-qm78","MINI-ccrg-6gx7-g6x2","MINI-cjq6-j9xq-pjm5","MINI-f222-58vv-75vq","MINI-f4f6-fwxp-58h9","MINI-f5c5-3q5c-2m9v","MINI-fhw8-f797-89x8","MINI-fpph-vx99-q3gx","MINI-frhj-2gjp-64x9","MINI-fwfm-mrp3-wfq2","MINI-gmh3-2xg8-h644","MINI-gp8f-hp2w-g4vx","MINI-h5m7-cr9j-vgxp","MINI-j7r5-h3wp-q6gc","MINI-j8fm-xj5w-6vgr","MINI-m492-99r2-gw5h","MINI-mjpg-g3x6-68qq","MINI-mrph-mjh8-qj6q","MINI-p869-grjv-w683","MINI-pgfw-w6x3-5xv9","MINI-phxc-pwhg-hfhc","MINI-pjhm-j46w-ppmv","MINI-pv75-f6hp-6hff","MINI-pxqj-w3rh-vxj3","MINI-q4cg-r463-mrq3","MINI-qchx-8jj6-48wx","MINI-qxm4-38j3-vf4q","MINI-r6gr-vrf8-p7c2","MINI-rfhp-68vg-jphq","MINI-rj9g-ff7q-m27c","MINI-v42p-9rhp-chcj","MINI-v7c5-rphc-x93c","MINI-wg23-mh8m-5363","MINI-x733-482v-jp26","MINI-x9c7-xc46-pxqx","MINI-xp57-h5ch-w3rf","MINI-xvvq-w287-cxgg","ROOT-APP-MAVEN-CVE-2026-13506","UBUNTU-CVE-2026-13506"],"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 denial of service in applications using Bouncy Castle for Java by exploiting a flaw in ASN.1 sequence parsing that bypasses nesting-depth limits.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"bcorg","cpe":[{"product":"bc-java","vendor":"bouncycastle"},{"product":"bouncy_castle_for_java_lts","vendor":"bouncycastle"},{"product":"fips_java_api","vendor":"bouncycastle"}],"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/U:Amber","version":"4.0"},"cwes":[{"id":"CWE-674","name":"Uncontrolled Recursion"}],"description":"In Bouncy Castle for Java before 1.85, Lazy ASN.1 sequence forcing resets nesting-depth guard. This issue also affects Bouncy Castle for Java LTS before 2.73.12, and Bouncy Castle for Java FIPS (BC-FJA) before bc-fips 1.0.2.7 (1.0.X series), 2.0.2 (2.0.X series) and 2.1.3 (2.1.X series).","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":"Lazy ASN.1 sequence forcing resets nesting-depth guard","id":"CVE-2026-13506","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"bouncycastle:bc-java","products":["bouncycastle:bc-java"],"type":"denial_of_service","year":"2026"},"n_packages":12,"n_references":2,"next":{"headline":"volcengine OpenViking Local VectorDB Primary-key Label str_to_uint64.py str_to_uint64 data authenticity","id":"CVE-2026-13507"},"packages":[{"ecosystem":"Maven","fixed":["1.0.2.7"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bc-fips","purl":null,"source":"GHSA-qp49-qgx5-5m26"},{"ecosystem":"Maven","fixed":["1.0.2.7"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bc-fips","purl":"pkg:maven/org.bouncycastle/bc-fips","source":"GHSA-qp49-qgx5-5m26"},{"ecosystem":"Maven","fixed":["2.0.2"],"introduced":["2.0.0"],"last_affected":[],"package":"org.bouncycastle:bc-fips","purl":null,"source":"GHSA-qp49-qgx5-5m26"},{"ecosystem":"Maven","fixed":["2.0.2"],"introduced":["2.0.0"],"last_affected":[],"package":"org.bouncycastle:bc-fips","purl":"pkg:maven/org.bouncycastle/bc-fips","source":"GHSA-qp49-qgx5-5m26"},{"ecosystem":"Maven","fixed":["2.1.3"],"introduced":["2.1.0"],"last_affected":[],"package":"org.bouncycastle:bc-fips","purl":null,"source":"GHSA-qp49-qgx5-5m26"},{"ecosystem":"Maven","fixed":["2.1.3"],"introduced":["2.1.0"],"last_affected":[],"package":"org.bouncycastle:bc-fips","purl":"pkg:maven/org.bouncycastle/bc-fips","source":"GHSA-qp49-qgx5-5m26"},{"ecosystem":"Maven","fixed":["1.85"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk15to18","purl":null,"source":"GHSA-qp49-qgx5-5m26"},{"ecosystem":"Maven","fixed":["1.85"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk15to18","purl":"pkg:maven/org.bouncycastle/bcprov-jdk15to18","source":"GHSA-qp49-qgx5-5m26"},{"ecosystem":"Maven","fixed":["1.85"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk18on","purl":null,"source":"GHSA-qp49-qgx5-5m26"},{"ecosystem":"Maven","fixed":["1.85"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk18on","purl":"pkg:maven/org.bouncycastle/bcprov-jdk18on","source":"GHSA-qp49-qgx5-5m26"},{"ecosystem":"Maven","fixed":["2.73.12"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-lts8on","purl":null,"source":"GHSA-qp49-qgx5-5m26"},{"ecosystem":"Maven","fixed":["2.73.12"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-lts8on","purl":"pkg:maven/org.bouncycastle/bcprov-lts8on","source":"GHSA-qp49-qgx5-5m26"}],"prev":{"headline":"Zeroisation of sensitive key material on garbage collection relies on finalization","id":"CVE-2026-13505"},"products":["BC-FJA","BC-JAVA","BC-LTS-JAVA"],"published":"2026-08-03","related":[{"cvss_score":10,"headline":"Legion of the Bouncy Castle Java Cryptography API Bleichenbacher Oracle Vulnerability","id":"CVE-2007-6721","kev_date_added":null,"published":"2009-03-30"},{"cvss_score":9.8,"headline":"Deserialization of Untrusted Data in Bouncy castle","id":"CVE-2018-1000613","kev_date_added":null,"published":"2018-07-09"},{"cvss_score":9.3,"headline":"Stapled OCSP response accepted without binding to the checked certificate","id":"CVE-2026-58062","kev_date_added":null,"published":"2026-08-03"},{"cvss_score":9.3,"headline":"JSSE hostname verifier CN-fallback enabled by default despite documented opt-in","id":"CVE-2026-59638","kev_date_added":null,"published":"2026-08-03"},{"cvss_score":9.3,"headline":"MTI/A0 DH agreement exponentiates unvalidated peer value","id":"CVE-2026-59650","kev_date_added":null,"published":"2026-08-03"},{"cvss_score":9.3,"headline":"Name Constraints bypass via trailing dot in rfc822Name and URI","id":"CVE-2026-8763","kev_date_added":null,"published":"2026-08-03"},{"cvss_score":8.7,"headline":"MLS membership checks compare a uint32 leaf_index as signed, admitting an out-of-range sender","id":"CVE-2026-17507","kev_date_added":null,"published":"2026-10-02"}],"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":"US public information, NVD API terms","name":"NVD"},{"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-08-03","vendors":["Legion of the Bouncy Castle Inc."]},"summary":"Attackers can cause denial of service in applications using Bouncy Castle for Java by exploiting a flaw in ASN.1 sequence parsing that bypasses nesting-depth limits.","url":"https://insights.sbomify.com/CVE-2026-13506/"}