CVE-2007-2583
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…
- 4.0MediumCVSS base score
- 11.3%Exploitation in 30 daysEPSS · top 4.0% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- 1Public exploitsMetasploit, Nuclei and Exploit-DB
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.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list an Exploit-DB entry for it. A reference of the record is tagged as an exploit.
Show the exploits2
Exploit-DB1 entry
- MySQL 5.0.x - IF Query Handling Remote Denial of Service (Exploit-DB entry) (opens in a new tab)
EDB-ID 30020dos, linuxpublished 4 Dec 2013Verified
References tagged exploit1 reference
- 30020 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By mitre
Published
- 17 years later
· 17 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium4.0 | AV:N/AC:L/Au:S/C:N/I:N/A:P |
- EPSS (exploitation in 30 days)
- 11.3% · top 4.0% of all CVEs (9 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 4.0.
Affected products
n/a
- affected n/a
References
26
- ADV-2007-1731 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- 27823 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 25196 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 25188 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- https://issues.rpath.com/browse/RPL-1356 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 25389 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 2007-0017 (opens in a new tab)vendor-advisoryx_refsource_TRUSTIXx_transferred
- mysql-if-dos(34232) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- GLSA-200705-11 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- http://bugs.mysql.com/bug.php?id=27513 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 30020 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
- 25946 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 23911 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- DSA-1413 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- http://lists.mysql.com/commits/23685 (opens in a new tab)x_refsource_CONFIRMx_transferred
- USN-528-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- MDKSA-2007:139 (opens in a new tab)vendor-advisoryx_refsource_MANDRIVAx_transferred
- oval:org.mitre.oval:def:9930 (opens in a new tab)vdb-entrysignaturex_refsource_OVALx_transferred
- 30351 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 27155 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 34734 (opens in a new tab)vdb-entryx_refsource_OSVDBx_transferred
- 25255 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 28838 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- SUSE-SR:2008:003 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- RHSA-2008:0364 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- http://packetstormsecurity.com/files/124295/MySQL-5.0.x-Denial-Of-Service.html (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2007-2576 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2007-2583)Record last updated .