Skip to main content

Mariadb Corporation

18 CVEs vendor

Monthly

CVE-2026-107385 Oct 08, 18:38 npm HIGH PATCH GHSA This Week

SQL injection in the MariaDB Connector/Node.js driver (CWE-89) allows unauthenticated remote attackers to break out of string literals and execute arbitrary SQL with the application's database privileges when the session runs with NO_BACKSLASH_ESCAPES enabled. The flaw affects all releases prior to 3.2.5, 3.3.4, 3.4.7, and 3.5.4: the connector's text-protocol escaper, including Connection.escape(), always prefixes quotes with a backslash and ignores the session's NO_BACKSLASH_ESCAPES mode, in which the backslash is an ordinary character and cannot escape the quote. Exploitation is conditional rather than drive-by: it requires NO_BACKSLASH_ESCAPES to be active (server-wide, set through connector initialization options, or via an application-issued SET sql_mode - not the default MariaDB/MySQL behavior), requires attacker-controlled values to reach query() or Connection.escape() text protocol handling, and does not apply to execute() or batch(), which use binary protocols. Vendor-released patch: 3.2.5, 3.3.4, 3.4.7, 3.5.4; no public exploit identified at time of analysis (CVSS 3.1 base 7.4, AV:N/AC:H/PR:N/UI:N), though a HackerOne report and public commits document the defect.

SQLi Node.js Red Hat Mariadb Connector Nodejs Mariadb Corporation
NVD GitHub VulDB
CVSS 3.1
7.4
EPSS
0.4%
CVE-2026-107384 Oct 08, 18:32 npm HIGH PATCH GHSA This Week

SQL injection in MariaDB Connector/Node.js (3.2.0 through 3.2.4, 3.3.x before 3.3.4, 3.4.x before 3.4.7, and 3.5.x before 3.5.4) allows an attacker-influenced object key containing a backtick to break out of the quoted identifier the driver builds when it expands object properties into a SQL SET clause, letting the remainder of the key be parsed as SQL so that columns the application never intended to expose can be updated or arbitrary statements appended with the database user's privileges. Exploitation is conditional and unauthenticated at the driver layer (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H): the application must explicitly enable the non-default permitSetMultiParamEntries option and must pass object KEYS - not merely values - derived from attacker-influenced input into an expanded `SET ?` clause. No public exploit code or confirmed active exploitation was identified at time of analysis, and the limiting factors (off-by-default feature plus the need for attacker-controlled keys) are the reason the assessed vector carries AC:H; the serialized-object handling used when the option is disabled is not affected.

SQLi Node.js Red Hat Mariadb Connector Nodejs Mariadb Corporation
NVD GitHub VulDB
CVSS 3.1
8.1
EPSS
0.4%
CVE-2026-107383 Oct 08, 18:27 npm HIGH PATCH GHSA This Week

Malformed GeoJSON Polygon or MultiPolygon values cause MariaDB Connector/Node.js - every release before 3.2.5, 3.3.4, 3.4.7 and 3.5.4 - to write uninitialized Node.js heap memory into database values. When a calling application passes a non-array 'ring' (an object exposing a numeric length, a string, or a number) through the binary-protocol execute() or batch() APIs, the encoder sizes a Buffer.allocUnsafe() allocation from that ring's length but the writing loop skips the reserved bytes, so the entire buffer is sent and persisted in the database, potentially carrying other users' content, session material, database credentials or TLS key material that can then spread to backups and replicas. The published CVSS 3.1 vector (7.5, AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N) treats this as a trivially reachable unauthenticated disclosure, but independent review rates attack complexity High because exploitation additionally requires the attacker to influence the geometry value the application passes to the connector, the application to actually use binary-protocol prepared statements or batches with geometry rather than the unaffected text-protocol query() path, and the ability to read the persisted value back; no public exploit code has been identified at time of analysis and there is no CISA KEV entry.

Information Disclosure Node.js Red Hat Mariadb Connector Nodejs Mariadb Corporation
NVD GitHub VulDB
CVSS 3.1
7.5
EPSS
0.4%
CVE-2026-119280 Oct 29, 20:55 Maven LOW PATCH GHSA Monitor

MariaDB Connector/J (Maven org.mariadb.jdbc:mariadb-java-client) trusts the gtrid_length and bqual_length columns returned by XA RECOVER when building Xid objects in MariaDbPoolConnection.recover() and MariaDbPoolPinnedConnection.recover(), so a malicious or compromised MariaDB/MySQL server, or a machine-in-the-middle on the client-server link, can return negative, oversized, or payload-inconsistent lengths and drive large allocations, NegativeArraySizeException, or ArrayIndexOutOfBoundsException during XA recovery. Only applications that actually perform XA transaction recovery through those pooled-connection implementations are reachable, and the impact is availability-only on the client, which is why this carries a low CVSS score (3.7, AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L); the driver versions concerned are 3.0.0 up to the 3.3.7, 3.4.5 and 3.5.11 fixes. No public exploit code was identified at time of analysis, and the issue is not flagged as actively exploited (no CISA KEV listing); priority guidance is to monitor and patch on a routine cycle.

