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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-129",
"CWE-789"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/119xxx/CVE-2026-119278.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": [
{
"fixed": "1e32b7010485f090cc402528c334301432495fbe"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "86a90b0dc9746aa3bd4aa1df264be22a2d1b7d98"
}
],
"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"
}
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-119278.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-119278-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": [
"209618296964158405775390720248934334789",
"165280492140017442407548354673122405436",
"284843652058721875636913144528329913917",
"17384246081572834036355529514773429547",
"41954635975937783111907488000580831651",
"39303840466632429953958495602564219261",
"320186009547343200148693845029450248697",
"144192504152791930945587744681150710910",
"152189147001703765041354765431401174679",
"12326612540851432160431807748124381715",
"46869724074434534356323357067507366453",
"151717308995841872563708091880652139519",
"135519573928851848232290683341655759342"
],
"threshold": 0.9
},
"id": "CVE-2026-119278-27becee4",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/mariadb-corporation/mariadb-connector-j/commit/86a90b0dc9746aa3bd4aa1df264be22a2d1b7d98",
"target": {
"file": "src/main/java/org/mariadb/jdbc/plugin/authentication/standard/CachingSha2PasswordPlugin.java"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "198844769372149798421549661981246661990",
"length": 1738
},
"id": "CVE-2026-119278-65f478b4",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/mariadb-corporation/mariadb-connector-j/commit/86a90b0dc9746aa3bd4aa1df264be22a2d1b7d98",
"target": {
"file": "src/main/java/org/mariadb/jdbc/plugin/authentication/standard/CachingSha2PasswordPlugin.java",
"function": "process"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"257266986321353202729661352689999834247",
"307104734568313202554447440475685404868",
"329318749833829884050027794707296462191"
],
"threshold": 0.9
},
"id": "CVE-2026-119278-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": "73616058218706627859971240404794791527",
"length": 1822
},
"id": "CVE-2026-119278-9cc4158f",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/mariadb-corporation/mariadb-connector-j/commit/1e32b7010485f090cc402528c334301432495fbe",
"target": {
"file": "src/main/java/org/mariadb/jdbc/plugin/authentication/standard/CachingSha2PasswordPlugin.java",
"function": "process"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"257266986321353202729661352689999834247",
"307104734568313202554447440475685404868",
"329318749833829884050027794707296462191"
],
"threshold": 0.9
},
"id": "CVE-2026-119278-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-119278-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": {
"line_hashes": [
"209618296964158405775390720248934334789",
"165280492140017442407548354673122405436",
"284843652058721875636913144528329913917",
"17384246081572834036355529514773429547",
"41954635975937783111907488000580831651",
"39303840466632429953958495602564219261",
"121802175009604845205202453160866509786",
"216650683342802343452919427073773257322",
"291594908116171678995016733183305030927",
"12326612540851432160431807748124381715",
"46869724074434534356323357067507366453",
"151717308995841872563708091880652139519",
"135519573928851848232290683341655759342"
],
"threshold": 0.9
},
"id": "CVE-2026-119278-c27e5541",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/mariadb-corporation/mariadb-connector-j/commit/1e32b7010485f090cc402528c334301432495fbe",
"target": {
"file": "src/main/java/org/mariadb/jdbc/plugin/authentication/standard/CachingSha2PasswordPlugin.java"
}
}
]
"2026-11-01T07:03:01Z"