openEuler Security Advisory
OESA-2026-3197
mariadb-connector-c security update
Details
This package is used for connecting C/C++ programs to MariaDB and MySQL database.
Security Fix(es):
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.(CVE-2026-44172)
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| openEuler:22.03-LTS-SP4 | mariadb-connector-c | All versions before 3.1.13-5.oe2203sp4 (fixed in 3.1.13-5.oe2203sp4) |
| openEuler:24.03-LTS-SP1 | mariadb-connector-c | All versions before 3.3.19-1.oe2403sp1 (fixed in 3.3.19-1.oe2403sp1) |
| openEuler:24.03-LTS-SP3 | mariadb-connector-c | All versions before 3.3.19-1.oe2403sp3 (fixed in 3.3.19-1.oe2403sp3) |
| openEuler:24.03-LTS-SP4 | mariadb-connector-c | All versions before 3.3.19-1.oe2403sp4 (fixed in 3.3.19-1.oe2403sp4) |
| openEuler:20.03-LTS-SP4 | mariadb-connector-c | All versions before 3.0.6-10.oe2003sp4 (fixed in 3.0.6-10.oe2003sp4) |