Advisory Published

ZDI-22-363: MariaDB CONNECT Storage Engine Stack-based Buffer Overflow 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 the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. 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-363?

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

  • How do I fix ZDI-22-363?

    To fix ZDI-22-363, update to the latest version of MariaDB where the vulnerability has been addressed.

  • Who is affected by ZDI-22-363?

    ZDI-22-363 affects installations of MariaDB Server where local attackers can exploit the vulnerability.

  • What are the potential impacts of ZDI-22-363?

    The potential impact of ZDI-22-363 includes unauthorized privilege escalation, allowing attackers to gain elevated access.

  • Is authentication required to exploit ZDI-22-363?

    Yes, authentication is required to exploit ZDI-22-363, which limits its risk to authenticated users.

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