Critical SQL Injection Vulnerability in MariaDB Connector/C: CVE-2026-44172

mariadb-connector-c Updated 23 Jul 2026

Summary

23/07/2026
N/A
Yes i
Critical
9.1

RLSA-2026:43505: Important: mariadb-connector-c security update. Affects mariadb-connector-c versions < 0:3.4.4-2.el10_2. Fixed in 0:3.4.4-2.el10_2. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

MariaDB Connector/C is a native client library that enables applications developed in C/C++ to connect to MariaDB and MySQL databases. It provides essential functionalities for database interaction, such as executing queries and managing connections. However, it has been identified to have a critical SQL injection vulnerability that arises from improper handling of the big5 character set, which can lead to unauthorized data access or manipulation.

Vulnerability Detail

The vulnerability, identified as CVE-2026-44172, is an SQL injection flaw that occurs when the mysql_real_escape_string() function fails to properly handle inputs encoded in the big5 character set. This oversight allows attackers to inject malicious SQL statements, potentially compromising the integrity and confidentiality of the database. The ramifications of this vulnerability can be severe, including unauthorized data access, data corruption, and complete system compromise.

How To Fix

Minimum fixed version

0:3.4.4-2.el10_2

This is the first release that contains the fix.

sudo dnf update mariadb-connector-c

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, consider sanitizing inputs manually before passing them to the mysql_real_escape_string() function. This can help mitigate the risk of SQL injection until the package can be updated. For example, you can implement input validation to restrict the character set allowed in user inputs.

Conclusion

The MariaDB Connector/C has a critical SQL injection vulnerability that needs immediate attention. Updating to the patched version is essential to secure your applications against potential attacks. Regular monitoring and vulnerability management practices, such as using tools like Vulert, can help maintain the security of your software.

See every vulnerability recorded for mariadb-connector-c →

Share this vulnerability

FAQ

CVE-2026-44172 is a critical SQL injection vulnerability in the MariaDB Connector/C that arises from improper handling of the big5 character set.

Exploitation of this vulnerability can lead to unauthorized access to your database, data corruption, and potential system compromise.

Update the MariaDB Connector/C package to the latest patched version using 'sudo yum update mariadb-connector-c'.

Yes, you can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without any signup.

The CVSS score for CVE-2026-44172 is 9.1, indicating a critical level of severity.

Related vulnerabilities

Recent vulnerabilities recorded for mariadb-connector-c.

How To Fix

Minimum fixed version

0:3.4.4-2.el10_2

This is the first release that contains the fix.

sudo dnf update mariadb-connector-c

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback