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…

CVE-2007-2583 affects 58 listed versions of Oracle MySQL in the Dawnsentry catalogue.

4.0CVSS medium
None knownexploitation
11%EPSS (next 30 days)
10 May 2007published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Oracle MySQL

58 of 221 listed versions are affected. Fixed in 5.0.40. The newest release, 26.10.0, is not affected.

4.1.24 4.1.22 4.1.21 4.1.20 4.1.19 4.1.18 4.1.17 4.1.16 4.1.11 4.1.10 4.1.9 4.1.7 4.1.6 4.1.5 4.1.4 4.0.30 4.0.27 4.0.26 4.0.25 4.0.24 4.0.23 4.0.21 4.0.20 4.0.19 4.0.18 4.0.17 4.0.16 4.0.15 4.0.14 4.0.13 3.23.59 3.23.58 3.23.57 3.23.56 3.23.55 3.23.54a 3.23.54 3.23.53a 3.23.53 3.23.52 3.23.51 3.23.50 3.23.49 3.23.48 3.23.47 3.22.32 3.22.30 3.22.29 3.22.28 3.22.27 3.22.26 3.22 3.21 3.20.32a 3.20 1.6.3 1.5.1 1.1.8

What it is

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.

AV:N/AC:L/Au:S/C:N/I:N/A:P (NVD)

Published by MITRE on 10 May 2007. Last changed 16 June 2026.

Sources

Check one version you run: look CVE-2007-2583 up, or pick a product and version in the quick lookup.

Updated 1 December 2026.