Java Mariadb Connector J Mariadb Corporation
NVD GitHub VulDB HeroDevs
CVSS 3.1
3.7
EPSS
0.3%
CVE-2026-119279 Oct 29, 20:52 Maven MEDIUM PATCH GHSA This Month

Truncation of oversized length-encoded integers in MariaDB Connector/J (maven org.mariadb.jdbc:mariadb-java-client) lets a malicious, compromised, or man-in-the-middle server crash or destabilize Java client connection handling. Versions 3.0.0 through 3.3.6, 3.4.0 through 3.4.4, and 3.5.0 through 3.5.9 narrow the protocol's unsigned 8-byte length-encoded integer to a Java int without range validation, so a value above Integer.MAX_VALUE wraps to a negative or unrelated length that is then used to size allocations or reads, producing NegativeArraySizeException, out-of-bounds failures, or oversized allocations. Impact is availability-only (no confidentiality or integrity effect) and exploitation requires control of the server side of the connection; no public exploit code has been identified at time of analysis, and the issue is not in CISA KEV.

Buffer Overflow Java Red Hat Mariadb Connector J Mariadb Corporation
NVD GitHub VulDB HeroDevs
CVSS 3.1
5.9
EPSS
0.4%
CVE-2026-119278 Oct 29, 20:50 MEDIUM PATCH This Month

Connection-establishment denial of service in MariaDB Connector/J (maven org.mariadb.jdbc:mariadb-java-client) 3.0.0 through 3.3.6 and 3.4.0 through 3.4.4 stems from the caching_sha2_password plugin trusting a server-declared length in the authentication-more-data packet and then indexing the resulting buffer without confirming it held a byte. A malicious or compromised MariaDB/MySQL server, or a machine-in-the-middle on the TCP connection, can therefore drive a very large heap allocation or trigger an unchecked ArrayIndexOutOfBoundsException that escapes DriverManager.getConnection(), crashing the application during connection setup before any password is transmitted - so availability only, with no credential exposure, data access, or code execution. The vector is AV:N/AC:H/PR:N/UI:N with C:N/I:N/A:H (5.9), the high attack complexity reflecting the prerequisite that the attacker occupy the server side of the connection; connections to trusted servers over certificate-verified TLS sharply reduce realistic exposure. No public exploit code and no CISA KEV entry were identified at time of analysis, and vendor patches are released as 3.3.7 and 3.4.5, with the maintainers' advisory rating this a moderate-priority availability fix rather than an emergency.

Java Red Hat Mariadb Connector J Mariadb Corporation
NVD GitHub VulDB HeroDevs
CVSS 3.1
5.9
EPSS
0.4%
CVE-2026-119277 Oct 29, 20:49 MEDIUM PATCH This Month

Out-of-bounds reads in the packet decoders of MariaDB Connector/J can crash the client's connection handling: a rogue or compromised MariaDB/MySQL server, or a machine-in-the-middle on the connection path, can declare lengths larger than the bytes actually remaining in a packet and drive unchecked ArrayIndexOutOfBoundsException or IllegalArgumentException failures out of ordinary JDBC calls instead of a clean SQLException. All releases from 3.0.0 up to the fixes are affected - 3.3.0-3.3.6, 3.4.0-3.4.4 and 3.5.0-3.5.10 - and impact is strictly availability-side (CVSS 5.9, C:N/I:N/A:H), since the GHSA advisory explicitly rules out authentication bypass, confidentiality and integrity impact. Exploitation requires the attacker to already control the server side of the connection or hold a MitM position; no client credentials or user interaction are needed once that position exists. No public exploit code and no confirmed active exploitation were identified at time of analysis.

Buffer Overflow Java Mariadb Connector J Mariadb Corporation
NVD GitHub HeroDevs
CVSS 3.1
5.9
EPSS
0.4%
CVE-2026-119276 Oct 29, 20:47 Maven MEDIUM PATCH GHSA This Month

Heap-exhaustion denial of service in MariaDB Connector/J (the Java client published as org.mariadb.jdbc:mariadb-java-client) affects versions 3.0.0 through 3.3.6, 3.4.0 through 3.4.4, and 3.5.0 through 3.5.10: a malicious or compromised MariaDB/MySQL server, or an attacker in a machine-in-the-middle position, can send a tiny OK packet that declares multi-megabyte field lengths and force repeated attacker-sized heap allocations in the client JVM. The result is garbage-collection pressure up to an OutOfMemoryError, so the impact is availability only - no confidentiality, integrity, or code-execution effect. Exploitation requires control of the server side of the connection or interception of the client-to-server link; a TLS-protected connection to a trusted server removes the MitM path, and no public exploit code has been identified at time of analysis. This is a moderate-severity issue suited to routine monthly patching rather than emergency response.

