SQL Injection Affecting mariadb-connector-c package, versions [0,]


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.59% (45th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CONAN-MARIADBCONNECTORC-17391915
  • published21 Jun 2026
  • disclosed12 Jun 2026
  • creditjro-calif

Introduced: 12 Jun 2026

CVE-2026-44172  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

Affected versions of this package are vulnerable to SQL Injection via mysql_real_escape_string() when used with the text protocol and the Big5 character set. An attacker can execute arbitrary SQL queries by supplying specially crafted input that bypasses escaping performed by mysql_real_escape_string(). Applications that rely on this function to sanitize untrusted input may remain vulnerable to SQL injection when using the Big5 character set.

Note: This is only exploitable if the application accepts untrusted input, uses mysql_real_escape_string() for sanitization, communicates with the database using the text protocol, and uses the Big5 character set.

CVSS Base Scores

version 4.0
version 3.1