Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-12185: CWE-789 Memory Allocation with Excessive Size Value in Legion of the Bouncy Castle Inc. BC-JAVA

0
High
VulnerabilityCVE-2026-12185cvecve-2026-12185cwe-789
Published: 08/03/2026 (08/03/2026, 00:38:01 UTC)
Source: CVE Database V5
Vendor/Project: Legion of the Bouncy Castle Inc.
Product: BC-JAVA

Description

A high-severity vulnerability (CVE-2026-12185) affects Bouncy Castle for Java (BC-JAVA) versions before 1.85 and LTS versions from 2.73.0 up to but not including 2.73.12. The issue involves memory allocation using untrusted length values in BKS/UBER keystore processing before integrity checks are performed, potentially leading to excessive memory allocation.

CVSS v4.0

Score 7.1high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/U:Amber

Affected software

GitHub Actionsmore threats →cve
bcprov
pkg:github/bcprov
Affected versions
<1.85
GitHub Actionsmore threats →cve
bcprov-lts8on
pkg:github/bcprov-lts8on
Affected versions
>=2.73.0 <2.73.12

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/03/2026, 01:20:19 UTC

Technical Analysis

CVE-2026-12185 is a CWE-789 vulnerability in Legion of the Bouncy Castle Inc.'s BC-JAVA library. Specifically, in versions prior to 1.85 and LTS versions 2.73.0 through 2.73.11, the BKS/UBER keystore implementation allocates memory based on untrusted length values before verifying data integrity. This can result in memory allocation with excessive size values, which may lead to denial of service or other impacts related to resource exhaustion. The CVSS 4.0 base score is 7.1, indicating a high severity with network attack vector, low attack complexity, no privileges required, user interaction needed, and high impact on availability.

Potential Impact

The vulnerability allows an attacker to cause excessive memory allocation by providing crafted input to the BKS/UBER keystore processing functions. This can lead to denial of service conditions due to resource exhaustion. There is no indication of code execution or data confidentiality/integrity compromise. No known exploits in the wild have been reported.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or temporary workaround is documented in the provided data. Users should monitor the Legion of the Bouncy Castle Inc. advisories for updates and apply patches once available. Until then, avoid processing untrusted BKS/UBER keystore data if possible.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
bcorg
Date Reserved
2026-06-14T00:39:34.400Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a6fe8f1bf32cb7a34b61c7c

Added to database: 08/03/2026, 01:03:45 UTC

Last enriched: 08/03/2026, 01:20:19 UTC

Last updated: 08/03/2026, 01:20:19 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses