Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. mariadb
  4. ›
  5. CVE-2026-55855

CVE-2026-55855: MariaDB has possible SQL injection in Buffer parameter escaping under big5/gbk/sjis/cp932/gb18030 client charsets

August 28, 2026

A SQL injection is possible when the connector escapes Buffer parameters client-side under a multi-byte client character set whose trail-byte range overlaps the ASCII backslash (0x5C): big5, gbk, sjis, cp932, and gb18030. Under these charsets, an attacker-controlled lead byte can absorb the escape byte the connector inserts, leaving the following quote unescaped so it terminates the string literal and injected SQL is parsed.

References

  • github.com/advisories/GHSA-g5xc-5w98-jfvm
  • github.com/mariadb-corporation/mariadb-connector-nodejs/commit/0148cadba48064d430902678bbc5b4b62dc1c04f
  • github.com/mariadb-corporation/mariadb-connector-nodejs/security/advisories/GHSA-g5xc-5w98-jfvm
  • jira.mariadb.org/browse/CONJS-350
  • nvd.nist.gov/vuln/detail/CVE-2026-55855

Code Behaviors & Features

Detect and mitigate CVE-2026-55855 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.2.4, all versions starting from 3.3.0 before 3.3.4, all versions starting from 3.4.0 before 3.4.6, all versions starting from 3.5.0 before 3.5.3

Fixed versions

  • 3.2.4
  • 3.3.4
  • 3.4.6
  • 3.5.3

Solution

Upgrade to versions 3.2.4, 3.3.4, 3.4.6, 3.5.3 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-116: Improper Encoding or Escaping of Output
  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Source file

npm/mariadb/CVE-2026-55855.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 09 Sep 2026 12:24:21 +0000.