Java Red Hat Mariadb Connector J Mariadb Corporation
NVD GitHub HeroDevs
CVSS 3.1
5.9
EPSS
0.4%
CVE-2026-119210 Oct 29, 20:45 Maven MEDIUM PATCH GHSA This Month

Arbitrary client-host file disclosure in MariaDB Connector/J affects the 3.0.x branch before 3.3.7, the 3.4.x branch before 3.4.5, and the 3.5.x branch before 3.5.11: a malicious or compromised MariaDB/MySQL server, or a machine-in-the-middle positioned on the client-server link, can cause the JDBC driver to stream any file readable by the client JVM back to the attacker. The driver's ClientMessage.validateLocalFileName() check used a regular expression that matched 'LOAD DATA LOCAL INFILE' text appearing anywhere in the outgoing SQL, including inside backtick-quoted identifiers, string literals and comments, so server-returned identifiers reused by DatabaseMetaData.getImportedKeys(), getExportedKeys() or ResultSet.updateRow() could satisfy the check and trigger a LOCAL INFILE request for an attacker-chosen path. Exploitation additionally requires the allowLocalInfile connection property to be enabled, which the advisory states is the default; there is no confirmed evidence of active exploitation and no public exploit was identified at time of analysis, though the CVSS vector (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N, 5.9) reflects a high-confidentiality-impact issue gated on server-side control or a MitM position.

Java Information Disclosure Red Hat Mariadb Connector J Mariadb Corporation
NVD GitHub HeroDevs
CVSS 3.1
5.9
EPSS
0.3%
CVE-2026-107382 Oct 08, 18:24 npm MEDIUM PATCH GHSA This Month

Denial of service in MariaDB Connector/Node.js versions 3.3.0 through 3.5.3 occurs when a Node.js application connects over TCP to a MariaDB or MySQL server with TLS enabled in the zero-configuration mode (ssl: true, or an ssl object whose rejectUnauthorized is not false, and no ssl.ca supplied) while client_ed25519 is negotiated as the authentication plugin and a password is configured. Under those conditions, any server or network attacker presenting a self-signed certificate drives the connector into a code path that throws an uncaught ReferenceError from the socket data handler; because Node.js terminates the process on an uncaught exception by default, the client application crashes, resulting in a remote denial of service. The issue is rated moderate (CVSS 5.9, AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H), is not confirmed as actively exploited (CISA KEV) and no public exploit code has been identified at time of analysis; the requirement for a specific combination of TLS, CA, and authentication-plugin settings places meaningful constraints on exploitability, and the vendor-released patch is version 3.5.4.

Denial Of Service Node.js Red Hat Mariadb Connector Nodejs Mariadb Corporation
NVD GitHub VulDB
CVSS 3.1
5.9
EPSS
0.2%
CVE-2026-61700 Sep 17, 15:49 Maven LOW PATCH GHSA Monitor

MariaDB Connector/J versions prior to 2.7.14, 3.3.5, 3.4.3, and 3.5.9 can be tricked into transmitting a locally selected file to a rogue or man-in-the-middle database server even when the allowLocalInfile option is explicitly set to false, because the connector processes a server-initiated LOCAL INFILE packet (0xfb) without honoring that setting. The exposure is narrow: the attacker can only receive the exact file the application already chose to load via a LOAD DATA LOCAL INFILE COM_QUERY, cannot redirect the request to an arbitrary path, and gains nothing unless the application organically loads sensitive data over an untrusted connection - so this is a low-severity (CVSS 3.7), highly conditional information-disclosure issue rather than a widespread threat. The vulnerability is unauthenticated at the network layer per the vector (PR:N) but requires high attack complexity (AC:H) and control of the server or the connection path; no public exploit code has been identified at time of analysis, and the flaw is fixed in the four versions listed above.

Java Information Disclosure Mariadb Connector J Mariadb Corporation
NVD GitHub HeroDevs
CVSS 3.1
3.7
EPSS
0.2%
CVE-2026-55860 Aug 28, 22:50 Maven MEDIUM POC PATCH GHSA This Month

Cleartext password disclosure in MariaDB Connector/R2DBC (org.mariadb:r2dbc-mariadb) prior to 1.4.1 allows a network-positioned attacker posing as a database server to harvest user credentials during authentication. The connector's AuthenticationPlugin interface lacked any requireSecure() gate, so plugins transmitting credentials in cleartext - mysql_clear_password and PAM/dialog - could be triggered by a forged AuthSwitchRequest over an unencrypted plain-TCP connection, causing the client to respond with the user's database password as raw bytes on the wire. No public exploit code has been identified and no KEV listing exists; the issue is fully patched in version 1.4.1.

