{"answers":{"affected":"16 open source packages ship an affected version, including org.bouncycastle:bc-fips, org.bouncycastle:bcprov-jdk14 and org.bouncycastle:bcprov-jdk15to18.","exploited":"There is no known exploitation of CVE-2025-8885 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.6 or 2.0.1.","what":"CVE-2025-8885 is a medium-severity denial of service vulnerability in Legion of the Bouncy Castle Inc. BC Java, published on 12 Aug 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-8885 and fix it if it is affected.\n\nWhat it is: CVE-2025-8885 is a medium-severity denial of service vulnerability in Legion of the Bouncy Castle Inc. BC Java, published on 12 Aug 2025. 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-2025-8885 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.bouncycastle:bc-fips (Maven): affected from 1.0.0; fixed in 1.0.2.6\n- org.bouncycastle:bc-fips (Maven): affected from 1.0.0; fixed in 1.0.2.6\n- org.bouncycastle:bc-fips (Maven): affected from 2.0.0; fixed in 2.0.1\n- org.bouncycastle:bc-fips (Maven): affected from 2.0.0; fixed in 2.0.1\n- org.bouncycastle:bcprov-jdk14 (Maven): affected from 1.0; fixed in 1.78\n- org.bouncycastle:bcprov-jdk14 (Maven): affected from 1.0; fixed in 1.78\n- org.bouncycastle:bcprov-jdk15to18 (Maven): affected from 1.0; fixed in 1.78\n- org.bouncycastle:bcprov-jdk15to18 (Maven): affected from 1.0; fixed in 1.78\n- org.bouncycastle:bcprov-jdk18on (Maven): affected from 1.0; fixed in 1.78\n- org.bouncycastle:bcprov-jdk18on (Maven): affected from 1.0; fixed in 1.78\n- org.bouncycastle:bctls-jdk14 (Maven): affected from 1.0; fixed in 1.78\n- org.bouncycastle:bctls-jdk14 (Maven): affected from 1.0; fixed in 1.78\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-2025-8885/ (Markdown: https://insights.sbomify.com/CVE-2025-8885/index.md)","id":"CVE-2025-8885","markdown":"https://insights.sbomify.com/CVE-2025-8885/index.md","name":"CVE-2025-8885","record":{"aliases":["CLEANSTART-2026-NG21036","CLEANSTART-2026-QI64400","DEBIAN-CVE-2025-8885","ECHO-38fb-159d-e253","GHSA-67mf-3cr5-8w23","MINI-355v-9f3r-h9r4","MINI-54p6-9wj3-2wwq","MINI-585f-4c3c-w8cj","MINI-hm8w-34f9-532m","MINI-pj9r-8hg6-3p47","MINI-qcp6-53rx-cg69","MINI-rfpf-7mg6-f8x5","MINI-v5h4-7x3f-h7hm","MINI-wjqj-5w2j-r7w8","ROOT-APP-MAVEN-CVE-2025-8885","UBUNTU-CVE-2025-8885"],"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 Bouncy Castle Java libraries by sending specially formed ASN.1 Object Identifiers that trigger excessive resource allocation.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"bcorg","cpe":[],"cvss":{"score":6.3,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/S:P/R:U/RE:M/U:Amber","version":"4.0"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"description":"Allocation of Resources Without Limits or Throttling vulnerability in Legion of the Bouncy Castle Inc. BC Java bcprov on All (API modules), Legion of the Bouncy Castle Inc. BC-FJA bc-fips on All allows Excessive Allocation. This vulnerability is associated with program files  https://github.com/bcgit/bc-java/blob/main/core/src/main/java/org/bouncycastle/asn1/ASN1ObjectIdenti... https://github.com/bcgit/bc-java/blob/main/core/src/main/java/org/bouncycastle/asn1/ASN1ObjectIdentifier.Java .\n\nThis issue affects BC Java: from 1.0 through 1.77; BC-FJA: from 1.0.0 through 1.0.2.5, from 2.0.0 through 2.0.1.","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":"Possible DOS in processing specially formed ASN.1 Object Identifiers","id":"CVE-2025-8885","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"denial_of_service","year":"2025"},"n_packages":16,"n_references":1,"next":{"headline":"Authorization Bypass in Usta Information Systems' Aybs Interaktif","id":"CVE-2025-8886"},"packages":[{"ecosystem":"Maven","fixed":["1.0.2.6"],"introduced":["1.0.0"],"last_affected":[],"package":"org.bouncycastle:bc-fips","purl":null,"source":"GHSA-67mf-3cr5-8w23"},{"ecosystem":"Maven","fixed":["1.0.2.6"],"introduced":["1.0.0"],"last_affected":[],"package":"org.bouncycastle:bc-fips","purl":"pkg:maven/org.bouncycastle/bc-fips","source":"GHSA-67mf-3cr5-8w23"},{"ecosystem":"Maven","fixed":["2.0.1"],"introduced":["2.0.0"],"last_affected":[],"package":"org.bouncycastle:bc-fips","purl":null,"source":"GHSA-67mf-3cr5-8w23"},{"ecosystem":"Maven","fixed":["2.0.1"],"introduced":["2.0.0"],"last_affected":[],"package":"org.bouncycastle:bc-fips","purl":"pkg:maven/org.bouncycastle/bc-fips","source":"GHSA-67mf-3cr5-8w23"},{"ecosystem":"Maven","fixed":["1.78"],"introduced":["1.0"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk14","purl":null,"source":"GHSA-67mf-3cr5-8w23"},{"ecosystem":"Maven","fixed":["1.78"],"introduced":["1.0"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk14","purl":"pkg:maven/org.bouncycastle/bcprov-jdk14","source":"GHSA-67mf-3cr5-8w23"},{"ecosystem":"Maven","fixed":["1.78"],"introduced":["1.0"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk15to18","purl":null,"source":"GHSA-67mf-3cr5-8w23"},{"ecosystem":"Maven","fixed":["1.78"],"introduced":["1.0"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk15to18","purl":"pkg:maven/org.bouncycastle/bcprov-jdk15to18","source":"GHSA-67mf-3cr5-8w23"},{"ecosystem":"Maven","fixed":["1.78"],"introduced":["1.0"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk18on","purl":null,"source":"GHSA-67mf-3cr5-8w23"},{"ecosystem":"Maven","fixed":["1.78"],"introduced":["1.0"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk18on","purl":"pkg:maven/org.bouncycastle/bcprov-jdk18on","source":"GHSA-67mf-3cr5-8w23"},{"ecosystem":"Maven","fixed":["1.78"],"introduced":["1.0"],"last_affected":[],"package":"org.bouncycastle:bctls-jdk14","purl":null,"source":"GHSA-67mf-3cr5-8w23"},{"ecosystem":"Maven","fixed":["1.78"],"introduced":["1.0"],"last_affected":[],"package":"org.bouncycastle:bctls-jdk14","purl":"pkg:maven/org.bouncycastle/bctls-jdk14","source":"GHSA-67mf-3cr5-8w23"},{"ecosystem":"Maven","fixed":["1.78"],"introduced":["1.0"],"last_affected":[],"package":"org.bouncycastle:bctls-jdk15to18","purl":null,"source":"GHSA-67mf-3cr5-8w23"},{"ecosystem":"Maven","fixed":["1.78"],"introduced":["1.0"],"last_affected":[],"package":"org.bouncycastle:bctls-jdk15to18","purl":"pkg:maven/org.bouncycastle/bctls-jdk15to18","source":"GHSA-67mf-3cr5-8w23"},{"ecosystem":"Maven","fixed":["1.78"],"introduced":["1.0"],"last_affected":[],"package":"org.bouncycastle:bctls-jdk18on","purl":null,"source":"GHSA-67mf-3cr5-8w23"},{"ecosystem":"Maven","fixed":["1.78"],"introduced":["1.0"],"last_affected":[],"package":"org.bouncycastle:bctls-jdk18on","purl":"pkg:maven/org.bouncycastle/bctls-jdk18on","source":"GHSA-67mf-3cr5-8w23"}],"prev":{"headline":"IDOR in VHS Electronic Software's ACE Center","id":"CVE-2025-8884"},"products":["BC Java","BC-FJA"],"published":"2025-08-12","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":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-09-12","vendors":["Legion of the Bouncy Castle Inc."]},"summary":"Attackers can cause denial of service in Bouncy Castle Java libraries by sending specially formed ASN.1 Object Identifiers that trigger excessive resource allocation.","url":"https://insights.sbomify.com/CVE-2025-8885/"}