CVE-2026-119279
published medium CVSS 3.1 · 5.9MariaDB Connector/J: Length-encoded integers larger than Integer.MAX_VALUE were truncated before being used as lengths
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| mariadb-corporation | — | mariadb-connector-j>= 3.0.0, < 3.3.7 · >= 3.4.0, < 3.4.5 · >= 3.5.0, < 3.5.10 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | openSUSE-Tumbleweed | mariadb-java-clientaarch64 | Advisory build | 3.5.11-1.1 | OPENSUSE-SU-2026:12401-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | mariadb-java-clientppc64le | Advisory build | 3.5.11-1.1 | OPENSUSE-SU-2026:12401-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | mariadb-java-clients390x | Advisory build | 3.5.11-1.1 | OPENSUSE-SU-2026:12401-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | mariadb-java-clientx86_64 | Advisory build | 3.5.11-1.1 | OPENSUSE-SU-2026:12401-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | mariadb-java-client-javadocaarch64 | Advisory build | 3.5.11-1.1 | OPENSUSE-SU-2026:12401-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | mariadb-java-client-javadocppc64le | Advisory build | 3.5.11-1.1 | OPENSUSE-SU-2026:12401-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | mariadb-java-client-javadocs390x | Advisory build | 3.5.11-1.1 | OPENSUSE-SU-2026:12401-1 |
Show 1 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | mariadb-java-client-javadocx86_64 | Advisory build | 3.5.11-1.1 | OPENSUSE-SU-2026:12401-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.9 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| mariadb-corporation | mariadb-connector-j | >= 3.0.0, < 3.3.7 (affected)>= 3.4.0, < 3.4.5 (affected)>= 3.5.0, < 3.5.10 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-130 CWE-130: Improper Handling of Length Parameter Inconsistency
- CWE-190 CWE-190: Integer Overflow or Wraparound
References
7- https://github.com/mariadb-corporation/mariadb-connector-j/commit/30d4a883377a9b7762e02ee2c60d54567032ab99
- https://github.com/mariadb-corporation/mariadb-connector-j/commit/bfd9f5ad666a6f7f5401a5b78f2ac2fbd6df8667
- https://github.com/mariadb-corporation/mariadb-connector-j/commit/dbbadc3e215c47bdb913ddf50739ada09a7f23ea
- https://github.com/mariadb-corporation/mariadb-connector-j/releases/tag/3.3.7
- https://github.com/mariadb-corporation/mariadb-connector-j/releases/tag/3.4.5
- https://github.com/mariadb-corporation/mariadb-connector-j/releases/tag/3.5.10
- https://github.com/mariadb-corporation/mariadb-connector-j/security/advisories/GHSA-797x-p4mc-jwpm
Provider assertions
2GitHub_M · cna
MariaDB Connector/J: Length-encoded integers larger than Integer.MAX_VALUE were truncated before being used as lengths
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 6a6a4304e715bfda0b594f860f2db7f197a5acf5ddf80763a72534272d5d634f
- Ingested
- 03 Nov 2026, 16:54:37 UTC
- Source record
- Official CVE record