Vulnerability · 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 (cr…
Published May 10, 2007 · catalog updated Jun 16, 2026 · Oracle
Check this week
CVE-2007-2583 is not in CISA KEV. FIRST estimates a 11.31% chance of exploitation in the next 30 days. Check whether you run Oracle.
Gaps on this record
- No vendor fix or required action is stored. Compare the linked advisory before you change production.
- Severity
- Medium4.0
- Known exploitation
- Not in CISA/VulnCheck KEV
- EPSS
- 11.31%
- Remediation
- Version ranges on file
- Affected products
- cpe canonical/ubuntu linux · cpe debian/debian linux · cpe oracle/mysql
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.
Are you affected?
Enter the version you run. The result uses only the ranges stored on this record.
The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.
- cpe canonical/ubuntu linux6.06
- cpe canonical/ubuntu linux6.10
- cpe canonical/ubuntu linux7.04
- cpe debian/debian linux3.1
- cpe debian/debian linux4.0
- cpe oracle/mysql< 5.0.40
- cpe oracle/mysql>= 5.1, <= 5.1.17
How to fix CVE-2007-2583
Recommended remediation
Affected version ranges suggest a fixed boundary. Verify against the vendor advisory for your release.
Official advisories
What to do
Three questions, each answered from this record only. Confirm the vendor advisory before you patch.
Should you patch?
CVE-2007-2583 is not in CISA KEV. FIRST estimates a 11.31% chance of exploitation in the next 30 days. Check whether you run Oracle.
Which versions are affected?
Compare what you have installed with canonical/ubuntu linux 6.06; canonical/ubuntu linux 6.10; canonical/ubuntu linux 7.04; debian/debian linux 3.1. Compare the installed version with the linked vendor advisory before you change production.
What should an analyst verify?
No weakness class is stored. EPSS 11.31%. There is no CISA KEV listing. A public exploit reference is linked in Sources. That is not the same as confirmed exploitation. Use the source links for the original advisory.
Code
The project this record applies to. Exploit listings stay in References.
No public source repository is identified for this product.
Timeline
Detection, updates, and resolution for this record.
May 10, 2007 · Oracle Critical Patch Updates
Detected
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.
Jun 16, 2026 · Oracle Critical Patch Updates
Updated
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.
Sources
- CVE.orgVulnerability recordCVE-2007-2583
Official CVE identifier
cve.org - FIRST EPSSExploitation probabilityCVE-2007-2583
30-day exploitation probability 11.31%
first.org - Exploit DatabasePublic exploit reference30020
Public exploit archive reference. This is not confirmation of exploitation. The exploit body is not stored here.
exploit-db.com - Oracle Critical Patch UpdatesVendor advisoryCVE-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.
nvd.nist.gov
References
Freshness
Last verified in this catalog Oct 23, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.