Skip to main content

MariaDB Connector/J CVE-2026-119277

| EUVDEUVD-2026-113384 MEDIUM
Out-of-bounds Read (CWE-125)
2026-10-29 GitHub_M
5.9
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain rogue-server or MitM position
  2. Delivery
    Send packet with inflated declared length
  3. Exploit
    Decoder reads past packet boundary
  4. Execution
    Unchecked ArrayIndexOutOfBounds/IllegalArgument thrown
  5. Impact
    Client connection handling terminates (DoS)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK

1 technique across 1 tactic: Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The attacker must control the server side of the JDBC connection - either a malicious or compromised MariaDB/MySQL server the client connects to, or a machine-in-the-middle on the client-server link (e.g. unencrypted or improperly validated TLS). Given that position, no client authentication or user interaction is required (PR:N, UI:N), and all default configurations of MariaDB Connector/J versions 3.0.0 through the fixes are affected whenever the client parses server responses (OK session-state blocks, column definition packets, or text/binary row data). The key limiting factor is that privileged server-side or network-path control - not reachable by an ordinary unprivileged remote party - which confines realistic exploitation to compromised/rogue database servers or MitM scenarios.

Impact

Severity is moderate (CVSS 5.9) and the vector tells a consistent story: AV:N (the attack crosses the network via the MariaDB/MySQL wire protocol), AC:H (the attacker must already control the server side or hold a machine-in-the-middle position), PR:N and UI:N (no client credentials or user action needed once that position exists), and impact limited strictly to availability (C:N/I:N/A:H) - the GHSA advisory explicitly rules out authentication bypass, confidentiality, and integrity impact. No EPSS score was provided, the CVE is not listed in CISA KEV, and no public exploit code was supplied (the only code references are the vendor's own fix commits, not a PoC). The vuln.today decision label is this_month, not act_now/emergency. Taken together these signals describe a real but bounded defect: the AC:H precondition (rogue/compromised server or MitM) keeps this from being a mass, spray-and-pray threat and points toward targeted or supply-chain-adjacent scenarios rather than widespread exploitation; it is a crash/denial-of-service bug, not remote code execution. Note the gap between the CWE-125 (out-of-bounds read) classification and the actual impact: the OOB read surfaces only as unchecked Java exceptions that terminate connection handling, so there is no data leak despite the 'read' framing - verify no sensitive buffer contents are exposed via exception messages if that matters to you, though the advisory indicates availability only.

Exploit ScenarioDerived

A Java application connects (or is redirected via MitM) to a MariaDB/MySQL endpoint the attacker controls; the endpoint returns a protocol packet (OK session-state block, column definition, or text/binary row) whose server-declared length exceeds the bytes actually present. The client's decoder positions reads or builds sub-buffers past the packet boundary, throwing an unchecked ArrayIndexOutOfBoundsException or IllegalArgumentException inside a JDBC call that the application does not expect, terminating connection handling. No public proof-of-concept was provided; the attack requires control of the server side of the connection.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 29, 2026

Out-of-bounds reads in the packet decoders of MariaDB Connector/J can crash the client's connection handling: a rogue or compromised MariaDB/MySQL server, or a machine-in-the-middle on the connection path, can declare lengths larger than the bytes actually remaining in a packet and drive unchecked ArrayIndexOutOfBoundsException or IllegalArgumentException failures out of ordinary JDBC calls instead of a clean SQLException. All releases from 3.0.0 up to the fixes are affected - 3.3.0-3.3.6, 3.4.0-3.4.4 and 3.5.0-3.5.10 - and impact is strictly availability-side (CVSS 5.9, C:N/I:N/A:H), since the GHSA advisory explicitly rules out authentication bypass, confidentiality and integrity impact. Exploitation requires the attacker to already control the server side of the connection or hold a MitM position; no client credentials or user interaction are needed once that position exists. No public exploit code and no confirmed active exploitation were identified at time of analysis.

RemediationAI

Vendor-released patches exist on every affected branch: upgrade to MariaDB Connector/J 3.3.7, 3.4.5 or 3.5.11 respectively, as documented in GHSA-wfxr-v78w-p49r and the corresponding GitHub release tags; the fix commits are 49c92adfcf816853e324031ba9762a69444cfd12, 52538206298db39062ad67939f1446b767cacde4 and ea8c7b6537e50053444188a9a3fd9cae99550f56. Because exploitation requires control of the server side of the connection, the practical compensating controls are to connect only to trusted, properly administered MariaDB/MySQL endpoints and to enforce TLS with strict server certificate validation so a machine-in-the-middle cannot inject malformed packets - with the trade-off that certificate validation must be configured correctly or connections will fail, and disabling TLS or accepting unverified certificates removes exactly the protection that matters here. Updating the driver is the only complete fix per the advisory.

Affected VersionsENISA

mariadb-connector-j 3.0.0, < 3.3.7
mariadb-connector-j 3.5.0, < 3.5.11
mariadb-connector-j 3.4.0, < 3.4.5

Affected Packages

euvd mariadb_connector_j fix: 3.3.7, 3.4.5, 3.5.11

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

MariaDB Connector/J is the JDBC driver Java applications use to talk to MariaDB and MySQL over the MySQL client/server wire protocol. That protocol is largely self-describing: the server tells the client how long a field, string or session-state block is, and the client trusts those declarations when slicing the receive buffer. The flaw class is CWE-125 (out-of-bounds read), with the advisory also tagging CWE-130 (improper handling of length parameter inconsistency). Specifically, the decoders for OK-packet session-state blocks, column definition packets, and text and binary row data used server-declared lengths to position reads, build sub-buffers and decode strings without first bounding them by the remaining packet bytes. The upstream fix adds a ReadableByteBuf.checkLength() check used by readLengthBuffer() and by string/byte reads, converts the length-encoded handling in TextRowDecoder and BinaryRowDecoder to compute a fieldLength and then verify it against rowBuf.readableBytes() (raising SQLException on mismatch), adds minimum-size guards and bounded length-encoded sub-packet parsing in ColumnDecoder, and reports an inconsistent packet as a connection error. The bug surfaces in the client as unchecked runtime exceptions rather than the SQLException an application expects from JDBC, which is why the impact lands on availability of the connection handling.

Know when Java gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 5.9 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 5.9 MEDIUM

Network wire protocol (AV:N) but requires rogue-server or MitM control (AC:H); no client auth or UI needed (PR:N/UI:N); crash-only, so C:N/I:N/A:H.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Red Hat 5.9 MEDIUM

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

1
Patch available
Oct 29, 2026 - 21:03 EUVD

DescriptionCVE.org

MariaDB Connector/J is used to connect applications developed in Java to MariaDB and MySQL databases. From 3.0.0 until 3.3.7, 3.4.5, and 3.5.11, decoders for OK packet session-state blocks, column definition packets, text row data, or binary row data used server-declared lengths without confirming that the requested bytes remained in the receive buffer. The decoders could position reads, create sub-buffers, or decode strings beyond the packet boundary. A malicious or compromised server, or a machine-in-the-middle attacker, could trigger unchecked ArrayIndexOutOfBoundsException or IllegalArgumentException failures inside JDBC calls and terminate connection handling. This issue is fixed in versions 3.3.7, 3.4.5, and 3.5.11.

Threat Intelligence Overview

EPSS Score
0.4%
Top 71% exploitable
Prevalence
Medium
popular Java JDBC driver, common but not universal in MariaDB/MySQL Java stacks
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

More in Java

View all
CVE-2012-4681 CRITICAL POC
9.8 Aug 28

Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m

CVE-2015-7450 CRITICAL POC
9.8 Jan 02

Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti

CVE-2013-2465 CRITICAL POC
9.8 Jun 18

Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent

CVE-2011-3544 CRITICAL POC
9.8 Oct 19

Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug

CVE-2010-1871 HIGH POC
8.8 Aug 05

JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to

CVE-2012-1723 CRITICAL POC
9.8 Jun 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up

CVE-2013-0422 CRITICAL POC
9.8 Jan 10

Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using

CVE-2012-0507 CRITICAL POC
9.8 Jun 07

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up

CVE-2015-4852 CRITICAL POC
9.8 Nov 18

The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers

CVE-2012-5076 CRITICAL POC
9.8 Oct 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow

CVE-2017-3066 CRITICAL POC
9.8 Apr 27

Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla

CVE-2012-0391 CRITICAL POC
9.8 Jan 08

The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy