CVE-2026-119279: MariaDB Connector/J: Length-encoded integers larger than Integer.MAX_VALUE were truncated before being used as lengths
Vulnerability summary
CVE-2026-119279 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.
- 03-11-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.10, the ReadableByteBuf.readLength() and ReadableByteBuf.readIntLengthEncodedNotNull() methods narrowed the protocol's unsigned 8-byte length-encoded integer to a Java int without checking that the value fit a non-negative integer. Values above Integer.MAX_VALUE could wrap to a negative or unrelated length that downstream allocation and read paths used. A malicious or compromised server, or a machine-in-the-middle attacker, could trigger NegativeArraySizeException, out-of-bounds failures, or oversized allocation behavior in client connection handling. This issue is fixed in versions 3.3.7, 3.4.5, and 3.5.10.
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-190Integer Overflow or WraparoundThe product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
Affected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard24 products
- airbyte-platform-fips-serverAll versions (No fix recorded) | < 2.4.0-r2
- airbyte-platform-serverAll versions (No fix recorded) | < 2.4.0-r2
- camunda-8.8All versions (No fix recorded) | < 8.8.45-r1
- camunda-zeebe-8.8All versions (No fix recorded) | < 8.8.45-r1
- debezium-3.5-connector-jdbcAll versions (No fix recorded) | < 3.5.2-r13
Wolfi8 products
- debezium-3.5-connector-jdbcAll versions (No fix recorded) | < 3.5.2-r13
- debezium-3.5-connector-mariadbAll versions (No fix recorded) | < 3.5.2-r13
- debezium-3.6-connector-jdbc< 3.6.3-r3
- debezium-3.6-connector-mariadbAll versions (No fix recorded) | < 3.6.3-r3
- debezium-3.7-connector-jdbc< 3.7.0-r2
Debian1 product
- mariadb-connector-javaAll versions (No fix recorded) | < 3.5.10-1
Mariadb-corporation1 product
- mariadb-connector-j≥ 3.0.0, < 3.3.7 | ≥ 3.4.0, < 3.4.5 | ≥ 3.5.0, < 3.5.10
Org.mariadb.jdbc1 product
- mariadb-java-client≥ 3.0.0, < 3.3.7 | ≥ 3.4.0, < 3.4.5 | ≥ 3.5.0, < 3.5.10
Ubuntu1 product
- mariadb-connector-javaAll versions (No fix recorded)
6 vendors · 36 products
References
13 links- github.com/mariadb-corporation/mariadb-connector-j/security/advisories/GHSA-797x-p4mc-jwpmX Refsource CONFIRMWEBREPORTAdvisory
- github.com/mariadb-corporation/mariadb-connector-j/commit/30d4a883377a9b7762e02ee2c60d54567032ab99X Refsource MISCWEBREPORTFIX
- github.com/mariadb-corporation/mariadb-connector-j/commit/bfd9f5ad666a6f7f5401a5b78f2ac2fbd6df8667X Refsource MISCWEBREPORTFIX
- github.com/mariadb-corporation/mariadb-connector-j/commit/dbbadc3e215c47bdb913ddf50739ada09a7f23eaX Refsource MISCWEBREPORTFIX