Information Disclosure Mariadb Connector R2Dbc R2Dbc Mariadb Mariadb Corporation
NVD GitHub VulDB HeroDevs
CVSS 3.1
5.9
EPSS
0.1%
CVE-2026-55859 Aug 28, 22:48 Maven MEDIUM POC PATCH GHSA This Month

MariaDB Connector/R2DBC prior to 1.4.1 hardcodes UTF-8 for all character encoding and decoding but fails to reject mid-session charset changes announced by the server via the OK-packet session-state-tracking mechanism. A hostile or man-in-the-middle server, or server-side constructs such as stored routines, triggers, or server configuration, can shift character_set_client to a non-UTF-8 encoding after connection initialization, causing the driver and server to interpret identical bytes under different encodings. This produces silent data corruption and a charset-confusion mismatch that can undermine byte-wise quoting and escaping, creating a pathway to SQL injection in applications that rely on driver-level escaping; no public exploit has been identified at time of analysis and the vendor-released patch is available in version 1.4.1.

Information Disclosure Microsoft Mariadb Connector R2Dbc R2Dbc Mariadb Mariadb Corporation
NVD GitHub VulDB HeroDevs
CVSS 3.1
5.9
EPSS
0.2%
CVE-2026-55858 Aug 28, 22:46 Maven MEDIUM POC PATCH GHSA This Month

Charset-confusion in MariaDB Connector/J (all branches prior to 2.7.14, 3.3.5, 3.4.3, and 3.5.9) allows a server-side character set change mid-session to silently decouple the driver's UTF-8 encoding assumption from the server's active encoding. Because the driver continues escaping SQL string literals as UTF-8 while the server parses incoming bytes under a different multi-byte encoding (e.g., GBK or BIG5), the mismatch can defeat byte-wise SQL quoting and enable SQL injection - a well-documented attack class for charset-confusion primitives. No public exploit has been identified and this CVE is not listed in CISA KEV at time of analysis.

Java Information Disclosure Red Hat Suse Mariadb Connector J +1
NVD GitHub HeroDevs
CVSS 3.1
5.9
EPSS
0.3%
CVE-2026-55857 Aug 28, 22:44 Maven MEDIUM POC PATCH GHSA This Month

MariaDB Connector/J exposes database account passwords in cleartext to on-path attackers or hostile servers when PAM (dialog) authentication is used over plain TCP. The driver's PAM handler (SendPamAuthPacketFactory, plugin name 'dialog') failed to override the requireSsl() gate that correctly protects its sibling mysql_clear_password plugin, inheriting a default value of false and thus omitting the secure-transport requirement. Under the default connector configuration (sslMode=DISABLE, restrictedAuth=null), a man-in-the-middle or rogue server can issue an Authentication Switch Request for the dialog plugin and receive the account password in cleartext, granting full credential reuse against the real database. No public exploit has been identified and the vulnerability is not listed in CISA KEV, but the attack mechanics are straightforward for any on-path attacker against affected deployments.

Java Information Disclosure Red Hat Suse Mariadb Connector J +1
NVD GitHub HeroDevs
CVSS 3.1
5.9
EPSS
0.2%
CVE-2026-55856 Aug 28, 22:41 Maven MEDIUM POC PATCH GHSA This Month

Cleartext database password disclosure in MariaDB Connector/J (all versions before 2.7.14, 3.3.5, 3.4.3, and 3.5.9) allows an active network man-in-the-middle to capture a victim application's full database password during the initial TLS handshake. The connector's initial-handshake code path transmits a mysql_clear_password authentication response before validating the certificate fingerprint that is supposed to enforce server identity - a guard that the OK-packet and auth-switch paths correctly enforce but that HandshakeResponse.encode() bypasses entirely. No active exploitation has been confirmed (not in CISA KEV) and no public exploit code is identified at time of analysis, though the vulnerability mechanism is fully documented in a vendor-published HackerOne report and GHSA advisory.

Authentication Bypass Java Red Hat Mariadb Connector J Mariadb Corporation
NVD GitHub VulDB
CVSS 3.1
5.9
EPSS
0.2%
CVE-2026-55855 Aug 28, 22:06 npm MEDIUM POC PATCH GHSA This Month

SQL injection in MariaDB Connector/Node.js exposes applications to data exfiltration or modification when using non-default multi-byte character sets (big5, gbk, sjis, cp932, or gb18030) with attacker-controlled Buffer query parameters. Versions prior to 3.2.4, 3.3.3, 3.4.6, and 3.5.3 contain a charset-unaware byte-wise escape routine that allows an attacker-supplied lead byte to absorb the connector-inserted backslash (0x5C) as a multi-byte trail byte, leaving the following quote (0x27) unescaped and terminating the SQL string literal. No public exploit code has been identified at time of analysis and this CVE is not in the CISA KEV catalog, but the root technique is well-documented in public security literature as the classic GBK/Big5 multi-byte escape bypass.

