CVE-2026-119279

Source
https://cve.org/CVERecord?id=CVE-2026-119279
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-119279.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-119279
Aliases
Downstream
CGA (50)
CLEANSTART (1)
DEBIAN (1)
MINI (1)
openSUSE (1)
UBUNTU (1)
Related
Published
2026-10-29T20:52:22Z
Modified
2026-11-05T07:04:39Z
Severity
  • 5.9 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
MariaDB Connector/J: Length-encoded integers larger than Integer.MAX_VALUE were truncated before being used as lengths
Details

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.

Database specific
{
    "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"
}
References

Affected packages

Git / github.com/mariadb-corporation/mariadb-connector-j

Affected ranges

Type
GIT
Repo
https://github.com/mariadb-corporation/mariadb-connector-j
Events
Database specific
Show details
{
    "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"
        }
    ]
}

Affected versions

1.*
1.1.8
1.1.9
1.2.0
1.2.2
1.3.0
1.3.0-beta-1
1.3.0-beta-2
1.3.0-beta-3
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.4.0
1.4.1
1.4.2
1.4.3
1.4.4
1.5.3
1.5.5
1.5.6
1.5.8
1.5.9
2.*
2.0.0-RC
2.1.2
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.3.0
2.4.0
2.5.1
2.5.2
2.5.3
2.5.4
2.6.0
2.6.1
2.6.2
2.7.0
2.7.1
2.7.2
3.*
3.0.0-alpha
3.0.3
3.0.6
3.0.7
3.0.8
3.0.9
3.1.3
3.1.4
3.3.1
3.3.2
3.3.3
3.3.4
3.3.5
3.3.6
3.4.0
3.4.1
3.4.2
3.4.3
3.4.4
3.5.0
3.5.1
3.5.2
3.5.3
3.5.4
3.5.5
3.5.7
3.5.8
3.5.9

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-119279.json"
vanir_signatures
[
    {
        "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"
        }
    }
]
vanir_signatures_modified
"2026-11-05T07:04:39Z"