Critical SQL Injection Vulnerability in MariaDB Connector/C

mariadb-connector-c Updated 23 Jul 2026

Summary

22/07/2026
N/A
Yes i
Unrated
Not published

ALSA-2026:43505: Important: mariadb-connector-c security update. Affects mariadb-connector-c versions < 3.4.4-2.el10_2. Fixed in 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

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 interactions, including executing queries and managing connections. However, it has been identified that improper handling of the big5 character set can lead to SQL injection vulnerabilities, posing significant security risks to applications relying on this library.

Vulnerability Detail

The vulnerability arises from the improper handling of the big5 character set within the mysql_real_escape_string() function. This flaw allows attackers to exploit SQL injection, potentially leading to unauthorized access to sensitive data, data manipulation, or even complete system compromise. The vulnerability has been assigned CVE-2026-44172, indicating its severity and the need for immediate remediation.

How To Fix

Minimum fixed version

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 measure, consider sanitizing user inputs and avoiding the use of the big5 character set until the update is applied. Implementing additional validation checks on SQL queries can also help mitigate the risk of SQL injection.

Conclusion

The identified SQL injection vulnerability in MariaDB Connector/C poses a significant risk to applications using this library. It is crucial to update to the patched version to mitigate potential threats. Users are encouraged to implement workarounds and utilize tools like Vulert for ongoing vulnerability monitoring.

See every vulnerability recorded for mariadb-connector-c →

Share this vulnerability

FAQ

The SQL injection vulnerability can lead to unauthorized access to sensitive data, data manipulation, and potential system compromise.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.

If an immediate update is not possible, implement input validation and avoid using the big5 character set as a temporary workaround.

More information can be found on the CVE page for CVE-2026-44172, which details the vulnerability and its implications.

Yes, Vulert is a reliable tool that monitors and alerts in real-time for open-source vulnerabilities using just a manifest file like package-lock.json.

Related vulnerabilities

Recent vulnerabilities recorded for mariadb-connector-c.

How To Fix

Minimum fixed version

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