Skip to content
Heist/ feed
Back to feed
Medium

MariaDB: mysql_real_escape_string() incorrectly handled big5

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-44172
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 18:48 UTC · Revision 1

Source evidence

MariaDB: mysql_real_escape_string() incorrectly handled big5

core-osv · Original source

Published 12 Jun 2026, 17:34 UTC

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.

osv:CVE-2026-44172
Complete source record
{
  "id": "2e718cbfae550f7323afcc6130e7e5ad2145ea55ec22cd00699f0495c92f4553",
  "url": "https://osv.dev/vulnerability/CVE-2026-44172",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "MariaDB: mysql_real_escape_string() incorrectly handled big5",
    "summary": "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.",
    "evidence": "osv:CVE-2026-44172",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-44172",
      "aliases": [
        "BIT-mariadb-2026-44172",
        "BIT-mariadb-min-2026-44172",
        "BIT-mysql-client-2026-44172",
        "CVE-2026-44172",
        "GHSA-pv9p-5w55-55jm",
        "PYSEC-2026-217"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/mariadb-corporation/mariadb-connector-nodejs",
              "type": "GIT",
              "events": [
                {
                  "introduced": "4978a43b1261bf3270b1f0bd140456e3d7acc250"
                },
                {
                  "last_affected": "4978a43b1261bf3270b1f0bd140456e3d7acc250"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:mariadb:mariadb:3.4.8:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.4.8"
                      },
                      {
                        "last_affected": "3.4.8"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "3.4.8"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-44172.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:38.353588668Z",
      "provider": "osv",
      "references": [
        "https://jira.mariadb.org/browse/CONC-819",
        "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-44172.json",
        "https://access.redhat.com/errata/RHSA-2026:30135",
        "https://access.redhat.com/errata/RHSA-2026:43505",
        "https://access.redhat.com/errata/RHSA-2026:47772",
        "https://access.redhat.com/errata/RHSA-2026:68567",
        "https://access.redhat.com/security/cve/CVE-2026-44172",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44172.json",
        "https://github.com/MariaDB/server/security/advisories/GHSA-pv9p-5w55-55jm",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-44172",
        "https://bugzilla.redhat.com/show_bug.cgi?id=2488459"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-89"
        ],
        "cna_assigner": "GitHub_M",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "= 3.3.18"
                  },
                  {
                    "last_affected": "= 3.3.18"
                  },
                  {
                    "introduced": "= 3.4.8"
                  },
                  {
                    "last_affected": "= 3.4.8"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              }
            ]
          },
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "3.3.19"
                  }
                ],
                "source": "DESCRIPTION"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44172.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-44172",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 505854,
  "published_at": "2026-06-12T17:34:04.487+00:00"
}