### [CVE-2007-2583](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-2583) ![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen) ### 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. ### POC #### Reference - http://packetstormsecurity.com/files/124295/MySQL-5.0.x-Denial-Of-Service.html - https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9930 #### Github - https://github.com/tomwillfixit/alpine-cvecheck