Garbage collection can delay for AES CBC Native support, resulting in heap exhaustion
Published Aug 22, 2025
5.9
MEDIUMCVSS 4.0
EPSS 0.16%
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.
Affected products
-
- Version 2.1.0StatusaffectedConstraints-
- Version
-
- Version 2.73.0StatusaffectedConstraints<=2.73.7
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Legion of the Bouncy Castle Inc. | Bouncy Castle for Java FIPS | unaffected |
| ||||||
| Legion of the Bouncy Castle Inc. | Bouncy Castle for Java LTS | unaffected |
|
No data.
No data.
Red Hat JBoss Enterprise Application Platform 8
bc-fips
Not affected
Red Hat JBoss Enterprise Application Platform Expansion Pack
bc-fips
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat JBoss Enterprise Application Platform 8 | bc-fips | Not affected | n/a |
| Red Hat JBoss Enterprise Application Platform Expansion Pack | bc-fips | Not affected | n/a |
No package ranges for this CVE.
Remediation
Vendor solution
A system that cannot be updated can be made safe by booting the module in java mode and disabling AES-NI support.
Red Hat statement
This vulnerability is rated Moderate. In the Red Hat context, impact is limited as the vulnerable code is not present in Red Hat Enterprise Application Platform versions eap-8.0.z, eap-8.1.z, and eapxp-5.
Metrics
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:P/AU:N/R:U/V:C/RE:M/U:Amber
1 other source (CVE.org) ▾
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
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
NoneAutomatable
NoTechnical Impact
PartialDecision
n/aAssessed Aug 22, 2025 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 3, 2026.
Score over time
2025–2026- EPSS v4
- EPSS v5
Percentile over time
- EPSS v4
- EPSS v5
Table of values (3 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 3, 2026 | 0.16% (0.00160) | 4.51th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.15% (0.00149) | 4.45th | v5 (v2026.06.15) |
| Aug 22, 2025 | 0.01% (0.00014) | 1.69th | v4 (v2025.03.14) |
References (6)
- https://access.redhat.com/security/cve/CVE-2025-9341 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2390278 Issue Tracking
- https://github.com/advisories/GHSA-jfcv-jv9g-2vx2 Advisory
- https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902025%E2%80%909341
- https://nvd.nist.gov/vuln/detail/CVE-2025-9341
- https://www.cve.org/CVERecord?id=CVE-2025-9341
Change history (0)
No recorded changes yet.