Advisory Published

ZDI-22-318: MariaDB CONNECT Storage Engine Format String Privilege Escalation Vulnerability

This vulnerability allows local attackers to escalate privileges on affected installations of MariaDB. Authentication is required to exploit this vulnerability. The specific flaw exists within the processing of SQL queries. The issue results from the lack of proper validation of a user-supplied string before using it as a format specifier. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of the service account.

Affected SoftwareAffected VersionHow to fix
MariaDB Server

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of ZDI-22-318?

    The severity of ZDI-22-318 is considered high due to its potential for privilege escalation.

  • How do I fix ZDI-22-318?

    To fix ZDI-22-318, apply the latest security patches provided by MariaDB for your specific version.

  • Who is affected by ZDI-22-318?

    ZDI-22-318 affects installations of MariaDB where local attackers can exploit the vulnerability after authentication.

  • What type of vulnerability is ZDI-22-318?

    ZDI-22-318 is a privilege escalation vulnerability found in the processing of SQL queries in MariaDB.

  • What are the prerequisites for exploiting ZDI-22-318?

    Exploitation of ZDI-22-318 requires that the attacker is authenticated on the affected MariaDB installation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203