cve.bz

CVE-2026-119278 mariadb-corporation mariadb-connector-j: Improper Validation of Array Index

5.9 mediumEPSS 0.5%

Medium (5.9) in mariadb-corporation mariadb-connector-j. EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
MariaDB Connector/J is used to connect applications developed in Java to MariaDB and MySQL databases. From 3.0.0 until 3.3.7 and 3.4.5, during caching_sha2_password authentication, the authentication-more-data response was treated as a length-encoded byte array, memory was allocated from the server-declared length, and authResult[0] was accessed without ensuring a byte existed. A malicious or compromised server, or a machine-in-the-middle attacker, could declare a very large length or send an empty response before any password was transmitted. The malformed packet could cause excessive allocation or an unchecked ArrayIndexOutOfBoundsException escaping from DriverManager.getConnection(). This issue is fixed in versions 3.3.7 and 3.4.5.

Severity

CVSS 3.1

5.9 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.5% (unchanged from 0.4% a week ago) estimated probability of exploitation activity in the next 30 days; 40th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-10-30. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-129 Improper Validation of Array Index
CWE-789 Memory Allocation with Excessive Size Value
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-119278 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-119278?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-119278?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-119278 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
mariadb-corporation mariadb-connector-j>= 3.0.0, < 3.3.7
mariadb-corporation mariadb-connector-j>= 3.4.0, < 3.4.5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13mariadb-connector-javano fix listedDEBIAN-CVE-2026-119278
Debian14mariadb-connector-java3.5.10-1DEBIAN-CVE-2026-119278
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTS and 3 moremariadb-connector-javano fix listedUBUNTU-CVE-2026-119278
openSUSETumbleweedmariadb-java-client3.5.11-1.1openSUSE-SU-2026:12401-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Red Hat has evaluated this vulnerability as having a Moderate impact because successful exploitation requires high attack complexity, necessitating either a rogue database server or a machine-in-the-middle network interception of the connection handshake. In typical Red Hat deployments, enterprise Java applications communicate with trusted backend databases across secured, isolated network segments, limiting opportunities for traffic tampering. Furthermore, the issue only affects connections using the caching_sha2_password authentication plugin and causes client-side connection failure or resource exhaustion without compromising system confidentiality or data integrity.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat build of Debezium 3mariadb-java-clientFix deferred
Red Hat Build of Keycloakmariadb-java-clientFix deferred
Red Hat Build of Keycloakrhbk/keycloak-rhel9Fix deferred
Red Hat build of Quarkusmariadb-java-clientFix deferred
Red Hat Enterprise Linux 10mariadb-java-clientFix deferred
Red Hat Enterprise Linux 8mariadb:10.3/mariadbFix deferred
Red Hat Enterprise Linux 8mariadb-devel:10.3/mariadbFix deferred
Red Hat Enterprise Linux 9mariadb-java-clientFix deferred
Red Hat Hardened Imagesmariadb10.11Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-trustyai-service-rhel9Fix deferred
Red Hat OpenStack Platform 13 (Queens)mariadbOut of support scope
Red Hat Satellite 6candlepinFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-119278.

Attack patterns (CAPEC)

  • CAPEC-100 Overflow Buffers Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON