All vulnerabilities

Servers and applications

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.

Severity
Medium 4.0
Published
10 May 2007
Last changed
16 Jun 2026
Added to UpHeron
21 Oct 2026
Fixed in
5.0.40
Exploit chance
11% in the next 30 daysHigher than 96% of CVEs. EPSS by FIRST, 12 Nov 2026
Attack
Over the network · Needs a login
Attacker can
Slow it down
CVSS vector
AV:N/AC:L/Au:S/C:N/I:N/A:P
Sources
NVD

Affected software

SoftwareAffected versions
MySQLServers and applications · cpe:a:oracle:mysql
  • Every version before 5.0.40
  • From 5.1 up to 5.1.17

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2007-2583
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2007-2583