CVE-2026-119276: MariaDB Connector/J: Rogue server can drive large heap allocations from server-declared lengths in OK packets
Vulnerability summary
CVE-2026-119276 is a medium (CVSS 5.9) vulnerability in mariadb-corporation mariadb-connector-j. EPSS estimates a 0.35% chance of exploitation in the next 30 days, higher than 28.7% of scored vulnerabilities.
Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 29-10-2026PublishedVulnerability first disclosed.
- 30-10-2026Last modifiedVulnerability information updated.
Description
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, when CLIENT_SESSION_TRACK was negotiated, the OkPacket.parse() and OkPacket.parseWithInfo() paths allocated byte arrays using server-declared lengths for the OK packet info field and session-state variable names and values before confirming that the bytes remained in the packet. A malicious or compromised server, or a machine-in-the-middle attacker, could send a small OK packet declaring a much larger length and repeatedly force attacker-controlled heap allocations before the subsequent copy failed. This could create garbage-collection pressure or an OutOfMemoryError in the client application. This issue is fixed in versions 3.3.7, 3.4.5, and 3.5.11.
CVSS metrics
7 scores · 7 sources · 1 version- NVDNIST5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · MavenEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · WolfiEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · ChainguardEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.35%
Chance of exploitation in the next 30 days
Percentile
29%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-130Improper Handling of Length Parameter InconsistencyThe product parses a formatted message or structure, but it does not handle or incorrectly handles a length field that is inconsistent with the actual length of the associated data.
- CWE-789Memory Allocation with Excessive Size ValueThe product allocates memory based on an untrusted, large size value, but it does not ensure that the size is within expected limits, allowing arbitrary amounts of memory to be allocated.
Affected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard32 products
- airbyte-platform-fips-serverAll versions (No fix recorded) | < 2.4.0-r3
- airbyte-platform-serverAll versions (No fix recorded) | < 2.4.0-r3
- camunda-8.8All versions (No fix recorded)
- camunda-8.9All versions (No fix recorded) | < 8.9.26-r2
- camunda-zeebe-8.8All versions (No fix recorded)
Wolfi9 products
- debezium-3.5-connector-jdbcAll versions (No fix recorded) | < 3.5.2-r14
- debezium-3.5-connector-mariadbAll versions (No fix recorded) | < 3.5.2-r14
- debezium-3.6-connector-jdbcAll versions (No fix recorded)
- debezium-3.6-connector-mariadbAll versions (No fix recorded)
- debezium-3.7-connector-jdbcAll versions (No fix recorded) | < 3.7.0-r3
Debian1 product
- mariadb-connector-javaAll versions (No fix recorded)
Mariadb-corporation1 product
- mariadb-connector-j≥ 3.0.0, < 3.3.7 | ≥ 3.4.0, < 3.4.5 | ≥ 3.5.0, < 3.5.11
Org.mariadb.jdbc1 product
- mariadb-java-client≥ 3.0.0, < 3.3.7 | ≥ 3.4.0, < 3.4.5 | ≥ 3.5.0, < 3.5.11
Ubuntu1 product
- mariadb-connector-javaAll versions (No fix recorded)
6 vendors · 45 products
References
13 links- github.com/mariadb-corporation/mariadb-connector-j/security/advisories/GHSA-h599-m3w5-9m7xX Refsource CONFIRMWEBREPORTAdvisory
- github.com/mariadb-corporation/mariadb-connector-j/commit/b9e1ee8d9b4d820d70719504cdfd5c97f1aede5fX Refsource MISCWEBREPORTFIX
- github.com/mariadb-corporation/mariadb-connector-j/commit/beb445fcf9294113878fc05ac77f0efdf0596ac6X Refsource MISCWEBREPORTFIX
- github.com/mariadb-corporation/mariadb-connector-j/commit/ea8c7b6537e50053444188a9a3fd9cae99550f56X Refsource MISCWEBREPORTFIX