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...
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.
Exploit likelihood
What each source reports
NVD Score used
4.0
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.
- Record
CVE-2007-2583- CVSS 2.0
- 4.0 Medium
AV:N/AC:L/Au:S/C:N/I:N/A:P - Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2007-2583- Updated
- 2026-11-02
EUVDEUVD-2007-2576 No score
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.
- Record
EUVD-2007-2576- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-hf23-jpgj-4fhg No score
The in_decimal::set function in item_cmpfunc.cc in MySQL before 5.0.40, and 5.1 before 5.1.18...
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.
- Record
GHSA-hf23-jpgj-4fhg- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
mysql-dfsg-5.0Debian:4.0 From an advisory covering 6 CVEs |
before 5.0.32-7etch3, plus listed versions 5.0.32-7etch15.0.32-7etch3~bpo31+1 |
5.0.32-7etch3 |
mysql-dfsgDebian:3.1 From an advisory covering 6 CVEs |
before 4.0.24-10sarge3, plus listed versions 4.0.24-104.0.24-10sarge14.0.24-10sarge2 |
4.0.24-10sarge3 |
mysql-dfsg-4.1Debian:3.1 From an advisory covering 6 CVEs |
before 4.1.11a-4sarge8, plus listed versions 4.1.11a-44.1.11a-4sarge14.1.11a-4sarge24.1.11a-4sarge34.1.11a-4sarge44.1.11a-4sarge54.1.11a-4sarge7 |
4.1.11a-4sarge8 |
mysqlRed Hat:enterprise_linux:5::client_workstation From an advisory covering 10 CVEs |
before 0:5.0.45-7.el5 | 0:5.0.45-7.el5 |
mysql-benchRed Hat:enterprise_linux:5::client_workstation From an advisory covering 10 CVEs |
before 0:5.0.45-7.el5 | 0:5.0.45-7.el5 |
mysql-debuginfoRed Hat:enterprise_linux:5::client_workstation From an advisory covering 10 CVEs |
before 0:5.0.45-7.el5 | 0:5.0.45-7.el5 |
mysql-develRed Hat:enterprise_linux:5::client_workstation From an advisory covering 10 CVEs |
before 0:5.0.45-7.el5 | 0:5.0.45-7.el5 |
mysql-serverRed Hat:enterprise_linux:5::client_workstation From an advisory covering 10 CVEs |
before 0:5.0.45-7.el5 | 0:5.0.45-7.el5 |
mysql-testRed Hat:enterprise_linux:5::client_workstation From an advisory covering 10 CVEs |
before 0:5.0.45-7.el5 | 0:5.0.45-7.el5 |
mysqlRed Hat:enterprise_linux:5::client From an advisory covering 10 CVEs |
before 0:5.0.45-7.el5 | 0:5.0.45-7.el5 |
Show 7 moreShow less
| Package | Affected | Fixed |
|---|---|---|
mysql-debuginfoRed Hat:enterprise_linux:5::client From an advisory covering 10 CVEs |
before 0:5.0.45-7.el5 | 0:5.0.45-7.el5 |
mysqlRed Hat:enterprise_linux:5::server From an advisory covering 10 CVEs |
before 0:5.0.45-7.el5 | 0:5.0.45-7.el5 |
mysql-benchRed Hat:enterprise_linux:5::server From an advisory covering 10 CVEs |
before 0:5.0.45-7.el5 | 0:5.0.45-7.el5 |
mysql-debuginfoRed Hat:enterprise_linux:5::server From an advisory covering 10 CVEs |
before 0:5.0.45-7.el5 | 0:5.0.45-7.el5 |
mysql-develRed Hat:enterprise_linux:5::server From an advisory covering 10 CVEs |
before 0:5.0.45-7.el5 | 0:5.0.45-7.el5 |
mysql-serverRed Hat:enterprise_linux:5::server From an advisory covering 10 CVEs |
before 0:5.0.45-7.el5 | 0:5.0.45-7.el5 |
mysql-testRed Hat:enterprise_linux:5::server From an advisory covering 10 CVEs |
before 0:5.0.45-7.el5 | 0:5.0.45-7.el5 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Exploit-DB | MySQL 5.0.x - IF Query Handling Remote Denial of Service | 2013-12-04 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| affected, aliases, exploits, facts, references, title | Exploit-DB, GitHub Advisories, OSV | |
| first indexed | CVE List, NVD |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2007-2583 is a medium vulnerability (CVSS 4.0) in Oracle Mysql, published May 9, 2007. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 11.3%, the 95th percentile. No source names a fixed version.
References
vupen.com/english/advisories/2007/1731
secunia.com/advisories/27823
secunia.com/advisories/25196
secunia.com/advisories/25188
issues.rpath.com/browse/RPL-1356
secunia.com/advisories/25389
Show 67 moreShow less
trustix.org/errata/2007/0017
exchange.xforce.ibmcloud.com/vulnerabilities/34232
security.gentoo.org/glsa/glsa-200705-11.xml
bugs.mysql.com/bug.php?id=27513
exploit-db.com/exploits/30020
secunia.com/advisories/25946
securityfocus.com/bid/23911
debian.org/security/2007/dsa-1413
lists.mysql.com/commits/23685
usn.ubuntu.com/528-1
mandriva.com/security/advisories?name=MDKSA-2007:139
oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9930
secunia.com/advisories/30351
secunia.com/advisories/27155
osvdb.org/34734
secunia.com/advisories/25255
secunia.com/advisories/28838
lists.opensuse.org/opensuse-security-announce/2008-02/msg00003.html
redhat.com/support/errata/RHSA-2008-0364.html
packetstormsecurity.com/files/124295/MySQL-5.0.x-Denial-Of-Service.html
nvd.nist.gov/vuln/detail/CVE-2007-2583
github.com/advisories/GHSA-hf23-jpgj-4fhg
access.redhat.com/errata/RHSA-2008:0364
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=194613
bugzilla.redhat.com/show_bug.cgi?id=202246
bugzilla.redhat.com/show_bug.cgi?id=216427
bugzilla.redhat.com/show_bug.cgi?id=232603
bugzilla.redhat.com/show_bug.cgi?id=240813
bugzilla.redhat.com/show_bug.cgi?id=241688
bugzilla.redhat.com/show_bug.cgi?id=241689
bugzilla.redhat.com/show_bug.cgi?id=248553
bugzilla.redhat.com/show_bug.cgi?id=254012
bugzilla.redhat.com/show_bug.cgi?id=256501
bugzilla.redhat.com/show_bug.cgi?id=349121
bugzilla.redhat.com/show_bug.cgi?id=434264
bugzilla.redhat.com/show_bug.cgi?id=435391
security.access.redhat.com/data/csaf/v2/advisories/2008/rhsa-2008_0364.json
access.redhat.com/security/cve/CVE-2006-0903
cve.org/CVERecord?id=CVE-2006-0903
nvd.nist.gov/vuln/detail/CVE-2006-0903
access.redhat.com/security/cve/CVE-2006-4031
cve.org/CVERecord?id=CVE-2006-4031
nvd.nist.gov/vuln/detail/CVE-2006-4031
access.redhat.com/security/cve/CVE-2006-4227
cve.org/CVERecord?id=CVE-2006-4227
nvd.nist.gov/vuln/detail/CVE-2006-4227
access.redhat.com/security/cve/CVE-2006-7232
cve.org/CVERecord?id=CVE-2006-7232
nvd.nist.gov/vuln/detail/CVE-2006-7232
access.redhat.com/security/cve/CVE-2007-1420
cve.org/CVERecord?id=CVE-2007-1420
nvd.nist.gov/vuln/detail/CVE-2007-1420
access.redhat.com/security/cve/CVE-2007-2583
cve.org/CVERecord?id=CVE-2007-2583
access.redhat.com/security/cve/CVE-2007-2691
cve.org/CVERecord?id=CVE-2007-2691
nvd.nist.gov/vuln/detail/CVE-2007-2691
access.redhat.com/security/cve/CVE-2007-2692
cve.org/CVERecord?id=CVE-2007-2692
nvd.nist.gov/vuln/detail/CVE-2007-2692
access.redhat.com/security/cve/CVE-2007-3781
cve.org/CVERecord?id=CVE-2007-3781
nvd.nist.gov/vuln/detail/CVE-2007-3781
access.redhat.com/security/cve/CVE-2007-3782
cve.org/CVERecord?id=CVE-2007-3782
nvd.nist.gov/vuln/detail/CVE-2007-3782