6.9medium
MariaDB: mysql_real_escape_string() incorrectly handled big5
- Severity
- 6.9medium CVSS:4.0 by GitHub_M
- Exploit likelihood
- 1.04% (higher than 64% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- PYSEC-2026-217BIT-MARIADB-2026-44172BIT-MARIADB-MIN-2026-44172BIT-MYSQL-CLIENT-2026-44172GHSA-pv9p-5w55-55jm
Description
MariaDB server is a community developed fork of MySQL server. In versions 3.3.18 and 3.4.8, an application that was taking non-validated user input, escaping it with mysql_real_escape_string() and sending it to the database using text protocol and big5 character set was vulnerable to SQL injections, even though mysql_real_escape_string() was supposed to prevent them. This issue has been patched in versions 3.3.19 and 3.4.9.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| MariaDB server | = 3.3.18, = 3.4.8 | CVE List |
| mariadb-connector-c | Not specified Not affected: from 0:3.4.4-2.el10_2 before *, from 0:3.4.4-1.el10_0.1 before * | CVE List |
| mariadb-connector-c-main | Not specified Not affected: from 3.4.9-1.hum1 before * | CVE List |
| mariadb10.11 | Not specified | CVE List |
| mariadb11.8 | Not specified | CVE List |
| mariadb | Not specified | CVE List |
| mariadb:10.11/mariadb | Not specified | CVE List |
| mariadb:10.3/mariadb | Not specified | CVE List |
| mariadb:11.8/mariadb | Not specified | CVE List |
| mariadb mariadb | 3.3.18, 3.4.8 | NVD |
| redhat enterprise_linux | 10.0 | NVD |
| mariadb (PyPI) | up to 3.3.18, up to 3.4.8 | PyPA Advisory Database |
| mariadb (Bitnami) | from 3.3.18 before 10.4.34 | Bitnami Vulnerability Database |
| mariadb-min (Bitnami) | from 3.3.18 before 10.6.23 | Bitnami Vulnerability Database |
| mysql-client (Bitnami) | from 3.3.18 before 10.6.17 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 6.9medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N |
| redhat-SADP | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| NVD | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| PyPA Advisory Database | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Bitnami Vulnerability Database | critical rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
MariaDB server is a community developed fork of MySQL server. In versions 3.3.18 and 3.4.8, an application that was taking non-validated user input, escaping it with mysql_real_escape_string() and sending it to the database using text protocol and big5 character set was vulnerable to SQL injections, even though mysql_real_escape_string() was supposed to prevent them. This issue has been patched in versions 3.3.19 and 3.4.9.
NVD (es)
El servidor MariaDB es una bifurcación del servidor MySQL desarrollada por la comunidad. En las versiones 3.3.18 y 3.4.8, una aplicación que estaba tomando entrada de usuario no validada, escapándola con mysql_real_escape_string() y enviándola a la base de datos usando el protocolo de texto y el conjunto de caracteres big5 era vulnerable a inyecciones SQL, a pesar de que se suponía que mysql_real_escape_string() las prevenía. Este problema ha sido parcheado en las versiones 3.3.19 y 3.4.9.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-44172 changed 2026-09-17 | CVE Terms of Use |
| NVD | CVE-2026-44172 changed 2026-10-26 | Public domain |
| PyPA Advisory Database | PYSEC-2026-217 changed 2026-06-17 | CC-BY-4.0 |
| Bitnami Vulnerability Database | BIT-MARIADB-2026-44172 changed 2026-09-18 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-MARIADB-MIN-2026-44172 changed 2026-09-18 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-MYSQL-CLIENT-2026-44172 changed 2026-09-18 | Apache-2.0 |