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…

In Bouncy Castle for Java before 1.85, MLS wire decoder allocates attacker-declared opaque length before bounds check. (CVE-2026-12852)

0
High
Published: 08/03/2026 (08/03/2026, 06:31:44 UTC)
Source: GCVE Database

Description

Bouncy Castle for Java versions before 1.85 contain a vulnerability in the MLS wire decoder where it allocates memory based on an attacker-controlled opaque length before performing bounds checking. This flaw can lead to resource exhaustion or denial of service. No patch information is currently provided.

CVSS v4.0

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
Scope
X
CVSS:4.0/AV:N/AC:L/AT:N/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:X/AU:X/R:X/V:X/RE:X/U:Amber

Affected software

org.bouncycastle/bcprov-jdk15on
pkg:maven/org.bouncycastle/bcprov-jdk15on
Affected versions
<1.85

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, 21:40:04 UTC

Technical Analysis

The vulnerability identified as CVE-2026-12852 affects Bouncy Castle for Java versions prior to 1.85. The MLS wire decoder component allocates memory using a length value supplied by an attacker without first verifying that the length is within safe bounds. This can result in excessive memory allocation, potentially causing denial of service conditions. The vulnerability is classified under CWE-789 (Uncontrolled Memory Allocation). There is no explicit patch or remediation information available at this time.

Potential Impact

An attacker can cause the affected software to allocate large amounts of memory by specifying an attacker-controlled length value, potentially leading to denial of service due to resource exhaustion. There is no indication of privilege escalation, code execution, or data disclosure from the provided information.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should monitor official Bouncy Castle communications for updates and consider applying any recommended temporary mitigations once disclosed.

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

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-p2mp-577q-8vh2
Osv Schema Version
1.4.0
Aliases
["CVE-2026-12852"]
Ecosystems
[]
Database Specific Severity
HIGH
Cvss Version
4.0

Threat ID: 6a71067ebf32cb7a34396cdb

Added to database: 08/03/2026, 21:22:06 UTC

Last enriched: 08/03/2026, 21:40:04 UTC

Last updated: 08/04/2026, 03:17:46 UTC

Views: 3

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