> CVE-2026-55855 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2026-08-28 23:17
MODIFIED
2026-08-28 23:17
CVSS_SCORE V3
6.5
EPSS (Prob. Exploit)
0.69%
Top 48.1%
DATA SOURCES:
NVD đź”— 2026-08-29 CWE MITRE đź”— 2026-09-01 FIRST EPSS đź”— 2026-10-18 GITHUB đź”— 2026-10-29 OSV đź”— 2026-10-26

> DESCRIPTION

MariaDB Connector/Node.js is used to connect applications developed on Node.js to MariaDB and MySQL databases. Prior to 3.2.4, 3.3.3, 3.4.6, and 3.5.3, MariaDB Connector/Node.js permits SQL injection when attacker-controlled Buffer parameters are escaped client-side under the big5, gbk, sjis, cp932, or gb18030 client character sets. PacketOutputStream.writeBufferEscape in lib/io/packet-output-stream.js escaped bytes without the charset-aware getMbRecognizer logic in lib/misc/charset-mb.js. The server SQL lexer runs my_ismbchar before escape processing, so an attacker-controlled lead byte can consume the inserted 0x5C backslash as a multibyte trail byte and leave the following 0x27 quote unescaped, terminating the string literal and allowing arbitrary SQL. The default utf8mb4 character set and parameters sent through the execute binary prepared-statement path are not affected. Successful exploitation can expose or modify data available to the database account. This issue is fixed in versions 3.2.4, 3.3.3, 3.4.6, and 3.5.3.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N
EXPLOITABILITY
2.2
IMPACT
4.2

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
High (H)
Conditions spécifiques doivent être réunies pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
High (H)
Divulgation totale d'informations
I (Impact Intégrité)
Integrity Impact
Low (L)
Modification limitée des données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
High
Divulgation totale d'informations
Intégrité
Low
Modification limitée des données possible
Disponibilité
None
Aucune interruption de service

> WEAKNESSES

CWE-89 CWE-116

> CWE DETAILED DESCRIPTIONS

CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') - The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data. | CWE-116: Improper Encoding or Escaping of Output - The product prepares a structured message for communication with another component, but encoding or escaping of the data is either missing or done incorrectly. As a result, the intended structure of the message is not preserved.

> GITHUB SECURITY ADVISORY

GHSA-g5xc-5w98-jfvm MODERATE

MariaDB has possible SQL injection in Buffer parameter escaping under big5/gbk/sjis/cp932/gb18030 client charsets

AFFECTED PACKAGES:
NPM / mariadb
>= 3.5.0, < 3.5.3
Fixed in: 3.5.3
NPM / mariadb
>= 3.4.0, < 3.4.6
Fixed in: 3.4.6
NPM / mariadb
>= 3.3.0, < 3.3.3
Fixed in: 3.3.4
NPM / mariadb
< 3.2.4
Fixed in: 3.2.4

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

MariaDB Connector/Node.js: Possible SQL injection in Buffer parameter escaping under big5/gbk/sjis/cp932/gb18030 client charsets

AFFECTED PACKAGES:
Unknown / Unknown
37 versions affected
ALIASES:
BIT-mariadb-2026-55855, BIT-mariadb-min-2026-55855, BIT-mysql-client-2026-55855, GHSA-g5xc-5w98-jfvm

> HISTORIQUE DES MODIFICATIONS

Première apparition
28/08/2026 23:17
Source: NVD
📊 ENRICHISSEMENT 01/09/2026 06:02
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') - The product constructs all or part of an SQL command using externally-influenced input from an upstream c...
Total des modifications: 1 Dernière mise à jour: 1 month ago

> REFERENCES

https://github.com/mariadb-corporation/mariadb-connector-nodejs/commit/25c6239b6...
https://github.com/mariadb-corporation/mariadb-connector-nodejs/commit/26e35f9ed...
https://github.com/mariadb-corporation/mariadb-connector-nodejs/commit/7af8b7b8b...
https://github.com/mariadb-corporation/mariadb-connector-nodejs/commit/97f183f33...
https://github.com/mariadb-corporation/mariadb-connector-nodejs/releases/tag/3.2...
https://github.com/mariadb-corporation/mariadb-connector-nodejs/releases/tag/3.3...
https://github.com/mariadb-corporation/mariadb-connector-nodejs/releases/tag/3.4...
https://github.com/mariadb-corporation/mariadb-connector-nodejs/releases/tag/3.5...
https://github.com/mariadb-corporation/mariadb-connector-nodejs/security/advisor...
https://jira.mariadb.org/browse/CONJS-350
« BACK_TO_HOME