What’s Vulnerable › Vulnerabilities
CVE-2007-2583
- Severity: medium (CVSS 4.0 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 11.3% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2007-05-10 · updated 2026-06-16
Description
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.
Affected products
- Canonical Ubuntu Linux: 6.06, 6.10, 7.04
- Debian Linux: 3.1, 4.0
- MySQL Server: before 5.0.40; from 5.1 through 5.1.17 — fixed in 5.0.40
How to fix
Upgrade to a fixed version: MySQL Server 5.0.40. Check the vendor advisory for mitigations.
References
- http://bugs.mysql.com/bug.php?id=27513
- http://lists.mysql.com/commits/23685
- http://lists.opensuse.org/opensuse-security-announce/2008-02/msg00003.html
- http://packetstormsecurity.com/files/124295/MySQL-5.0.x-Denial-Of-Service.html
- http://secunia.com/advisories/25188
- http://secunia.com/advisories/25196
- http://secunia.com/advisories/25255
- http://secunia.com/advisories/25389
- http://secunia.com/advisories/25946
- http://secunia.com/advisories/27155
- http://secunia.com/advisories/27823
- http://secunia.com/advisories/28838
Get alerted when CVE-2007-2583 or the next vulnerability affects your stack