CVE-2026-12185: CWE-789 Memory Allocation with Excessive Size Value in Legion of the Bouncy Castle Inc. BC-JAVA
CVE-2026-12185 is a high severity vulnerability in Legion of the Bouncy Castle Inc.'s BC-JAVA library. It involves memory allocation with excessive size values in BKS/UBER keystore implementations before integrity checks are performed. This affects versions prior to 1.85 and versions from 2.73.0 up to but not including 2.73.12.
AI Analysis
Technical Summary
The vulnerability identified as CVE-2026-12185 in BC-JAVA arises from the library allocating memory based on untrusted length values before verifying their integrity in the BKS/UBER keystore components. This can lead to excessive memory allocation, potentially causing denial of service or other impacts related to resource exhaustion. The issue affects BC-JAVA versions earlier than 1.85 and versions starting from 2.73.0 up to 2.73.12 (exclusive). There is no vendor advisory or patch information provided, and no known exploits in the wild have been reported.
Potential Impact
The vulnerability allows an attacker to trigger memory allocation with excessive size values, which may lead to denial of service or resource exhaustion conditions. No evidence of code execution or data compromise is provided. The CVSS 4.0 base score is 7.1, indicating high severity with network attack vector, low attack complexity, no privileges required, and user interaction needed.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or temporary workaround is indicated in the provided data. Users should monitor the vendor's announcements for patches addressing this vulnerability.
CVE-2026-12185: CWE-789 Memory Allocation with Excessive Size Value in Legion of the Bouncy Castle Inc. BC-JAVA
Description
CVE-2026-12185 is a high severity vulnerability in Legion of the Bouncy Castle Inc.'s BC-JAVA library. It involves memory allocation with excessive size values in BKS/UBER keystore implementations before integrity checks are performed. This affects versions prior to 1.85 and versions from 2.73.0 up to but not including 2.73.12.
CVSS v4.0
Score 7.1high
Affected software
Legion of the Bouncy Castle Inc.
BC-JAVA
Legion of the Bouncy Castle Inc.
BC-LTS-JAVA
pkg:github/bcprov-lts8onRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability identified as CVE-2026-12185 in BC-JAVA arises from the library allocating memory based on untrusted length values before verifying their integrity in the BKS/UBER keystore components. This can lead to excessive memory allocation, potentially causing denial of service or other impacts related to resource exhaustion. The issue affects BC-JAVA versions earlier than 1.85 and versions starting from 2.73.0 up to 2.73.12 (exclusive). There is no vendor advisory or patch information provided, and no known exploits in the wild have been reported.
Potential Impact
The vulnerability allows an attacker to trigger memory allocation with excessive size values, which may lead to denial of service or resource exhaustion conditions. No evidence of code execution or data compromise is provided. The CVSS 4.0 base score is 7.1, indicating high severity with network attack vector, low attack complexity, no privileges required, and user interaction needed.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or temporary workaround is indicated in the provided data. Users should monitor the vendor's announcements for patches addressing this vulnerability.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- bcorg
- Date Reserved
- 2026-06-14T00:39:34.400Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a6fe8f1bf32cb7a34b61c7c
Added to database: 08/03/2026, 01:03:45 UTC
Last enriched: 08/10/2026, 14:54:13 UTC
Last updated: 09/17/2026, 02:01:02 UTC
Views: 45
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.