Medium severity · published Aug 22, 2025
CVE-2025-9341
Garbage collection can delay for AES CBC Native support, resulting in heap exhaustion
5.9
CVSS
0.2%
EPSS
No
On KEV
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 org/bouncycastle/crypto/fips/AESNativeCBC.Java, org/bouncycastle/crypto/engines/AESNativeCBC.Java.
This issue affects Bouncy Castle for Java FIPS: 2.1.0; Bouncy Castle for Java LTS: from 2.73.0 through 2.73.7.
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 5% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
BC
Bouncy Castle for Java FIPS · Legion of the Bouncy Castle Inc.
2.1.0 · source: vendor
BC
Bouncy Castle for Java LTS · Legion of the Bouncy Castle Inc.
2.73.0 through 2.73.7 · source: vendor
Affected product
BC
Bouncy Castle for Java FIPS
Legion of the Bouncy Castle Inc.
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-9341
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-9341
github.com
https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902025%E2%80%909341
More from Bouncy Castle for Java FIPS
5.9
CVE-2025-12194
Uncontrolled Resource Consumption vulnerability in Legion of the Bouncy Castle Inc
