Garbage collection can delay for AES CBC Native support, resulting in heap exhaustion
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-9341
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 01:26 UTC · Revision 1
Source evidence
Garbage collection can delay for AES CBC Native support, resulting in heap exhaustion
core-osv · Original sourcePublished 22 Aug 2025, 09:09 UTC
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.
osv:CVE-2025-9341
Complete source record
{
"id": "7c4f9fcaaf8fe77e3ebe7a7069bc8771f5044215d260080f4f03a82a33a272fa",
"url": "https://osv.dev/vulnerability/CVE-2025-9341",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Garbage collection can delay for AES CBC Native support, resulting in heap exhaustion",
"summary": "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.",
"evidence": "osv:CVE-2025-9341",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2025-9341",
"aliases": [
"CVE-2025-9341",
"GHSA-jfcv-jv9g-2vx2"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/bcgit/bc-lts-java",
"type": "GIT",
"events": [
{
"introduced": "468b5082f3f0971e80bf9edb7029c17b39b9ba0c"
},
{
"last_affected": "d12b4c076c57eba0d226d422fd7ad2669758d876"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "2.73.0"
},
{
"last_affected": "2.73.7"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
}
],
"versions": [
"r2rv73dot7",
"r2rv73dot6",
"r2rv73dot4",
"r2rv73dot3",
"r2rv73dot1",
"r2rv73dot0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-9341.json"
}
}
],
"modified": "2026-10-28T02:30:48.960869636Z",
"provider": "osv",
"references": [
"https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902025%E2%80%909341",
"https://repo1.maven.org/maven2/org/bouncycastle",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/9xxx/CVE-2025-9341.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-9341",
"https://github.com/bcgit/bc-lts-java"
],
"provider_metadata": {
"cwe_ids": [
"CWE-400"
],
"cna_assigner": "bcorg",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"introduced": "2.1.0"
},
{
"last_affected": "2.1.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/9xxx/CVE-2025-9341.json"
}
},
"related_cves": [
{
"value": "CVE-2025-9341",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 516969,
"published_at": "2025-08-22T09:09:17.111+00:00"
}