{"id":"CVE-2025-9341","published":"2025-08-22T09:09:17Z","modified":"2025-10-24T22:40:33Z","title":"Garbage collection can delay for AES CBC Native support, resulting in heap exhaustion","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 org/bouncycastle/crypto/fips/AESNativeCBC.Java, org/bouncycastle/crypto/engines/AESNativeCBC.Java.\n\nThis issue affects Bouncy Castle for Java FIPS: 2.1.0; 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.0017,"percentile":0.06571,"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%909341","tags":[]}],"priority":{"score":5.4,"factors":[{"name":"EPSS percentile","points":1.31},{"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"]},{"vendor":"Legion of the Bouncy Castle Inc.","product":"Bouncy Castle for Java LTS","versions":[">= 2.73.0, <= 2.73.7"]}],"workarounds":{"items":["A system that cannot be updated can be made safe by booting the module in java mode and disabling AES-NI support."],"from":"CVE.org CNA","provenance":"source"},"capec":[{"id":"CAPEC-130","name":"Excessive Allocation"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-08-22T10:37:49.400627Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.bouncycastle:bc-fips","vulnerableRanges":[">=2.1.0, <2.1.1"],"patched":["2.1.1"],"from":["GHSA-jfcv-jv9g-2vx2"],"provenance":"source"},{"ecosystem":"Maven","package":"org.bouncycastle:bctls-fips","vulnerableRanges":[">=2.73.7, <2.73.8"],"patched":["2.73.8"],"from":["GHSA-jfcv-jv9g-2vx2"],"provenance":"source"}],"summary":{"text":"The Bouncy Castle for Java FIPS (bc-fips) and Bouncy Castle for Java LTS (bcprov-lts8on) API modules contain an uncontrolled resource consumption flaw in the AES CBC native support, specifically in the AESNativeCBC classes, where garbage collection can be delayed and memory allocation is excessive. An attacker with local access, requiring no privileges or user interaction, can exhaust the heap and cause a denial of service, and the issue affects bc-fips 2.1.0 and bcprov-lts8on from 2.73.0 through 2.73.7.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:19:45Z"},"euvd":{"id":"EUVD-2025-25504","exploited":false,"provenance":"source"}}