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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-130",
"CWE-190"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/119xxx/CVE-2026-119279.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "3.0.0"
},
{
"fixed": "3.3.7"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"introduced": "3.4.0"
},
{
"fixed": "3.4.5"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"introduced": "3.5.0"
},
{
"fixed": "3.5.10"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "30d4a883377a9b7762e02ee2c60d54567032ab99"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "bfd9f5ad666a6f7f5401a5b78f2ac2fbd6df8667"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "dbbadc3e215c47bdb913ddf50739ada09a7f23ea"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "3.3.7",
"range": [
{
"fixed": "4d2f8002399949ed7f138e9c0b75b69229538120"
}
],
"source": "REFERENCES_TAG"
},
{
"original_tag": "3.4.5",
"range": [
{
"fixed": "5812e0ca7574c3934915179b76f2e819a556d099"
}
],
"source": "REFERENCES_TAG"
},
{
"original_tag": "3.5.10",
"range": [
{
"fixed": "6164678e83aa9d203939d5bec73bd4571cbec8a2"
}
],
"source": "REFERENCES_TAG"
}
]
}
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-119279.json"
[
{
"deprecated": false,
"digest": {
"line_hashes": [
"320124150551950492271937071952432991502",
"263844299012462535645241041770479409797",
"3334015838453246109194075567958646455",
"130661122538496977755299437605809246672",
"254401782381624234294514608803782937619",
"302784529578817912552121381898571107475",
"181564558677283222131626065178851161651",
"236031572672584769343189794216672278188",
"159463520590552838317414136336203384640",
"308380351716533614549719535039100851138",
"222397005875099452660295442579937648606",
"187116466243327622608597725725157947472",
"116030533373591976903019197400595784603",
"98773937474417500148504016381559272298",
"26641953231316811448678622105004198533",
"82709329971186150177055078763324354853",
"167588900106191031003838797961703800358",
"132925139439295939984847056477810114027",
"126577870141291996017622705236620662387",
"308380351716533614549719535039100851138",
"121045785329528212758381413593842397143",
"230331053320410828020378931092119654058",
"204240478319522207617735491020998328990",
"101919737421726578973531336102381547403",
"222088665266195079585328509309436121227",
"279817475240226951299208290917218654778",
"184185552226415424840346493835219239895",
"303676256863924961839153258181065326754",
"15379559504329502387685401560932682911",
"2374922366184402868526966848641622787",
"117297858040675634821969021863964135303",
"250180053186836370587193087241187285099",
"47414490977304779195433503533565413266",
"67492818450356375050883486873848769375",
"143892128757122733197031942749050557356",
"183325986263730029783145769233746546977",
"216426890187127044284043734361971754175",
"193945555105656936453847297800470789796",
"255369078538192198233688455354058522882",
"200349135564226919181148007600334882849",
"15456609122099891429094464382175592603"
],
"threshold": 0.9
},
"id": "CVE-2026-119279-1f1ed865",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/mariadb-corporation/mariadb-connector-j/commit/4d2f8002399949ed7f138e9c0b75b69229538120",
"target": {
"file": "src/main/java/org/mariadb/jdbc/message/ClientMessage.java"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"57265508110259767428246203264552903097",
"134515507585875663819209684364972934222",
"68166656741184065452082075008901555728",
"106369319764584366474767996165031134405",
"57265508110259767428246203264552903097",
"134515507585875663819209684364972934222",
"68166656741184065452082075008901555728",
"106369319764584366474767996165031134405"
],
"threshold": 0.9
},
"id": "CVE-2026-119279-3707f740",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/mariadb-corporation/mariadb-connector-j/commit/dbbadc3e215c47bdb913ddf50739ada09a7f23ea",
"target": {
"file": "src/main/java/org/mariadb/jdbc/client/impl/StandardReadableByteBuf.java"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"57265508110259767428246203264552903097",
"134515507585875663819209684364972934222",
"68166656741184065452082075008901555728",
"106369319764584366474767996165031134405",
"57265508110259767428246203264552903097",
"134515507585875663819209684364972934222",
"68166656741184065452082075008901555728",
"106369319764584366474767996165031134405"
],
"threshold": 0.9
},
"id": "CVE-2026-119279-5b9eb73c",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/mariadb-corporation/mariadb-connector-j/commit/bfd9f5ad666a6f7f5401a5b78f2ac2fbd6df8667",
"target": {
"file": "src/main/java/org/mariadb/jdbc/client/impl/StandardReadableByteBuf.java"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"257266986321353202729661352689999834247",
"307104734568313202554447440475685404868",
"329318749833829884050027794707296462191"
],
"threshold": 0.9
},
"id": "CVE-2026-119279-83d93a87",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/mariadb-corporation/mariadb-connector-j/commit/4d2f8002399949ed7f138e9c0b75b69229538120",
"target": {
"file": "src/test/java/org/mariadb/jdbc/unit/message/ClientMessageTest.java"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "218923945399002576105692149839363763230",
"length": 243
},
"id": "CVE-2026-119279-91489a29",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/mariadb-corporation/mariadb-connector-j/commit/30d4a883377a9b7762e02ee2c60d54567032ab99",
"target": {
"file": "src/main/java/org/mariadb/jdbc/client/ReadableByteBuf.java",
"function": "readIntLengthEncodedNotNull"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"257266986321353202729661352689999834247",
"307104734568313202554447440475685404868",
"329318749833829884050027794707296462191"
],
"threshold": 0.9
},
"id": "CVE-2026-119279-a2df884a",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/mariadb-corporation/mariadb-connector-j/commit/5812e0ca7574c3934915179b76f2e819a556d099",
"target": {
"file": "src/test/java/org/mariadb/jdbc/unit/message/ClientMessageTest.java"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"275464050603468839590397236669987709063",
"128452185646692029777699840280256048035",
"295480954063128811716940164955683005437",
"316935606726441608352288221428973444609",
"254401782381624234294514608803782937619",
"302784529578817912552121381898571107475",
"181564558677283222131626065178851161651",
"236031572672584769343189794216672278188",
"159463520590552838317414136336203384640",
"308380351716533614549719535039100851138",
"222397005875099452660295442579937648606",
"187116466243327622608597725725157947472",
"116030533373591976903019197400595784603",
"98773937474417500148504016381559272298",
"26641953231316811448678622105004198533",
"82709329971186150177055078763324354853",
"167588900106191031003838797961703800358",
"132925139439295939984847056477810114027",
"126577870141291996017622705236620662387",
"308380351716533614549719535039100851138",
"121045785329528212758381413593842397143",
"230331053320410828020378931092119654058",
"204240478319522207617735491020998328990",
"101919737421726578973531336102381547403",
"222088665266195079585328509309436121227",
"279817475240226951299208290917218654778",
"184185552226415424840346493835219239895",
"303676256863924961839153258181065326754",
"15379559504329502387685401560932682911",
"2374922366184402868526966848641622787",
"117297858040675634821969021863964135303",
"250180053186836370587193087241187285099",
"47414490977304779195433503533565413266",
"67492818450356375050883486873848769375",
"143892128757122733197031942749050557356",
"183325986263730029783145769233746546977",
"216426890187127044284043734361971754175",
"193945555105656936453847297800470789796",
"255369078538192198233688455354058522882",
"200349135564226919181148007600334882849",
"15456609122099891429094464382175592603"
],
"threshold": 0.9
},
"id": "CVE-2026-119279-b537185d",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/mariadb-corporation/mariadb-connector-j/commit/5812e0ca7574c3934915179b76f2e819a556d099",
"target": {
"file": "src/main/java/org/mariadb/jdbc/message/ClientMessage.java"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "218923945399002576105692149839363763230",
"length": 243
},
"id": "CVE-2026-119279-b909b570",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/mariadb-corporation/mariadb-connector-j/commit/dbbadc3e215c47bdb913ddf50739ada09a7f23ea",
"target": {
"file": "src/main/java/org/mariadb/jdbc/client/impl/StandardReadableByteBuf.java",
"function": "readIntLengthEncodedNotNull"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "218923945399002576105692149839363763230",
"length": 243
},
"id": "CVE-2026-119279-ea7c1e62",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/mariadb-corporation/mariadb-connector-j/commit/bfd9f5ad666a6f7f5401a5b78f2ac2fbd6df8667",
"target": {
"file": "src/main/java/org/mariadb/jdbc/client/impl/StandardReadableByteBuf.java",
"function": "readIntLengthEncodedNotNull"
}
}
]
"2026-11-05T07:04:39Z"