Home / Oracle / Mysql / CVE-2007-2583
CVE-2007-2583: is it exploited, and which versions of Oracle Mysql are affected and fixed?
CVE-2007-2583 is a vulnerability in Oracle Mysql. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:08 UTC). Affected: mysql before 5.0.40, mysql from 5.1 through 5.1.17, debian linux 3.1 and 4 more (NVD). Fixed in 5.0.40 (NVD). Severity: Medium (4.0, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:08 UTC, CVE record November 19, 2026, 07:21 UTC and NVD November 19, 2026, 08:52 UTC.
What is 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 cause a denial of service (crash) via a crafted IF clause that results in a divide-by-zero error and a NULL pointer dereference.
From the CVE record by mitre, last updated August 7, 2024, 13:42 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| oracle | mysql | before 5.0.40 | application |
| oracle | mysql | from 5.1 through 5.1.17 | application |
| debian | debian linux | 3.1 | operating system |
| debian | debian linux | 4.0 | operating system |
| canonical | ubuntu linux | 6.06 | operating system |
| canonical | ubuntu linux | 6.10 | operating system |
| canonical | ubuntu linux | 7.04 | operating system |
NVD analysis (status Modified), last modified June 16, 2026, 22:39 UTC.
How severe is CVE-2007-2583?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.0 | CVSS 2.0 | AV:N/AC:L/Au:S/C:N/I:N/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2007-2583 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 11.3% probability of exploitation activity in the next 30 days, percentile 96.1 (FIRST EPSS, scores of December 2, 2026)
Where are the vendor advisories and references?
- ADV-2007-1731 vdb-entry, x_refsource_VUPEN
- 27823 third-party-advisory, x_refsource_SECUNIA
- 25196 third-party-advisory, x_refsource_SECUNIA
- 25188 third-party-advisory, x_refsource_SECUNIA
- https://issues.rpath.com/browse/RPL-1356 x_refsource_CONFIRM
- 25389 third-party-advisory, x_refsource_SECUNIA
- 2007-0017 vendor-advisory, x_refsource_TRUSTIX
- mysql-if-dos(34232) vdb-entry, x_refsource_XF
- GLSA-200705-11 vendor-advisory, x_refsource_GENTOO
- http://bugs.mysql.com/bug.php?id=27513 x_refsource_CONFIRM
- 30020 exploit, x_refsource_EXPLOIT-DB
- 25946 third-party-advisory, x_refsource_SECUNIA
- 23911 vdb-entry, x_refsource_BID
- DSA-1413 vendor-advisory, x_refsource_DEBIAN
- http://lists.mysql.com/commits/23685 x_refsource_CONFIRM
- USN-528-1 vendor-advisory, x_refsource_UBUNTU
- MDKSA-2007:139 vendor-advisory, x_refsource_MANDRIVA
- oval:org.mitre.oval:def:9930 vdb-entry, signature, x_refsource_OVAL
- 30351 third-party-advisory, x_refsource_SECUNIA
- 27155 third-party-advisory, x_refsource_SECUNIA
- 34734 vdb-entry, x_refsource_OSVDB
- 25255 third-party-advisory, x_refsource_SECUNIA
- 28838 third-party-advisory, x_refsource_SECUNIA
- SUSE-SR:2008:003 vendor-advisory, x_refsource_SUSE
- RHSA-2008:0364 vendor-advisory, x_refsource_REDHAT
- http://packetstormsecurity.com/files/124295/MySQL-5.0.x-Denial-Of-Service.html x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- May 9, 2007
- Published
- May 9, 2007, 22:00 UTC
- CVE record updated
- August 7, 2024, 13:42 UTC by mitre
- NVD
- Modified, last modified June 16, 2026, 22:39 UTC
- Last checked
- CVE list November 19, 2026, 07:21 UTC; NVD November 19, 2026, 08:52 UTC; KEV December 3, 2026, 10:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Mysql?
- Apr 9, 2020CVE-2020-11655 Sqlite: improper initialization
- Apr 9, 2020CVE-2020-11656 Sqlite: use after free
- Feb 4, 2019CVE-2019-7317 Libpng: use after free
- Oct 17, 2018CVE-2018-3145 Oracle Mysql: n/a
- Jan 18, 2018CVE-2018-2640 Oracle Mysql: n/a
- Oct 19, 2017CVE-2017-10379 Oracle Mysql: incorrect authorization
- Oct 19, 2017CVE-2017-10286 Oracle Mysql: n/a
- Aug 8, 2017CVE-2017-3649 Oracle Mysql: n/a
Questions about CVE-2007-2583
Is CVE-2007-2583 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:08 UTC. FIRST's EPSS gives it a 11.3% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Oracle Mysql are affected by CVE-2007-2583?
mysql before 5.0.40, mysql from 5.1 through 5.1.17, debian linux 3.1, debian linux 4.0, ubuntu linux 6.06, ubuntu linux 6.10 and 1 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2007-2583?
5.0.40, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2007-2583?
Medium (4.0, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2007-2583?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.