---
title: "CVE-2007-2583\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2007-2583?format=md
keywords: index, follow
---

# CVE-2007-2583

Publication date 10 May 2007

Last updated 24 July 2024

---

Ubuntu priority

**Low**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

Toggle side navigation

## Description

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.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| mysql-dfsg-5.0 | 7.04 feisty | Fixed 5.0.38-0ubuntu1.1 |
| 6.10 edgy | Fixed 5.0.24a-9ubuntu2.1 |
| 6.06 LTS dapper | Fixed 5.0.22-0ubuntu6.06.5 |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-2583)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2007-2583)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2007-2583)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2007-2583)

### Related Ubuntu Security Notices (USN)

+ [USN-528-1](https://usn.ubuntu.com/USN-528-1)
+ MySQL vulnerabilities
+ 11 October 2007

### Other references

* <http://lists.mysql.com/commits/23704>
* <https://www.cve.org/CVERecord?id=CVE-2007-2583>
