7.5
CWE
Advisory Published
Updated

CVE-2009-2942

First published: Thu Oct 22 2009(Updated: )

The mysql-ocaml bindings 1.0.4 for MySQL do not properly support the mysql_real_escape_string function, which might allow remote attackers to leverage escaping issues involving multibyte character encodings.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
MySQL OCaml=1.0.4
MySQL (MySQL-common)

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 CVE-2009-2942?

    CVE-2009-2942 is considered a high severity vulnerability due to the potential for remote code execution via improper input handling.

  • How do I fix CVE-2009-2942?

    To fix CVE-2009-2942, update the mysql-ocaml bindings to a version later than 1.0.4 that properly implements the mysql_real_escape_string function.

  • What software is affected by CVE-2009-2942?

    CVE-2009-2942 affects the mysql-ocaml bindings version 1.0.4 for MySQL.

  • Can CVE-2009-2942 be exploited remotely?

    Yes, CVE-2009-2942 can be exploited remotely due to the vulnerabilities in character encoding handling.

  • Is MySQL server directly affected by CVE-2009-2942?

    No, the MySQL Server itself is not directly affected by CVE-2009-2942, only the mysql-ocaml bindings are vulnerable.

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