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.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Mysql | Oracle | * | 5.0.40 (excluding) |
Mysql | Oracle | 5.1 (including) | 5.1.17 (including) |
Red Hat Enterprise Linux 5 | RedHat | mysql-0:5.0.45-7.el5 | * |
Mysql-dfsg-5.0 | Ubuntu | dapper | * |
Mysql-dfsg-5.0 | Ubuntu | devel | * |
Mysql-dfsg-5.0 | Ubuntu | edgy | * |
Mysql-dfsg-5.0 | Ubuntu | feisty | * |
Mysql-dfsg-5.0 | Ubuntu | upstream | * |