SQLi Node.js Mariadb Connector Nodejs Mariadb Corporation
NVD GitHub
CVSS 3.1
6.5
EPSS
0.3%
CVE-2026-55854 Aug 28, 22:03 npm MEDIUM POC PATCH GHSA This Month

PAM dialog authentication in MariaDB Connector/Node.js discloses account passwords in cleartext when connections use plain TCP, because the SendPamAuthPacketFactory handler omitted the secure-transport gate that was already applied to the sibling mysql_clear_password plugin. Applications connecting to MariaDB with default settings (sslMode=DISABLE, restrictedAuth=null) over untrusted network paths are exposed to credential theft by any on-path attacker or rogue server that issues an Authentication Switch Request for the dialog plugin. No active exploitation or public exploit code has been identified; vendor-released patches are available across all active 3.x branches.

Information Disclosure Node.js Mariadb Connector Nodejs Mariadb Corporation
NVD GitHub
CVSS 3.1
5.9
EPSS
0.3%
EPSS 0% CVSS 7.4
HIGH PATCH This Week

SQL injection in the MariaDB Connector/Node.js driver (CWE-89) allows unauthenticated remote attackers to break out of string literals and execute arbitrary SQL with the application's database privileges when the session runs with NO_BACKSLASH_ESCAPES enabled. The flaw affects all releases prior to 3.2.5, 3.3.4, 3.4.7, and 3.5.4: the connector's text-protocol escaper, including Connection.escape(), always prefixes quotes with a backslash and ignores the session's NO_BACKSLASH_ESCAPES mode, in which the backslash is an ordinary character and cannot escape the quote. Exploitation is conditional rather than drive-by: it requires NO_BACKSLASH_ESCAPES to be active (server-wide, set through connector initialization options, or via an application-issued SET sql_mode - not the default MariaDB/MySQL behavior), requires attacker-controlled values to reach query() or Connection.escape() text protocol handling, and does not apply to execute() or batch(), which use binary protocols. Vendor-released patch: 3.2.5, 3.3.4, 3.4.7, 3.5.4; no public exploit identified at time of analysis (CVSS 3.1 base 7.4, AV:N/AC:H/PR:N/UI:N), though a HackerOne report and public commits document the defect.

SQLi Node.js Red Hat +2
NVD GitHub VulDB
EPSS 0% CVSS 8.1
HIGH PATCH This Week

SQL injection in MariaDB Connector/Node.js (3.2.0 through 3.2.4, 3.3.x before 3.3.4, 3.4.x before 3.4.7, and 3.5.x before 3.5.4) allows an attacker-influenced object key containing a backtick to break out of the quoted identifier the driver builds when it expands object properties into a SQL SET clause, letting the remainder of the key be parsed as SQL so that columns the application never intended to expose can be updated or arbitrary statements appended with the database user's privileges. Exploitation is conditional and unauthenticated at the driver layer (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H): the application must explicitly enable the non-default permitSetMultiParamEntries option and must pass object KEYS - not merely values - derived from attacker-influenced input into an expanded `SET ?` clause. No public exploit code or confirmed active exploitation was identified at time of analysis, and the limiting factors (off-by-default feature plus the need for attacker-controlled keys) are the reason the assessed vector carries AC:H; the serialized-object handling used when the option is disabled is not affected.

SQLi Node.js Red Hat +2
NVD GitHub VulDB
EPSS 0% CVSS 7.5
HIGH PATCH This Week

Malformed GeoJSON Polygon or MultiPolygon values cause MariaDB Connector/Node.js - every release before 3.2.5, 3.3.4, 3.4.7 and 3.5.4 - to write uninitialized Node.js heap memory into database values. When a calling application passes a non-array 'ring' (an object exposing a numeric length, a string, or a number) through the binary-protocol execute() or batch() APIs, the encoder sizes a Buffer.allocUnsafe() allocation from that ring's length but the writing loop skips the reserved bytes, so the entire buffer is sent and persisted in the database, potentially carrying other users' content, session material, database credentials or TLS key material that can then spread to backups and replicas. The published CVSS 3.1 vector (7.5, AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N) treats this as a trivially reachable unauthenticated disclosure, but independent review rates attack complexity High because exploitation additionally requires the attacker to influence the geometry value the application passes to the connector, the application to actually use binary-protocol prepared statements or batches with geometry rather than the unaffected text-protocol query() path, and the ability to read the persisted value back; no public exploit code has been identified at time of analysis and there is no CISA KEV entry.

Information Disclosure Node.js Red Hat +2
NVD GitHub VulDB
EPSS 0% CVSS 3.7
LOW PATCH Monitor

