CVE-2007-2583

Summary

CVECVE-2007-2583
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2007-05-10 00:19:00 UTC
Updated2026-04-23 00:35:47 UTC
DescriptionThe 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.

Risk And Classification

Primary CVSS: v2.0 4 from [email protected]

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

Problem Types: NVD-CWE-noinfo | n/a

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Low
Authentication
Single
Confidentiality
None
Integrity
None
Availability
Partial

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

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Canonical Ubuntu Linux 6.06 All All All
Operating System Canonical Ubuntu Linux 6.10 All All All
Operating System Canonical Ubuntu Linux 7.04 All All All
Operating System Debian Debian Linux 3.1 All All All
Operating System Debian Debian Linux 4.0 All All All
Application Oracle Mysql All All All All
Application Oracle Mysql All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
IBM X-Force Exchange af854a3a-2127-422b-91ae-364da2661108 exchange.xforce.ibmcloud.com Third Party Advisory, VDB Entry
Webmail - OVH af854a3a-2127-422b-91ae-364da2661108 www.vupen.com Vendor Advisory
USN-528-1: MySQL vulnerabilities | Ubuntu security notices af854a3a-2127-422b-91ae-364da2661108 usn.ubuntu.com Third Party Advisory
Support / Security / Advisories / / MDKSA-2007:139 | Mandriva af854a3a-2127-422b-91ae-364da2661108 www.mandriva.com Third Party Advisory
Ubuntu update for mysql - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
issues.rpath.com/browse/RPL-1356 af854a3a-2127-422b-91ae-364da2661108 issues.rpath.com Broken Link
[security-announce] SUSE Security Summary Report SUSE-SR:2008:003 af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org Mailing List, Third Party Advisory
www.osvdb.org/34734 af854a3a-2127-422b-91ae-364da2661108 www.osvdb.org Broken Link
MySQL Lists: commits: bk commit into 5.0 tree (gkodinov:1.2432) BUG#27513 af854a3a-2127-422b-91ae-364da2661108 lists.mysql.com Vendor Advisory
Debian update for mysql-dfsg, mysql-dfsg-5.0, and mysql-dfsg-4.1 - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
SUSE Update for Multiple Packages - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
Support af854a3a-2127-422b-91ae-364da2661108 www.redhat.com Vendor Advisory
rPath update for mysql - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
Repository / Oval Repository af854a3a-2127-422b-91ae-364da2661108 oval.cisecurity.org Third Party Advisory
MySQL IF Query Handling Remote Denial Of Service Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com Third Party Advisory, VDB Entry, Vendor Advisory
MySQL 5.0.x Denial Of Service ≈ Packet Storm af854a3a-2127-422b-91ae-364da2661108 packetstormsecurity.com Third Party Advisory, VDB Entry
Mandriva update for mysql - Secunia Advisories - Vulnerability Intelligence - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
www.trustix.org/errata/2007/0017 af854a3a-2127-422b-91ae-364da2661108 www.trustix.org Broken Link
Gentoo update for mysql - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Patch, Vendor Advisory
MySQL Bugs: #27513: mysql 5.0.x + NULL pointer DoS af854a3a-2127-422b-91ae-364da2661108 bugs.mysql.com Issue Tracking, Vendor Advisory
MySQL 5.0.x IF Query Handling Remote Denial Of Service Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.exploit-db.com Third Party Advisory, VDB Entry
MySQL IF Query Denial of Service Vulnerability - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
Red Hat update for mysql - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
Debian -- Security Information -- DSA-1413-1 mysql af854a3a-2127-422b-91ae-364da2661108 www.debian.org Patch, Third Party Advisory
Gentoo Linux Documentation -- MySQL: Two Denial of Service vulnerabilities af854a3a-2127-422b-91ae-364da2661108 security.gentoo.org Third Party Advisory
Trustix Updates for Multiple Packages - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

OrganizationPublishedContributorStatement
Red Hat2008-07-25Joshua BressersThis issue did not affect mysql packages as shipped in Red Hat Enterprise Linux 2.1, 3, and 4. Issue was addressed in mysql packages as shipped in Red Hat Enterprise Linux 5 via: https://rhn.redhat.com/errata/RHSA-2008-0364.html

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report