CWE
476
Advisory Published
Updated

CVE-2007-2583: Null Pointer Dereference

First published: Wed May 09 2007(Updated: )

The in_decimal::set function in item_cmpfunc.cc in MySQL before 5.0.40, and 5.1 before 5.1.18-beta, allows context-dependent attackers to cause a denial of service (crash) via a crafted IF clause that results in a divide-by-zero error and a NULL pointer dereference.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
MySQL>=5.1<=5.1.17
MySQL<5.0.40
Debian Linux=3.1
Debian Linux=4.0
Ubuntu=6.06
Ubuntu=7.04
Ubuntu=6.10

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-2007-2583?

    CVE-2007-2583 is rated as a medium severity vulnerability due to its potential to cause a denial of service.

  • How do I fix CVE-2007-2583?

    To fix CVE-2007-2583, upgrade MySQL to version 5.0.40 or later, or to 5.1.18-beta or later.

  • What types of systems are affected by CVE-2007-2583?

    CVE-2007-2583 affects MySQL versions before 5.0.40 and 5.1 before 5.1.18-beta, along with specific Debian and Ubuntu Linux distributions.

  • What attack vector is used in CVE-2007-2583?

    CVE-2007-2583 can be exploited through a crafted IF clause that leads to a divide-by-zero error.

  • What impact does CVE-2007-2583 have on MySQL services?

    CVE-2007-2583 can crash MySQL services, resulting in a denial of service for 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