{"id":"CVE-2025-12194","published":"2025-10-24T22:51:36Z","modified":"2025-10-27T15:21:41Z","title":"Uncontrolled Resource Consumption vulnerability in Legion of the Bouncy Castle Inc","vendor":"Legion of the Bouncy Castle Inc.","product":"Bouncy Castle for Java FIPS","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00222,"percentile":0.07548,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902025%E2%80%9012194","tags":[]}],"priority":{"score":5.6,"factors":[{"name":"EPSS percentile","points":1.51},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"legion-of-the-bouncy-castle","affectedVersions":[{"vendor":"Legion of the Bouncy Castle Inc.","product":"Bouncy Castle for Java FIPS","versions":[">= 2.1.0, <= 2.1.1"]},{"vendor":"Legion of the Bouncy Castle Inc.","product":"Bouncy Castle for Java LTS","versions":[">= 2.73.0, <= 2.73.7"]}],"capec":[{"id":"CAPEC-130","name":"Excessive Allocation"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-10-27T15:21:29.159919Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.bouncycastle:bc-fips","vulnerableRanges":[">=2.1.0, <2.1.2"],"patched":["2.1.2"],"from":["GHSA-jv6h-4262-q663"],"provenance":"source"},{"ecosystem":"Maven","package":"org.bouncycastle:bcprov-debug-lts8on","vulnerableRanges":[">=2.73.0, <2.73.8"],"patched":["2.73.8"],"from":["GHSA-jv6h-4262-q663"],"provenance":"source"}],"summary":{"text":"Bouncy Castle for Java FIPS (bc-fips, versions 2.1.0 through 2.1.1) and Bouncy Castle for Java LTS (bcprov-lts8on, versions 2.73.0 through 2.73.7) contain an uncontrolled resource consumption flaw, caused by excessive allocation, in the JDK 9+ native AES and SHA digest implementation classes. An attacker with local access and no privileges, and without any user interaction, can exhaust available resources to cause a denial of service, with the attack complexity rated low and the attack requirement rated present.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:19:53Z"},"euvd":{"id":"EUVD-2025-35896","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-9092","published":"2025-08-16","fixed":"2.1.1","kev":false},{"cve":"CVE-2025-9340","published":"2025-08-22","fixed":"2.1.1","kev":false,"link":{"from":"CVE-2025-9340","to":"CVE-2025-12194","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.bouncycastle:bc-fips","fromFixed":"2.1.1","toFixed":"2.1.2","daysApart":63}]}},{"cve":"CVE-2025-9341","published":"2025-08-22","fixed":"2.1.1","kev":false},{"cve":"CVE-2025-12194","published":"2025-10-24","fixed":"2.1.2","kev":false},{"cve":"CVE-2026-13505","published":"2026-08-08","fixed":"2.1.3","kev":false},{"cve":"CVE-2026-13506","published":"2026-08-03","fixed":"2.1.3","kev":false},{"cve":"CVE-2026-8763","published":"2026-08-03","fixed":"2.1.3","kev":false}],"package":"Maven:org.bouncycastle:bc-fips"}}