{"answers":{"affected":"4 open source packages ship an affected version, including org.bouncycastle:bc-fips and org.bouncycastle:bcprov-debug-lts8on.","exploited":"There is no known exploitation of CVE-2025-12194 in the wild and no public exploit code.","fix":"Upgrade org.bouncycastle:bc-fips to 2.1.2 or later.","what":"CVE-2025-12194 is a medium-severity denial of service vulnerability in Legion of the Bouncy Castle Inc. Bouncy Castle for Java FIPS, published on 24 Oct 2025. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-12194 and fix it if it is affected.\n\nWhat it is: CVE-2025-12194 is a medium-severity denial of service vulnerability in Legion of the Bouncy Castle Inc. Bouncy Castle for Java FIPS, published on 24 Oct 2025. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-12194 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.bouncycastle:bc-fips (Maven): affected from 2.1.0; fixed in 2.1.2\n- org.bouncycastle:bc-fips (Maven): affected from 2.1.0; fixed in 2.1.2\n- org.bouncycastle:bcprov-debug-lts8on (Maven): affected from 2.73.0; fixed in 2.73.8\n- org.bouncycastle:bcprov-debug-lts8on (Maven): affected from 2.73.0; fixed in 2.73.8\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-12194/ (Markdown: https://insights.sbomify.com/CVE-2025-12194/index.md)","id":"CVE-2025-12194","markdown":"https://insights.sbomify.com/CVE-2025-12194/index.md","name":"CVE-2025-12194","record":{"aliases":["DEBIAN-CVE-2025-12194","ECHO-8b04-9b9f-4016","GHSA-jv6h-4262-q663","MINI-7rwg-6hw3-xfcm"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Java cryptography library","requires_auth":"none","summary":"Attackers can cause excessive memory allocation in Bouncy Castle Java FIPS and LTS libraries, leading to denial of service.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"bcorg","cpe":[],"cvss":{"score":5.9,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/S:P/AU:N/R:U/V:C/RE:M/U:Amber","version":"4.0"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"description":"Uncontrolled Resource Consumption vulnerability in Legion of the Bouncy Castle Inc. Bouncy Castle for Java FIPS bc-fips on All (API modules), Legion of the Bouncy Castle Inc. Bouncy Castle for Java LTS bcprov-lts8on on All (API modules) allows Excessive Allocation. This vulnerability is associated with program files core/src/main/jdk1.9/org/bouncycastle/crypto/fips/AESNativeCFB.Java, core/src/main/jdk1.9/org/bouncycastle/crypto/fips/AESNativeGCM.Java, core/src/main/jdk1.9/org/bouncycastle/crypto/fips/SHA256NativeDigest.Java, core/src/main/jdk1.9/org/bouncycastle/crypto/fips/AESNativeEngine.Java, core/src/main/jdk1.9/org/bouncycastle/crypto/fips/AESNativeCBC.Java, core/src/main/jdk1.9/org/bouncycastle/crypto/fips/AESNativeCTR.Java, core/src/main/jdk1.9/org/bouncycastle/crypto/engines/AESNativeCFB.Java, core/src/main/jdk1.9/org/bouncycastle/crypto/engines/AESNativeGCM.Java, core/src/main/jdk1.9/org/bouncycastle/crypto/engines/AESNativeEngine.Java, core/src/main/jdk1.9/org/bouncycastle/crypto/engines/AESNativeCBC.Java, core/src/main/jdk1.9/org/bouncycastle/crypto/engines/AESNativeGCMSIV.Java, core/src/main/jdk1.9/org/bouncycastle/crypto/engines/AESNativeCCM.Java, core/src/main/jdk1.9/org/bouncycastle/crypto/engines/AESNativeCTR.Java, core/src/main/jdk1.9/org/bouncycastle/crypto/digests/SHA256NativeDigest.Java, core/src/main/jdk1.9/org/bouncycastle/crypto/digests/SHA224NativeDigest.Java, core/src/main/jdk1.9/org/bouncycastle/crypto/digests/SHA3NativeDigest.Java, core/src/main/jdk1.9/org/bouncycastle/crypto/digests/SHAKENativeDigest.Java, core/src/main/jdk1.9/org/bouncycastle/crypto/digests/SHA512NativeDigest.Java, core/src/main/jdk1.9/org/bouncycastle/crypto/digests/SHA384NativeDigest.Java.\n\nThis issue affects Bouncy Castle for Java FIPS: from 2.1.0 through 2.1.1; Bouncy Castle for Java LTS: from 2.73.0 through 2.73.7.","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":"Bouncy Castle Vulnerable to Uncontrolled Resource Consumption","id":"CVE-2025-12194","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"denial_of_service","year":"2025"},"n_packages":4,"n_references":1,"next":{"headline":"WatchGuard Firebox Authenticated Out of Bounds Write in Management CLI IPSec Configuration","id":"CVE-2025-12195"},"packages":[{"ecosystem":"Maven","fixed":["2.1.2"],"introduced":["2.1.0"],"last_affected":[],"package":"org.bouncycastle:bc-fips","purl":null,"source":"GHSA-jv6h-4262-q663"},{"ecosystem":"Maven","fixed":["2.1.2"],"introduced":["2.1.0"],"last_affected":[],"package":"org.bouncycastle:bc-fips","purl":"pkg:maven/org.bouncycastle/bc-fips","source":"GHSA-jv6h-4262-q663"},{"ecosystem":"Maven","fixed":["2.73.8"],"introduced":["2.73.0"],"last_affected":[],"package":"org.bouncycastle:bcprov-debug-lts8on","purl":null,"source":"GHSA-jv6h-4262-q663"},{"ecosystem":"Maven","fixed":["2.73.8"],"introduced":["2.73.0"],"last_affected":[],"package":"org.bouncycastle:bcprov-debug-lts8on","purl":"pkg:maven/org.bouncycastle/bcprov-debug-lts8on","source":"GHSA-jv6h-4262-q663"}],"prev":{"headline":"Mang Board WP \u003c= 2.3.1 - Reflected Cross-Site Scripting","id":"CVE-2025-12193"},"products":["Bouncy Castle for Java FIPS","Bouncy Castle for Java LTS"],"published":"2025-10-24","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-10-27","vendors":["Legion of the Bouncy Castle Inc."]},"summary":"Attackers can cause excessive memory allocation in Bouncy Castle Java FIPS and LTS libraries, leading to denial of service.","url":"https://insights.sbomify.com/CVE-2025-12194/"}