MariaDB Connector/J is used to connect applications developed in Java to MariaDB and MySQL databases. Prior to 2.7.14, 3.3.5, 3.4.3, and 3.5.9, when a Java application connects with sslMode=verify-full or sslMode=verify-ca, supplies a password, and does not configure serverSslCert or trustStore, Connector/J can accept an untrusted self-signed certificate through the fallbackToSystemTrustStore=true ephemeral trust manager and record its certFingerprint for later identity binding. The OK-packet and authentication-switch paths enforce the certificate fingerprint, but the initial-handshake path does not. HandshakeResponse.encode() can therefore build and send a mysql_clear_password response before checking certFingerprint != null && !isMitMProof(), sslMode, or whether the authentication plugin is resistant to a man-in-the-middle, and the initial path also bypasses restrictedAuth. An active man-in-the-middle or hostile server can present a self-signed certificate, claim to be MariaDB, select mysql_clear_password as the initial authentication plugin, and receive the full database password before the connection is rejected. This issue is fixed in versions 2.7.14, 3.3.5, 3.4.3, and 3.5.9.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-522"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55856.json"
}{
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "2.7.14"
},
{
"introduced": "3.0.0"
},
{
"fixed": "3.3.5"
},
{
"introduced": "3.4.0"
},
{
"fixed": "3.4.3"
},
{
"introduced": "3.5.0"
},
{
"fixed": "3.5.9"
}
],
"source": [
"AFFECTED_FIELD",
"REFERENCES"
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-55856.json"
[
{
"deprecated": false,
"digest": {
"function_hash": "185210897925734049027086244423075167776",
"length": 319
},
"id": "CVE-2026-55856-0460b895",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/mariadb-corporation/mariadb-connector-j/commit/defeee068496e3f6312e775c7de864f1b06388d4",
"target": {
"file": "src/test/java/org/mariadb/jdbc/BaseTest.java",
"function": "isMaxscale"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"22027530830916081225178563686042018483",
"174342184474611835915275231006802607836",
"227002696852772479659334823717488401577",
"231368355865816663883159489540630860101",
"27527753809539297550466388092238702680",
"145319566634878139591653247278453569203",
"90444046753216281132198778779088647489",
"53119880967304619809789346238114935691",
"99789212052814294505263683157140629224",
"242174686656035239329344267603657213997"
],
"threshold": 0.9
},
"id": "CVE-2026-55856-080c5754",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/mariadb-corporation/mariadb-connector-j/commit/149ec6a626376214966c01f42d48be1b80d06056",
"target": {
"file": "src/main/java/org/mariadb/jdbc/client/impl/StandardClient.java"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"272949760139342657519242200057728909737",
"69654055620273838008976718084623493488",
"126468088687367371363054035476846617234",
"179407380963291963243963748679339122434",
"200051856203714990243831618095187707072",
"4848726555549364871918433815902559730",
"321381091083879867745886886372878234365",
"210678784227884109267190935720771463128",
"247672138355017490737532869257011404551",
"334444040614781259619536879623842970805"
],
"threshold": 0.9
},
"id": "CVE-2026-55856-16b565b7",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/mariadb-corporation/mariadb-connector-j/commit/d90b9872322c76b05a48219be66bff1d33102f8a",
"target": {
"file": "src/main/java/org/mariadb/jdbc/message/client/HandshakeResponse.java"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "125394110267100948280344882787043056509",
"length": 258
},
"id": "CVE-2026-55856-49c2c95c",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/mariadb-corporation/mariadb-connector-j/commit/df4ebe2c61293b7a79ab9dd440199544305d1f38",
"target": {
"file": "src/test/java/org/mariadb/jdbc/integration/tools/TcpProxy.java",
"function": "restart"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "79444891239638429354542158573684670307",
"length": 3061
},
"id": "CVE-2026-55856-49f2f12e",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/mariadb-corporation/mariadb-connector-j/commit/149ec6a626376214966c01f42d48be1b80d06056",
"target": {
"file": "src/main/java/org/mariadb/jdbc/client/impl/StandardClient.java",
"function": "StandardClient"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "45776714546164338723462641041249279583",
"length": 172
},
"id": "CVE-2026-55856-4ba2ebab",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/mariadb-corporation/mariadb-connector-j/commit/df4ebe2c61293b7a79ab9dd440199544305d1f38",
"target": {
"file": "src/test/java/org/mariadb/jdbc/integration/tools/TcpProxySocket.java",
"function": "TcpProxySocket"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "286206149843698329108931548984761100893",
"length": 1831
},
"id": "CVE-2026-55856-57b1c6bd",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/mariadb-corporation/mariadb-connector-j/commit/df4ebe2c61293b7a79ab9dd440199544305d1f38",
"target": {
"file": "src/test/java/org/mariadb/jdbc/integration/tools/TcpProxySocket.java",
"function": "run"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"36080727073426881173041813986674935507",
"313765164227671911998211239114637621924",
"182427900561183839641512897885912926552",
"18748215377197812477916482314913713494",
"326836629880561258824752767660421169150",
"134669326577623107767554211984084230369",
"106521113647404475609534626428498840999",
"127093795513238516185077971010441312007",
"56529725908919675086179800335607480461",
"37338405024323771495738158621111463575",
"120265795765920731081143943464714656529",
"220592647504481798153606571142269190598",
"135818739705042006595954142288327108510",
"122011331843447417156879060623967813612",
"159907601509891109246439304229943076662",
"33802407644098004969853588235889933940",
"250209934825706533869256849015261967210",
"10180165611358828545441238481820800450",
"212834346401854957521920983440552735401",
"791140364776958749155669315619166076",
"139064770066582847583756338237549340977",
"111911877464310049565434876779233978945",
"321594774609313880527286188448185794172",
"199502207441525298355629710598096598358",
"37707325452777045990449543844442780944",
"281530574884719255925048794541219262424",
"286459214060737518764782150566586856711",
"132948461189540838900000221056644710100",
"249822736470852519968590863971879614269",
"34326942853535270594812861105059438429",
"284414272539814029761960672945609741080",
"222773495349271569708503899218532563339",
"9729861514101896943044901606940373330",
"188488146291189372441307733007992556407",
"132258122523427606744925274623816931681",
"249822736470852519968590863971879614269",
"321594774609313880527286188448185794172",
"237786024258601652862330724871184312555",
"302345350373462776965677230129492726038",
"2388199116681132166371303471723905893",
"116353898746934374757627904351828895778",
"111911877464310049565434876779233978945",
"45574379738724547161592875030803414249",
"272619164285717546928115815887689865980",
"185231575570899371475720430439458086471",
"228739972331049026873518575240124533034",
"286124374380645913018762924814290277228",
"5203845429875158857575703168261928184",
"48923195057283199900345112223702956096",
"21934578017714404142788024947012531393",
"147034241846726266933111612934612146907",
"297695124607537869317260265828860813512",
"12013061300143887006331338978698591760",
"247054472446657027384684085108215205497",
"292973987720881257323270487289048555562",
"183812576523699701542514276040346460544",
"144519087708191447236047301243032049722",
"213531157934429060409992108638704260695",
"162145923579123227095337208288085577738",
"71559441021564197927130027159971801636",
"212995715004167534551138280515283139977",
"311783417700207935874770711517786420866",
"268324232295078176290106445261216930810",
"305139594093281744640475330745980177575",
"318551564965847475033085482470490650938",
"220337420951614415587463431259826714069",
"192696909586776576116988866569652161854",
"291800434925973361418919438811576385253",
"223546901574062350602808886092972198541",
"176816040358192686828080842518218685502",
"54285854685218769414178712479157439816",
"226626565849905700575738508471822099535",
"291001845362477000441739434302895351304",
"77262302017947235427470320575908061611",
"140060465784639053568948441989331006507",
"93467794650317567682927009028293101724",
"32560000235401852851504518680724448742",
"224485162770408943948617931171821113331",
"12154321257645284595299422001740643185",
"99956369956854937565959288873537634129",
"2388199116681132166371303471723905893",
"239710116751037206416449654653440454352",
"210585912936909598087414701931544481935",
"186608888182779395674068129750299962427",
"161334761599599806820713599479122818247",
"249822736470852519968590863971879614269",
"275967535780645398801255054852287645826",
"1757928844923681562295595033958700022",
"52692077411421678799880544013545094020",
"84867976818828499679110854996311744330",
"120475662925348192104350581947768017674",
"281001011996375552978131961693417349372"
],
"threshold": 0.9
},
"id": "CVE-2026-55856-5b54e526",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/mariadb-corporation/mariadb-connector-j/commit/df4ebe2c61293b7a79ab9dd440199544305d1f38",
"target": {
"file": "src/test/java/org/mariadb/jdbc/integration/tools/TcpProxySocket.java"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "116813840997402486382339783935528929681",
"length": 245
},
"id": "CVE-2026-55856-6081ec7c",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/mariadb-corporation/mariadb-connector-j/commit/d90b9872322c76b05a48219be66bff1d33102f8a",
"target": {
"file": "src/main/java/org/mariadb/jdbc/client/impl/StandardClient.java",
"function": "createAuthPlugin"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "289970532453041542688790833220504902617",
"length": 283
},
"id": "CVE-2026-55856-6af75013",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/mariadb-corporation/mariadb-connector-j/commit/df4ebe2c61293b7a79ab9dd440199544305d1f38",
"target": {
"file": "src/test/java/org/mariadb/jdbc/integration/tools/TcpProxySocket.java",
"function": "sendRst"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"200051856203714990243831618095187707072",
"4848726555549364871918433815902559730",
"321381091083879867745886886372878234365",
"210678784227884109267190935720771463128",
"247672138355017490737532869257011404551",
"334444040614781259619536879623842970805"
],
"threshold": 0.9
},
"id": "CVE-2026-55856-6c2e32d1",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/mariadb-corporation/mariadb-connector-j/commit/149ec6a626376214966c01f42d48be1b80d06056",
"target": {
"file": "src/main/java/org/mariadb/jdbc/message/client/HandshakeResponse.java"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "157253225502051229171138495183972545814",
"length": 1540
},
"id": "CVE-2026-55856-752a32bd",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/mariadb-corporation/mariadb-connector-j/commit/d90b9872322c76b05a48219be66bff1d33102f8a",
"target": {
"file": "src/main/java/org/mariadb/jdbc/message/client/HandshakeResponse.java",
"function": "encode"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"283982539249216696084008895452993606702",
"47346380725116475200665603837850942091",
"212103373299154857707036805153242529199",
"37020035592985614936281328248017706843"
],
"threshold": 0.9
},
"id": "CVE-2026-55856-7a7fff17",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/mariadb-corporation/mariadb-connector-j/commit/df4ebe2c61293b7a79ab9dd440199544305d1f38",
"target": {
"file": "src/test/java/org/mariadb/jdbc/integration/tools/TcpProxy.java"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "215327040849450173320810704636492383338",
"length": 333
},
"id": "CVE-2026-55856-88311070",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/mariadb-corporation/mariadb-connector-j/commit/d90b9872322c76b05a48219be66bff1d33102f8a",
"target": {
"file": "src/main/java/org/mariadb/jdbc/client/impl/StandardClient.java",
"function": "handleAuthentication"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "63537419803687200015418309072518510864",
"length": 368
},
"id": "CVE-2026-55856-a25b5823",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/mariadb-corporation/mariadb-connector-j/commit/df4ebe2c61293b7a79ab9dd440199544305d1f38",
"target": {
"file": "src/test/java/org/mariadb/jdbc/integration/tools/TcpProxySocket.java",
"function": "kill"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "157253225502051229171138495183972545814",
"length": 1540
},
"id": "CVE-2026-55856-b1ebe427",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/mariadb-corporation/mariadb-connector-j/commit/149ec6a626376214966c01f42d48be1b80d06056",
"target": {
"file": "src/main/java/org/mariadb/jdbc/message/client/HandshakeResponse.java",
"function": "encode"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"169511546015419781693203332567208129014",
"260085088350083345367449633163562315943",
"33925820592646573265629019915507556467",
"47949435423018472492163919643029693491",
"173813814062024981069472880759444894243",
"304340461297738498736644441706109284130",
"227515345433505721658285049560541208340",
"137657978292557188747560294460455620619",
"75707318493910215020896283420937370976",
"142686481299327647586958250304962613805",
"75629051609957054426875390392215918362",
"291590553581795493615764454430355006204",
"241038225995916825620730959338379325848",
"99850672357292874752889362422554333912",
"260842368599262618577621858323256124152",
"187380101887209600373901463955880438170",
"175582259782240235183715224263931753381",
"84534523474847478277634918642189473101",
"220951996849097685905847679423021092552",
"229002838587056929134286781190127876530"
],
"threshold": 0.9
},
"id": "CVE-2026-55856-e07a203f",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/mariadb-corporation/mariadb-connector-j/commit/d90b9872322c76b05a48219be66bff1d33102f8a",
"target": {
"file": "src/main/java/org/mariadb/jdbc/client/impl/StandardClient.java"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"256785738987381743653376132555694639944",
"68727910757537263648139751933403397105",
"299737602962380196508329329106861516084",
"199629589759793507609483143677577197047",
"95283212317998327544029625605673081170",
"322788262573727276319129692285418808751",
"194029478353950828363197234374977169676",
"197056354458389135263618634574852168053",
"13356345791544287112055878874098875073",
"167882527907366622863897518138363941560",
"53515382639599372886795338142543809582",
"151664467116144830529837379748782198517",
"102274171772077041731510278249774198069",
"41804052608904477648882984701865935262",
"199313348767260020767884016327716041457",
"117513760966066909694289784647327715328",
"56816739296230036131343654835708668775"
],
"threshold": 0.9
},
"id": "CVE-2026-55856-fd386a8c",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/mariadb-corporation/mariadb-connector-j/commit/defeee068496e3f6312e775c7de864f1b06388d4",
"target": {
"file": "src/test/java/org/mariadb/jdbc/BaseTest.java"
}
}
]
"2026-09-10T08:13:48Z"