CVE-2007-2583: Canonical Ubuntu Linux
Medium severity, CVSS 4.0. EPSS: 11.3% chance of exploitation in the next 30 days.
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: version 6.06 only; version 6.10 only; version 7.04 only
- Debian Debian Linux: version 3.1 only; version 4.0 only
- Oracle MySQL: before 5.0.40 (fixed in 5.0.40); from 5.1, up to and including 5.1.17
Published 2007-05-10. Last modified 2026-06-16.