Skip to content
Fencer Vulns
medium 4.0

CVE-2007-2583 json

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 c…

published 2007-05-09 19 y ago modified 2026-06-16 4 mo ago also EUVD-2007-2576

cvss
4.0
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
11.3%
EPSS 11.3% chance of exploitation in 30 days, percentile 96%
public exploits
1
Exploit-DB

Summary

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.

Patch / fix

  • oracle mysql 5.0.40
  • mysql RHEL 5 5.0.45-7.el5
  • mysql-test RHEL 5 5.0.45-7.el5
  • mysql-bench RHEL 5 5.0.45-7.el5
  • mysql-server RHEL 5 5.0.45-7.el5

red hat advisories RHSA-2008:0364

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2007-2583 updated

mysql: DoS via statement with crafted IF clause

  • Red Hat Enterprise Linux (v. 5 server) mysql 5.0.45-7.el5, mysql-test 5.0.45-7.el5, mysql-bench 5.0.45-7.el5, mysql-server 5.0.45-7.el5 Red Hat Enterprise Linux Desktop (v. 5 client) mysql 5.0.45-7.el5, mysql-test 5.0.45-7.el5, mysql-bench 5.0.45-7.el5, mysql-server 5.0.45-7.el5 Red Hat Enterprise Linux Desktop Workstation (v. 5 client) mysql 5.0.45-7.el5, mysql-test 5.0.45-7.el5, mysql-bench 5.0.45-7.el5, mysql-server 5.0.45-7.el5
    fixed: vendor fix RHSA-2008:0364

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Timeline

  1. Published
  2. First public exploit (EDB-30020)

Exploit prediction

11.31% chance of exploitation in the next 30 days, higher than 96% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • EDB-30020 MySQL 5.0.x - IF Query Handling Remote Denial of Service dos, 2013-12-04

CVSS scores

assigned by version score vector
NVD 2.0 4.0 AV:N/AC:L/Au:S/C:N/I:N/A:P

Classification

Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.