MariaDB Connector/J (Maven org.mariadb.jdbc:mariadb-java-client) trusts the gtrid_length and bqual_length columns returned by XA RECOVER when building Xid objects in MariaDbPoolConnection.recover() and MariaDbPoolPinnedConnection.recover(), so a malicious or compromised MariaDB/MySQL server, or a machine-in-the-middle on the client-server link, can return negative, oversized, or payload-inconsistent lengths and drive large allocations, NegativeArraySizeException, or ArrayIndexOutOfBoundsException during XA recovery. Only applications that actually perform XA transaction recovery through those pooled-connection implementations are reachable, and the impact is availability-only on the client, which is why this carries a low CVSS score (3.7, AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L); the driver versions concerned are 3.0.0 up to the 3.3.7, 3.4.5 and 3.5.11 fixes. No public exploit code was identified at time of analysis, and the issue is not flagged as actively exploited (no CISA KEV listing); priority guidance is to monitor and patch on a routine cycle.

Java Mariadb Connector J Mariadb Corporation
NVD GitHub VulDB HeroDevs
EPSS 0% CVSS 5.9
MEDIUM PATCH This Month

Truncation of oversized length-encoded integers in MariaDB Connector/J (maven org.mariadb.jdbc:mariadb-java-client) lets a malicious, compromised, or man-in-the-middle server crash or destabilize Java client connection handling. Versions 3.0.0 through 3.3.6, 3.4.0 through 3.4.4, and 3.5.0 through 3.5.9 narrow the protocol's unsigned 8-byte length-encoded integer to a Java int without range validation, so a value above Integer.MAX_VALUE wraps to a negative or unrelated length that is then used to size allocations or reads, producing NegativeArraySizeException, out-of-bounds failures, or oversized allocations. Impact is availability-only (no confidentiality or integrity effect) and exploitation requires control of the server side of the connection; no public exploit code has been identified at time of analysis, and the issue is not in CISA KEV.

Buffer Overflow Java Red Hat +2
NVD GitHub VulDB HeroDevs
EPSS 0% CVSS 5.9
MEDIUM PATCH This Month

Connection-establishment denial of service in MariaDB Connector/J (maven org.mariadb.jdbc:mariadb-java-client) 3.0.0 through 3.3.6 and 3.4.0 through 3.4.4 stems from the caching_sha2_password plugin trusting a server-declared length in the authentication-more-data packet and then indexing the resulting buffer without confirming it held a byte. A malicious or compromised MariaDB/MySQL server, or a machine-in-the-middle on the TCP connection, can therefore drive a very large heap allocation or trigger an unchecked ArrayIndexOutOfBoundsException that escapes DriverManager.getConnection(), crashing the application during connection setup before any password is transmitted - so availability only, with no credential exposure, data access, or code execution. The vector is AV:N/AC:H/PR:N/UI:N with C:N/I:N/A:H (5.9), the high attack complexity reflecting the prerequisite that the attacker occupy the server side of the connection; connections to trusted servers over certificate-verified TLS sharply reduce realistic exposure. No public exploit code and no CISA KEV entry were identified at time of analysis, and vendor patches are released as 3.3.7 and 3.4.5, with the maintainers' advisory rating this a moderate-priority availability fix rather than an emergency.

Java Red Hat Mariadb Connector J +1
NVD GitHub VulDB HeroDevs
EPSS 0% CVSS 5.9
MEDIUM PATCH This Month

Out-of-bounds reads in the packet decoders of MariaDB Connector/J can crash the client's connection handling: a rogue or compromised MariaDB/MySQL server, or a machine-in-the-middle on the connection path, can declare lengths larger than the bytes actually remaining in a packet and drive unchecked ArrayIndexOutOfBoundsException or IllegalArgumentException failures out of ordinary JDBC calls instead of a clean SQLException. All releases from 3.0.0 up to the fixes are affected - 3.3.0-3.3.6, 3.4.0-3.4.4 and 3.5.0-3.5.10 - and impact is strictly availability-side (CVSS 5.9, C:N/I:N/A:H), since the GHSA advisory explicitly rules out authentication bypass, confidentiality and integrity impact. Exploitation requires the attacker to already control the server side of the connection or hold a MitM position; no client credentials or user interaction are needed once that position exists. No public exploit code and no confirmed active exploitation were identified at time of analysis.

Buffer Overflow Java Mariadb Connector J +1
NVD GitHub HeroDevs
EPSS 0% CVSS 5.9
MEDIUM PATCH This Month

Heap-exhaustion denial of service in MariaDB Connector/J (the Java client published as org.mariadb.jdbc:mariadb-java-client) affects versions 3.0.0 through 3.3.6, 3.4.0 through 3.4.4, and 3.5.0 through 3.5.10: a malicious or compromised MariaDB/MySQL server, or an attacker in a machine-in-the-middle position, can send a tiny OK packet that declares multi-megabyte field lengths and force repeated attacker-sized heap allocations in the client JVM. The result is garbage-collection pressure up to an OutOfMemoryError, so the impact is availability only - no confidentiality, integrity, or code-execution effect. Exploitation requires control of the server side of the connection or interception of the client-to-server link; a TLS-protected connection to a trusted server removes the MitM path, and no public exploit code has been identified at time of analysis. This is a moderate-severity issue suited to routine monthly patching rather than emergency response.

