Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-55855

MEDIUM 6.5EPSS 48%

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

Also known as BIT-mariadb-2026-55855, BIT-mariadb-min-2026-55855, BIT-mysql-client-2026-55855, GHSA-g5xc-5w98-jfvm

Mitigation

  • Upgrade mariadb to one of 3.2.4, 3.3.4, 3.4.6, 3.5.3 (or later in the same release line).

Who should check

  • Projects that depend on npm package mariadb (< 3.2.4)
  • Anyone running mariadb-corporation mariadb-connector-nodejs < 3.2.4; >= 3.3.0, < 3.3.3; >= 3.4.0, < 3.4.6; >= 3.5.0, < 3.5.3

Vulnerability facts

Affected
mariadb < 3.2.4
Fixed in
3.2.4, 3.3.4, 3.4.6, 3.5.3
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
6.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: High
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: Low
  • Availability impact: None
EPSS
0.69% chance of exploitation in 30 days (percentile 48, 2026-11-26)
CWE
CWE-89, CWE-116
Published
Modified

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 and fixed versions

Package / productAffectedFixedSource
npm mariadb< 3.2.43.2.4, 3.3.4, 3.4.6, 3.5.3osv
mariadb-corporation mariadb-connector-nodejs< 3.2.4; >= 3.3.0, < 3.3.3; >= 3.4.0, < 3.4.6; >= 3.5.0, < 3.5.3—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-55855. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-55855.md
Affected: mariadb < 3.2.4
Fixed in: 3.2.4, 3.3.4, 3.4.6, 3.5.3

Steps:
1. Search this machine and project for mariadb (npm), mariadb-corporation mariadb-connector-nodejs: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-55855 being exploited?

There is no confirmed exploitation: CVE-2026-55855 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.69% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-55855?

Medium: CVSS 6.5 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2026-55855?

mariadb < 3.2.4.

Is there a fix for CVE-2026-55855?

Yes. Fixed in 3.2.4, 3.3.4, 3.4.6, 3.5.3. Upgrade mariadb to one of 3.2.4, 3.3.4, 3.4.6, 3.5.3 (or later in the same release line).

How do I check if I'm affected by CVE-2026-55855?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors