CVE-2026-44172
mariadb: MariaDB server: SQL injection vulnerability via improper handling of big5 character set with mysql_real_escape_string()
Overview
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.
Source: OX vulnerability database
Severity
9.1 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Weakness: CWE-89
Affected packages · 3
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | mariadb | >=3.3.18, <10.4.34 | 10.4.34 |
| Bitnami | mariadb-min | >=3.3.18, <10.6.23 | 10.6.23 |
| Bitnami | mysql-client | >=3.3.18, <10.6.17 | 10.6.17 |
Open a package to see all its vulnerabilities.
Operating systems · 45 fixes
Oracle Linux 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 8 | mariadb-connector-c +2 | 3.1.11-3.el8_10 |
| 9 | mariadb-connector-c +4 | 3.2.6-2.el9_8 |
Red Hat 2 releases · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 8 | mariadb-connector-c +2 | 0:3.1.11-2.el8_4.1 | RHSA-2026:83079 |
| 8 | mariadb-connector-c +2 | 0:3.1.11-2.el8_6.1 | RHSA-2026:83517 |
| 8 | mariadb-connector-c +2 | 0:3.1.11-2.el8_8.1 | RHSA-2026:83080 |
| 8 | mariadb-connector-c +2 | 0:3.1.11-3.el8_10 | RHSA-2026:75674 |
| 9 | mariadb-connector-c +2 | 0:3.2.6-1.el9_2.1 | RHSA-2026:83608 |
| 9 | mariadb-connector-c +2 | 0:3.2.6-1.el9_4.1 | RHSA-2026:83518 |
2 more rows
SUSE Linux Enterprise 6 releases · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | libmariadb-devel +2 | 3.1.28-2.38.1 | SUSE-SU-2026:3135-1 |
| 15.4 | libmariadbd-devel +5 | 10.6.27-150400.3.46.1 | SUSE-SU-2026:2282-1 |
| 15.4 | libmariadb-devel +3 | 3.1.28-150000.3.39.1 | SUSE-SU-2026:3134-1 |
| 15.5 | libmariadbd-devel +5 | 10.6.27-150400.3.46.1 | SUSE-SU-2026:2282-1 |
| 15.5 | libmariadb-devel +3 | 3.1.28-150000.3.39.1 | SUSE-SU-2026:3134-1 |
| 15.6 | libmariadbd-devel +5 | 10.11.18-150600.4.20.1 | SUSE-SU-2026:2284-1 |
5 more rows
alma 3 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 10 | mariadb-connector-c-config +1 | 3.4.4-2.el10_2 |
| 8 | mariadb-connector-c +2 | 3.1.11-3.el8_10 |
| 9 | mariadb-connector-c +4 | 3.2.6-2.el9_8 |
alpine 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | mariadb | 11.4.11-r0 |
| 3.23 | mariadb | 11.4.11-r0 |
| 3.24 | mariadb | 11.8.7-r0 |
| edge | mariadb | 11.8.7-r0 |
amazon linux 1 release · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| 2023 | mariadb-connector-c +8 | 3.3.10-1.amzn2023.0.2 |
| 2023 | mariadb1011 +28 | 3:10.11.18-1.amzn2023.0.1 |
| 2023 | mariadb114 +28 | 3:11.4.12-1.amzn2023.0.1 |
debian 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | mariadb | 1:10.11.18-0+deb12u1 |
| 13 | mariadb | affected |
| 14 | mariadb | 1:11.8.8-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| mariadb | 1:10.11.18-0+deb12u1 |
openSUSE 1 release · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | libmariadbd-devel +9 | 11.8.7-1.1 | openSUSE-SU-2026:10897-1 |
| Tumbleweed | libmariadb-devel +4 | 3.4.9-2.1 | openSUSE-SU-2026:11721-1 |
openSUSE Leap 1 release · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 16.0 | libmariadbd-devel +9 | 11.8.8-160000.1.1 | openSUSE-SU-2026:20933-1 |
| 16.0 | libmariadb-devel +3 | 3.4.9-160000.1.1 | openSUSE-SU-2026:21409-1 |
rocky 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 10 | mariadb-connector-c +1 | 3.4.4-2.el10_2 |
| 8 | mariadb-connector-c +2 | 3.1.11-3.el8_10 |
| 9 | mariadb-connector-c +2 | 3.2.6-2.el9_8 |
ubuntu 3 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 22.04 | mariadb-10-6 | affected |
| 24.04 | mariadb | affected |
| 26.04 | mariadb | 1:11.8.6-5ubuntu0.1 |
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:30135
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:33093
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:33412
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:33464
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:33481
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:33482
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:43505
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:47772
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:68567
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:75673
Show all 27 references
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:75674
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-44172
- bugzilla.redhat.com https://bugzilla.redhat.com/2488459
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2488459
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-44172
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2026-75673.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2026:75674
- github.com https://github.com/MariaDB/server/security/advisories/GHSA-pv9p-5w55-55jm
- jira.mariadb.org https://jira.mariadb.org/browse/CONC-819
- linux.oracle.com https://linux.oracle.com/cve/CVE-2026-44172.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2026-75674.html
- mariadb.com https://mariadb.com/docs/release-notes/community-server/11.8/11.8.7
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-44172
- security.access.redhat.com https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-44172.json
- ubuntu.com https://ubuntu.com/security/notices/USN-8536-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-44172
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.