Java Red Hat Mariadb Connector J +1
NVD GitHub HeroDevs
EPSS 0% CVSS 5.9
MEDIUM PATCH This Month

Arbitrary client-host file disclosure in MariaDB Connector/J affects the 3.0.x branch before 3.3.7, the 3.4.x branch before 3.4.5, and the 3.5.x branch before 3.5.11: a malicious or compromised MariaDB/MySQL server, or a machine-in-the-middle positioned on the client-server link, can cause the JDBC driver to stream any file readable by the client JVM back to the attacker. The driver's ClientMessage.validateLocalFileName() check used a regular expression that matched 'LOAD DATA LOCAL INFILE' text appearing anywhere in the outgoing SQL, including inside backtick-quoted identifiers, string literals and comments, so server-returned identifiers reused by DatabaseMetaData.getImportedKeys(), getExportedKeys() or ResultSet.updateRow() could satisfy the check and trigger a LOCAL INFILE request for an attacker-chosen path. Exploitation additionally requires the allowLocalInfile connection property to be enabled, which the advisory states is the default; there is no confirmed evidence of active exploitation and no public exploit was identified at time of analysis, though the CVSS vector (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N, 5.9) reflects a high-confidentiality-impact issue gated on server-side control or a MitM position.

Java Information Disclosure Red Hat +2
NVD GitHub HeroDevs
EPSS 0% CVSS 5.9
MEDIUM PATCH This Month

Denial of service in MariaDB Connector/Node.js versions 3.3.0 through 3.5.3 occurs when a Node.js application connects over TCP to a MariaDB or MySQL server with TLS enabled in the zero-configuration mode (ssl: true, or an ssl object whose rejectUnauthorized is not false, and no ssl.ca supplied) while client_ed25519 is negotiated as the authentication plugin and a password is configured. Under those conditions, any server or network attacker presenting a self-signed certificate drives the connector into a code path that throws an uncaught ReferenceError from the socket data handler; because Node.js terminates the process on an uncaught exception by default, the client application crashes, resulting in a remote denial of service. The issue is rated moderate (CVSS 5.9, AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H), is not confirmed as actively exploited (CISA KEV) and no public exploit code has been identified at time of analysis; the requirement for a specific combination of TLS, CA, and authentication-plugin settings places meaningful constraints on exploitability, and the vendor-released patch is version 3.5.4.

Denial Of Service Node.js Red Hat +2
NVD GitHub VulDB
EPSS 0% CVSS 3.7
LOW PATCH Monitor

MariaDB Connector/J versions prior to 2.7.14, 3.3.5, 3.4.3, and 3.5.9 can be tricked into transmitting a locally selected file to a rogue or man-in-the-middle database server even when the allowLocalInfile option is explicitly set to false, because the connector processes a server-initiated LOCAL INFILE packet (0xfb) without honoring that setting. The exposure is narrow: the attacker can only receive the exact file the application already chose to load via a LOAD DATA LOCAL INFILE COM_QUERY, cannot redirect the request to an arbitrary path, and gains nothing unless the application organically loads sensitive data over an untrusted connection - so this is a low-severity (CVSS 3.7), highly conditional information-disclosure issue rather than a widespread threat. The vulnerability is unauthenticated at the network layer per the vector (PR:N) but requires high attack complexity (AC:H) and control of the server or the connection path; no public exploit code has been identified at time of analysis, and the flaw is fixed in the four versions listed above.

Java Information Disclosure Mariadb Connector J +1
NVD GitHub HeroDevs
EPSS 0% CVSS 5.9
MEDIUM POC PATCH This Month

Cleartext password disclosure in MariaDB Connector/R2DBC (org.mariadb:r2dbc-mariadb) prior to 1.4.1 allows a network-positioned attacker posing as a database server to harvest user credentials during authentication. The connector's AuthenticationPlugin interface lacked any requireSecure() gate, so plugins transmitting credentials in cleartext - mysql_clear_password and PAM/dialog - could be triggered by a forged AuthSwitchRequest over an unencrypted plain-TCP connection, causing the client to respond with the user's database password as raw bytes on the wire. No public exploit code has been identified and no KEV listing exists; the issue is fully patched in version 1.4.1.

Information Disclosure Mariadb Connector R2Dbc R2Dbc Mariadb +1
NVD GitHub VulDB HeroDevs
EPSS 0% CVSS 5.9
MEDIUM POC PATCH This Month

MariaDB Connector/R2DBC prior to 1.4.1 hardcodes UTF-8 for all character encoding and decoding but fails to reject mid-session charset changes announced by the server via the OK-packet session-state-tracking mechanism. A hostile or man-in-the-middle server, or server-side constructs such as stored routines, triggers, or server configuration, can shift character_set_client to a non-UTF-8 encoding after connection initialization, causing the driver and server to interpret identical bytes under different encodings. This produces silent data corruption and a charset-confusion mismatch that can undermine byte-wise quoting and escaping, creating a pathway to SQL injection in applications that rely on driver-level escaping; no public exploit has been identified at time of analysis and the vendor-released patch is available in version 1.4.1.

Information Disclosure Microsoft Mariadb Connector R2Dbc +2
NVD GitHub VulDB HeroDevs
EPSS 0% CVSS 5.9
MEDIUM POC PATCH This Month

Charset-confusion in MariaDB Connector/J (all branches prior to 2.7.14, 3.3.5, 3.4.3, and 3.5.9) allows a server-side character set change mid-session to silently decouple the driver's UTF-8 encoding assumption from the server's active encoding. Because the driver continues escaping SQL string literals as UTF-8 while the server parses incoming bytes under a different multi-byte encoding (e.g., GBK or BIG5), the mismatch can defeat byte-wise SQL quoting and enable SQL injection - a well-documented attack class for charset-confusion primitives. No public exploit has been identified and this CVE is not listed in CISA KEV at time of analysis.

Java Information Disclosure Red Hat +3
NVD GitHub HeroDevs
EPSS 0% CVSS 5.9
MEDIUM POC PATCH This Month

MariaDB Connector/J exposes database account passwords in cleartext to on-path attackers or hostile servers when PAM (dialog) authentication is used over plain TCP. The driver's PAM handler (SendPamAuthPacketFactory, plugin name 'dialog') failed to override the requireSsl() gate that correctly protects its sibling mysql_clear_password plugin, inheriting a default value of false and thus omitting the secure-transport requirement. Under the default connector configuration (sslMode=DISABLE, restrictedAuth=null), a man-in-the-middle or rogue server can issue an Authentication Switch Request for the dialog plugin and receive the account password in cleartext, granting full credential reuse against the real database. No public exploit has been identified and the vulnerability is not listed in CISA KEV, but the attack mechanics are straightforward for any on-path attacker against affected deployments.

Java Information Disclosure Red Hat +3
NVD GitHub HeroDevs
EPSS 0% CVSS 5.9
MEDIUM POC PATCH This Month

Cleartext database password disclosure in MariaDB Connector/J (all versions before 2.7.14, 3.3.5, 3.4.3, and 3.5.9) allows an active network man-in-the-middle to capture a victim application's full database password during the initial TLS handshake. The connector's initial-handshake code path transmits a mysql_clear_password authentication response before validating the certificate fingerprint that is supposed to enforce server identity - a guard that the OK-packet and auth-switch paths correctly enforce but that HandshakeResponse.encode() bypasses entirely. No active exploitation has been confirmed (not in CISA KEV) and no public exploit code is identified at time of analysis, though the vulnerability mechanism is fully documented in a vendor-published HackerOne report and GHSA advisory.

Authentication Bypass Java Red Hat +2
NVD GitHub VulDB
EPSS 0% CVSS 6.5
MEDIUM POC PATCH This Month

SQL injection in MariaDB Connector/Node.js exposes applications to data exfiltration or modification when using non-default multi-byte character sets (big5, gbk, sjis, cp932, or gb18030) with attacker-controlled Buffer query parameters. Versions prior to 3.2.4, 3.3.3, 3.4.6, and 3.5.3 contain a charset-unaware byte-wise escape routine that allows an attacker-supplied lead byte to absorb the connector-inserted backslash (0x5C) as a multi-byte trail byte, leaving the following quote (0x27) unescaped and terminating the SQL string literal. No public exploit code has been identified at time of analysis and this CVE is not in the CISA KEV catalog, but the root technique is well-documented in public security literature as the classic GBK/Big5 multi-byte escape bypass.

SQLi Node.js Mariadb Connector Nodejs +1
NVD GitHub
EPSS 0% CVSS 5.9
MEDIUM POC PATCH This Month

PAM dialog authentication in MariaDB Connector/Node.js discloses account passwords in cleartext when connections use plain TCP, because the SendPamAuthPacketFactory handler omitted the secure-transport gate that was already applied to the sibling mysql_clear_password plugin. Applications connecting to MariaDB with default settings (sslMode=DISABLE, restrictedAuth=null) over untrusted network paths are exposed to credential theft by any on-path attacker or rogue server that issues an Authentication Switch Request for the dialog plugin. No active exploitation or public exploit code has been identified; vendor-released patches are available across all active 3.x branches.

Information Disclosure Node.js Mariadb Connector Nodejs +1
NVD GitHub

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy